-
Notifications
You must be signed in to change notification settings - Fork 275
localhost hardcoded in base.rb #285
Comments
So my colleague and I stumbled upon the same issue (jasmine with phantomjs in Docker container). We played around a little bit, maybe this is useful to the discussion at hand: When you add a
Another way is to add
We would like to see the latter idea released as a hotfix. |
@maxdoubt Do you have any idea if #286 will work for your problem as well? @slackersoft Is is possible for you to please comment on #286 whether you are willing to release an official version any time soon. I hope this doesn't sound too annoying. |
@ncreuschling I'll try and test when i get a free moment (within the week). This docker issue only appeared in our CI tool and I just threw a monkey patch at it to override localhost with 0.0.0.0, so i'll have to figure out how to recreate this locally... stay tuned |
Thank you for your reply. This sound exactly like the issue we face (Docker, Jenkins, jasmine). I am looking forward to your experience. |
i run jasmine in docker, and am having an issue where
localhost
returnsErrno::EADDRNOTAVAIL: Cannot assign requested address - connect(2) for "localhost" port 58000
.Would binding to
0.0.0.0
, or perhaps have this available as an instance variable that could be easily set, be an appropriate fix? See related code inlib/base.rb
below:The text was updated successfully, but these errors were encountered: