Python Forum
Python 3.6.2 & Mac Sierra 10.12.6 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Networking (https://python-forum.io/forum-12.html)
+--- Thread: Python 3.6.2 & Mac Sierra 10.12.6 (/thread-4814.html)



Python 3.6.2 & Mac Sierra 10.12.6 - eczmrmn - Sep-10-2017

Until last month I had been happily using Python 3.6.2 to control a Lifx Z multizone light strip. Then Apple did a security update (10.12.6) to the operating system. Now I get the message "Do you want the application “Python.app” to accept incoming network connections?" from the operating system and a timeout error from Python indicating that it wasn't able to communicate with the strip. When I asked Apple about this they said that they did not support applications that were not from the app store. (A silly reply to my mind, since they use Python to support the operating system.)

I have done all of the keychain and codesign suggestions I have found on the internet to no avail. And I hear that Apple is moving away from SSL for security. The only way I can now control the light strip is to turn off my firewall whilst doing it. I don't like that solution.

Does anyone have any ideas?


RE: Python 3.6.2 & Mac Sierra 10.12.6 - micseydel - Sep-10-2017

Unfortunately I don't have a solution that will get you back to where you were. I do have two second-rate suggestions
1) Try an Apple/Mac-specific forum. I don't think we have a lot of people here who regularly use Macs.
2) Use a Raspberry Pi as an intermediary, host a web server on the Pi that your Mac can access. (My housemate controls light strips in our place with a Pi.)


RE: Python 3.6.2 & Mac Sierra 10.12.6 - sparkz_alot - Sep-11-2017

Not a Mac man either, but since it appears to be a problem with the firewall, could you not just create a new 'rule' allowing the incoming connection?


RE: Python 3.6.2 & Mac Sierra 10.12.6 - eczmrmn - Sep-11-2017

Thanks for the ideas. I've toyed with the idea of a Pi -- maybe more seriously now. The keychain and codesign apps on the Mac are the only way I've found to make new rules and, unfortunately, they don't work anymore. But thanks for the try. I will look into some ofthe Apple/Mac forums.