-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
waitress 1.0a1 doesn't work on linux without internet connectivity (DNS?) #131
Comments
This is because of
and since there is no internet connectivity, no IP address is configured on any other interface except loopback. Perhaps it should be changed so that if
|
Now I believe the correct option should be to drop |
I went back and forth on adding For example, on OS X you could set your listen parameter to:
Where At this point, I can agree to dropping Regarding the "Serving on" messages. Those are found by getting the name info for the IP address that is bound to, basically doing a reverse DNS query, including what is in Thanks for your report, will get a fix out by the end of today! Appreciate the testing! |
Ah, the
and let the exception propagate only when both of them fail. |
It's not really required though, by default
Because it would fail on the |
I am using:
Now, if I do not have internet connectivity (aeroplane coding mode for example), waitress crashes with:
This even though the reverses for 127.0.0.1 and ::1 are in /etc/hosts, and they are the names that are displayed on the
Serving
message. That is, if I change them to localhost123 and ip6-localhost123, and I have internet connectivity, waitress displays:The text was updated successfully, but these errors were encountered: