-
Notifications
You must be signed in to change notification settings - Fork 8
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
Figure out way to improve stack trace when fails to connect to Chromedriver #6
Comments
Is that starting with a
(Almost full stacktrace, omitted the hundreds of repetitions):
```
.................................................[1529857725.524][SEVERE]: bind() returned an error, errno=48: Address already in use (48)
E
Failures:
|
Yeah, that huge stacktrace would be nice to shorten up. I think using a lucky_flow/src/lucky_flow/find_element.cr Lines 13 to 24 in 324116d
And no I don't see that error. That means you probably already have a chromedriver instance running. Maybe for some other app? |
I have the same issue on my Debian laptop (testing) crystal spec
Already created node_development
Did nothing. No pending migrations.
Unhandled exception in spawn:
bind: Address already in use (Errno)
from /usr/share/crystal/src/socket/tcp_server.cr:73:15 in 'initialize'
from /usr/share/crystal/src/socket/tcp_server.cr:32:3 in 'initialize:reuse_port'
from /usr/share/crystal/src/socket/tcp_server.cr:32:3 in 'new:reuse_port'
from /usr/share/crystal/src/http/server.cr:139:5 in 'bind_tcp'
from src/app.cr:48:5 in 'listen'
from spec/setup/start_app_server.cr:4:3 in '->'
from /usr/share/crystal/src/fiber.cr:255:3 in 'run'
from /usr/share/crystal/src/fiber.cr:29:34 in '->'
from ???
[1540129866,250][SEVERE]: bind() returned an error, errno=98: Adres is al in gebruik (98) It only works again when I kill: |
Just came across this. We had pointed to Brave as the browser_binary, but it would throw the Already in use error on this repo's specs. Running the lucky flow specs with This would be a great message to be able to display. As for how? no clue 😆 /cc @russ |
Right now there are lots of loops so the stacktrace is huge. Maybe using a
while
would shorten that upThe text was updated successfully, but these errors were encountered: