Closed Bug 1540078 Opened 1 year ago Closed 1 year ago

"Do you want the application “Python.app” to accept incoming network connections?" on macOS

Categories

(Testing :: Mochitest, enhancement)

Version 3
Unspecified
macOS
enhancement
Not set
normal

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: robwu, Assigned: robwu)

References

Details

Attachments

(1 file)

Whenever I run a mochitest, I get a prompt from the firewall, containing: "Do you want the application “Python.app” to accept incoming network connections?"

Allowing/Denying works for a while, but eventually the message returns.
Denying does not appear to have any noticeable impact on the outcome of the tests that I'm running.

Not specifying an explicit host causes pywebsocket to listen on the
default address, which may be 0.0.0.0. This triggers the firewall
on macOS, and causes the following prompt to be shown when mochitests
are run:

Do you want the application "Python.app"
to accept incoming network connections?

The dialog is a nuisance because it is always on top. Since denying
the access does not change the outcome of tests, it should be safe
to only listen on localhost.

Pushed by rob@robwu.nl:
https://hg.mozilla.org/integration/autoland/rev/a606559ac3b5
Let pywebsocket listen at localhost in mochitests r=ahal
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
See Also: → 1546481
You need to log in before you can comment on or make changes to this bug.