Comments (13)
You should run the Hub and the Nodes in debug mode to understand missing information. The Node sends a message through the event bus, so you need to see that message incoming and being read by the Hub. Then, the Hub will make an HTTP call to the Node to confirm its existence.
This issue happens when network permissions are not properly set, which ends up as HTTP/1.1 502 Bad Gateway
from selenium.
@e-dsouza, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
from selenium.
Hi, @e-dsouza.
Please follow the issue template, we need more information to reproduce the issue.
Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue.
Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough.
Reply to this issue when all information is provided, thank you.
from selenium.
@pujagani Thanks for your response.
This is the command I ran to register node to hub
java -jar selenium-server-4.20.0.jar node --publish-events tcp://publish-events-xxx-xxx.apps.ocp4-xxx.xxxint.net:443 --subscribe-events tcp://subscribe-events-xxx- xxxx.apps.ocp4-xxx.xxxint.net:443
I do not have any github repo/code, I am trying to setup Grid. Hub is running as Openshift Pod. Now trying to add windows server 2022 as node
my issue is exactly same as issue 9586
Thanks for your time.
from selenium.
Okay, I'll have to check OCP team, I believe, how to run container in debug mode.
My guess is that the OCP route isnt getting right response from hub so it is giving 502 Bad gatway error, see below when I do curl within the OCP Pod.
$ curl localhost:4442 -verbose
Trying 127.0.0.1:4442...
Connected to localhost (127.0.0.1) port 4442 (#0)
GET/HTTP/1.1
Host: localhost:4442
User-Agent: curl/7.81.0
Accept: /
Received HTTP/0.9 when not allowed
@KrzysztofC were you able to resolve this?
from selenium.
The Hub does not reply with 5xx, it should be layer you have on top of it.
from selenium.
Okay. it doesnt give 5xx but should it not give valid one? again I am just guessing 000 converted to 502 by route
$ curl -o /dev/null -s -w "%{http.code}\n" localhost:4442
000
$ curl -o/dev/null -s -w "%{http code}\n" localhost:4444
302
$ curl -o /dev/null -s -w "%{http_code}\n" localhost:4443
000
from selenium.
4442 and 4443 are TCP, not HTTP.
from selenium.
Okay, I may need to check OCP route?
My command is doing TCP using route url
java -jar selenium-server-4.20.0.jar node --publish-events tcp://publish-events-xxxx-xxxx.apps.ocp4-
xxx.xxxint.net:443 --subscribe-events tcp://subscribe-events-xxx-xxxx.apps.ocp4-xxxx.xxxint.net:443
from selenium.
This isn't resolved yet. I'm still working with OCP admin team to assist with 502 gateway error. So far no positive outcome.
from selenium.
I will close this issue because the cause of it is outside Selenium's scope. If you have any questions, please use the links shown below.
from selenium.
💬 Please ask questions at:
- 📫 The Selenium user group
- 📮 StackOverflow
- 🗣 Our IRC/Slack/Matrix channels where the community can help you as well
from selenium.
This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.
from selenium.
Related Issues (20)
- [🐛 Bug]: NoSuchDriverException: Message: Unable to obtain driver for chrome HOT 5
- [🐛 Bug]: Selenium return to previous page after driver.get HOT 1
- [🐛 Bug]: Failed to initialize BiDi Mapper when starting Chrome with Profile HOT 5
- [🐛 Bug]:org.openqa.selenium.NoSuchWindowException: Window is closed HOT 1
- [🚀 Feature]: Drivers for ARM processors or offical work around HOT 4
- [🐛 Bug]: Selenium Manager is encountering an issue with the setProxyAutoconfigUrl() method. HOT 2
- [🐛 Bug]: CEF browser is not activating while switching to new window HOT 2
- [🐛 Bug]: vertical size not matching HOT 2
- [🐛 Bug]: [dotnet] Unable to use wrapped IWebElements from EventFiringWebDriver within Actions HOT 1
- [🐛 Bug]: headless mode error of chrome 129 HOT 5
- [🐛 Bug]: HOT 4
- [🐛 Bug]: HTTP exception thrown HOT 2
- [🐛 Bug]: Cannot open Chrome session with incognito mode along with Bidi CDP HOT 7
- [🐛 Bug]: Tracing seems to be affected with the Selenium version org.seleniumhq.selenium:selenium-java:4.24.0 HOT 8
- [🐛 Bug]: ava.lang.NoSuchMethodError: 'void org.openqa.selenium.remote.service.DriverFinder.<init> HOT 1
- [🐛 Bug]: inconsistent tagging for the release versions HOT 3
- [🐛 Bug]: Text is considered as invisible when using native dialog inside a web component HOT 2
- [🐛 Bug]: NoSuchElementException not thrown when using implicitly_wait in BrowserStack HOT 5
- [🐛 Bug]: WARNING: Unable to find an exact match for CDP version 129, returning the closest version; found: 128; Please update to a Selenium version that supports CDP version 129 HOT 2
- [🐛 Bug]: selenium safari with httpauthentication HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium.