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
Can not access localhost:4444/grid/register #6446
Comments
What do you mean by "trying to access"? |
@BryanN0919 the endpoint you're trying to access is used to register a 'node' with an instance of RegistrationRequest. This endpoint has nothing to return in response of a GET (which is what you're trying). The error tells that it expects a json registration request but instead got an empty request body. |
@BryanN0919 did you find the solution ? |
Yes, as mentioned above, we dont access that URL directly.
Feel free to give me a shout if you would like a more detailed session to get your grid up and running. |
Thanks @suveerprithipal for a complete answer. Closing as this is not really a bug. |
I get the following error on the node Appium log
I am also getting this exception in the ../grid/register
Can I please know the solution? |
Meta -
OS: Windows 10
Selenium Version: 3.14.0
Browser: N/A
Browser Version:
Expected Behavior -
Should be able to access the /grid/register page.
Actual Behavior -
I get the below error when going to /grid/register. Same error shows in the cmd window I used to start the hub.
HTTP ERROR 500
Problem accessing /grid/register/. Reason:
Caused by:
org.openqa.selenium.json.JsonException: Expected to read a START_MAP but instead have: END. Last 0 characters read:
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'
System info: host: 'CFSQA752319LT1', ip: '165.150.2.177', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'
Driver info: driver.version: unknown
at org.openqa.selenium.json.JsonInput.expect(JsonInput.java:289)
at org.openqa.selenium.json.JsonInput.beginObject(JsonInput.java:219)
at org.openqa.selenium.json.MapCoercer.lambda$apply$1(MapCoercer.java:64)
at org.openqa.selenium.json.JsonTypeCoercer.lambda$null$6(JsonTypeCoercer.java:142)
at org.openqa.selenium.json.JsonTypeCoercer.coerce(JsonTypeCoercer.java:123)
at org.openqa.selenium.json.Json.toType(Json.java:60)
at org.openqa.selenium.json.Json.toType(Json.java:50)
at org.openqa.grid.web.servlet.RegistrationServlet.process(RegistrationServlet.java:83)
at org.openqa.grid.web.servlet.RegistrationServlet.doGet(RegistrationServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.seleniumhq.jetty9.servlet.ServletHolder.handle(ServletHolder.java:860)
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.seleniumhq.jetty9.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.seleniumhq.jetty9.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.seleniumhq.jetty9.server.Server.handle(Server.java:530)
at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:347)
at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:256)
at org.seleniumhq.jetty9.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.seleniumhq.jetty9.io.FillInterest.fillable(FillInterest.java:102)
at org.seleniumhq.jetty9.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
at java.lang.Thread.run(Unknown Source)
Steps to reproduce -
Performed: java -jar selenium-server-standalone-3.1.0.jar -role hub After that completed I tried to access http://165.150.2.136:4444/grid/register/ (Also tried the current version 3.14.0)
The text was updated successfully, but these errors were encountered: