Allow incoming connections

Every time I start up PyCharm, I get this popup:
"Do you want the application 'Pycharm.ap' to accept incoming network connections?
Clicking Deny may limit the application's behaviour. This setting can be changed in the Firewall pane of Security preferences." [Deny] [Allow]

It's really getting annoying to do this every time, has anyone else got this?
I'm on OSX 10.6 (Snow Leopard), and there IS an entry for PyCharm in my firewall telling it to "Allow", but I still get the pop up every time I start it..
Any advice is very welcome,
thanks in advance,
Pvel
17 comments
Which version of PyCharm are you running?
0
Did you install any additional plugins (in particular LiveEdit)?
0
Nope, just some basic (bundled) plugins (see screenshot)
Screen shot 2012-09-10 at 15.04.44.png
0
Same here - updated to 2.6.2 and I get this message every time I start PyCharm. Tried to manually add PyCharm to the Firewall list of programs allowed to "accept incoming network connections" but that doesn't help.
0
Same problem here with 2.6.2.  Only using subset of bundled plugins on Mountain Lion.   Manually adding PyCharm to firewall does not resolve problem.
0
We have found the reason of the issue: our patch-based upgrade breaks the code signing that Mountain Lion relies on. Until this issue is fixed, please download and install a complete distribution of PyCharm for every update.
0
Thanks for the quick response, Dmitry.  That worked perfectly.
0
It's not just on Mountain Lion btw, it's on Snow Leopard too at least (which I use), but this workaround seems to work :-P
Thanks for the help, and hopefully you can get it working with updates again too.

Regards,
PVel
0
Hi Dmitry, that didn't work for me.  I'm on 10.6.8, PyCharm 2.6.3.  I downloaded the complete distribution of PyCharm and installed it, replacing the old one.

But I still get the message "Do you want the application 'Pycharm.app' to accept incoming network connections?"

Any advice?
1
Did you get it just once, or do you still get it on every startup?
0
Hi Dmitry, thanks for your reply.  It happens on every startup.
0
Since upgrading to pc4.0 it happens again (yosemite). Tried to install again, but that didn't help. Any suggestions? And by the way, i'm missing Dimity's answer that Razyr ist thanking for...

Regards,
Christian
0
Hi, I'm also running in to this issue. It's a brand new install of PyCharm on a brand new install of Yosemite. I tried uninstalling completely and reinstalling, but still run in to the popup continually asking to allow incoming connections whenever I start PyCharm.
0
Add me to the list - I've just moved to PyCharm 4.0.1 on Yosemite and indeed, I am getting it also. I wasn't getting it on 3.4.1.
0
And me, also on Yosemite, freshly re-installed PyCharm 4.0.1.

Here are some steps that demonstrate, and perhaps will help the PyCharm folks reproduce. Notice the "a sealed resource is missing or invalid" after first launch, in step 6.

1. Delete PyCharm.app (drag to trash in Finder)

2. Download fresh PyCharm 4.0.1 Professional from Jetbrains site, and drag-install as directed.

3. Before launching it, check signing status is good:

    $ cd /Applications
    $ codesign -vvv PyCharm.app/
    –prepared:/Applications/PyCharm.app/Contents/MacOS/idea_appLauncher
    –validated:/Applications/PyCharm.app/Contents/MacOS/idea_appLauncher
    –prepared:/Applications/PyCharm.app/Contents/pycharm-debug-py3k.egg
    –validated:/Applications/PyCharm.app/Contents/pycharm-debug-py3k.egg
    –prepared:/Applications/PyCharm.app/Contents/pycharm-debug.egg
    –validated:/Applications/PyCharm.app/Contents/pycharm-debug.egg
    PyCharm.app/: valid on disk
    PyCharm.app/: satisfies its Designated Requirement

4. Now launch PyCharm. Approve the "downloaded from internet" dialog. Notice no firewall complaint.

5. Quit PyCharm. [Note: no indications anything updated or downloaded while it was running]

6. Check signing status again – now it's gone bad:

    $ codesign -vvv PyCharm.app/
    –prepared:/Applications/PyCharm.app/Contents/MacOS/idea_appLauncher
    –validated:/Applications/PyCharm.app/Contents/MacOS/idea_appLauncher
    –prepared:/Applications/PyCharm.app/Contents/pycharm-debug-py3k.egg
    –validated:/Applications/PyCharm.app/Contents/pycharm-debug-py3k.egg
    –prepared:/Applications/PyCharm.app/Contents/pycharm-debug.egg
    –validated:/Applications/PyCharm.app/Contents/pycharm-debug.egg
    PyCharm.app/: a sealed resource is missing or invalid
    file added: /Applications/PyCharm.app/Contents/helpers/pycharm_generator_utils/__init__.pyc
    file added: /Applications/PyCharm.app/Contents/helpers/pycharm_generator_utils/clr_tools.pyc
    file added: /Applications/PyCharm.app/Contents/helpers/pycharm_generator_utils/constants.pyc
    file added: /Applications/PyCharm.app/Contents/helpers/pycharm_generator_utils/module_redeclarator.pyc
    file added: /Applications/PyCharm.app/Contents/helpers/pycharm_generator_utils/pyparsing.pyc
    file added: /Applications/PyCharm.app/Contents/helpers/pycharm_generator_utils/util_methods.pyc

7. Launch PyCharm again. Now (and until you reinstall) you'll get the firewall access dialog.
0
I had the same problem when running Django from PyCharm: the popup would appear at each reload.

I realized that my Run/Debug configuration had the Host value filled with 0.0.0.0 (making the test server accessible from the local network). This is what caused the issue.

I've emptied the Host field and I don't have any permission popup anymore.

So now I have two Run/Debug configurations: one for hot reloading while coding (Host empty), one for testing my API through local network (Host 0.0.0.0) which does not require hot reloading.
1

Please sign in to leave a comment.