-
Notifications
You must be signed in to change notification settings - Fork 26
webdriver: Request failed due to Error forwarding the new session Error forwarding the request null #1
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
Comments
Hi @dmitry-lomakin, S1: Are you in VPN? Sometimes I have seen this happening when using it with VPN, try disconnecting from VPN.
After the updates, I ran 40 concurrent session of sample test case that's checked in part of the GitHub repo, in a loop and I could see at-least one session running in each of these nodes. Test batch 1 (20 concurrent run - in view): Test batch 2 (20 concurrent run - in view): Hope this helps. Thanks |
Looks like the data nodes are not getting registered to master node. Ideally, when the data node starts up, it will use the below environment properties and startup commands to register itself to the master node: env: {
HUB_PORT_4444_TCP_ADDR: options.loadBalancer.loadBalancerDnsName,
HUB_PORT_4444_TCP_PORT: '4444',
NODE_MAX_INSTANCES: this.seleniumNodeMaxInstances.toString(),
NODE_MAX_SESSION: this.seleniumNodeMaxSessions.toString(),
SE_OPTS: '-debug',
shm_size: '512',
}, PRIVATE=$(curl -s http://169.254.170.2/v2/metadata | jq -r '.Containers[1].Networks[0].IPv4Addresses[0]') ; export REMOTE_HOST=\"http://$PRIVATE:5555\" ; /opt/bin/entry_point.sh Can you check the logs of the data nodes to see for any errors? |
I'm getting the same errors, but seeing nothing on the logs other than the fact that the remoteHost url is null:
|
Forgot to update this, but I managed to get this working by replacing the aforementioned line of code with: |
Running tests doesn't seem to work at my machine:
Any clue on what could break?
The text was updated successfully, but these errors were encountered: