Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created August 8, 2020 20:02
Show Gist options
  • Save seleniumgists/59b63d315044d99ecc3cd3a23c7a0fab to your computer and use it in GitHub Desktop.
Save seleniumgists/59b63d315044d99ecc3cd3a23c7a0fab to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
chrome | 19:46:15.230 WARN [SpanWrappedHttpHandler.execute] - Unable to execute request: NettyHttpHandler request execution error
chrome | java.lang.RuntimeException: NettyHttpHandler request execution error
chrome | at org.openqa.selenium.remote.http.netty.NettyHttpHandler.makeCall(NettyHttpHandler.java:72)
...
chrome | Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException: Request timeout to localhost/127.0.0.1:24527 after 60000 ms
chrome | at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
chrome | at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
chrome | at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201)
chrome | at org.openqa.selenium.remote.http.netty.NettyHttpHandler.makeCall(NettyHttpHandler.java:57)
chrome | ... 40 more
chrome | Caused by: java.util.concurrent.TimeoutException: Request timeout to localhost/127.0.0.1:24527 after 60000 ms
chrome | at org.asynchttpclient.netty.timeout.TimeoutTimerTask.expire(TimeoutTimerTask.java:43)
chrome | at org.asynchttpclient.netty.timeout.RequestTimeoutTimerTask.run(RequestTimeoutTimerTask.java:50)
chrome | at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
chrome | at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
chrome | at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
chrome | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
chrome | ... 1 more```
I've tried adding browser timeout and timeout as `SE_OPTS` to the container as seen below. Is there a way to increase the request timeout from 60 seconds? Thanks!
```version: "3"
services:
integration-tests:
build: .
container_name: integration-tests
chrome:
image: selenium/standalone-chrome:4.0.0-alpha-6-20200730
container_name: chrome
ports:
- "4444:4444"
- "49338:5900"
volumes:
- /dev/shm:/dev/shm
environment:
- SE_OPTS=-browserTimeout 10000 -timeout 10000
- SCREEN_WIDTH=1920
- SCREEN_HEIGHT=1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment