Coder Social home page Coder Social logo

Jetty 403 forbidden about gridrouter HOT 8 CLOSED

seleniumkit avatar seleniumkit commented on August 17, 2024
Jetty 403 forbidden

from gridrouter.

Comments (8)

vania-pooh avatar vania-pooh commented on August 17, 2024

@tizzythegrey which webapp are you speaking about? There's no web-interface in GridRouter like Selenium Hub Console.

from gridrouter.

tizzythegrey avatar tizzythegrey commented on August 17, 2024

Thank you for the response. Ok (1) how do I test that GridRouter can talk to both of my selenium hubs? (2) do I need to actually create the user in user.properties on the OS level?

Setup:
2 hubs with nodes attached to each hub.
Grid router node in the same network with hubs. hubs address is in the quota.xml and user.properties has a test user.

from gridrouter.

tizzythegrey avatar tizzythegrey commented on August 17, 2024

To answer your question @ivan, I was under the impression that I can browse to the jetty server with http://user:pass@gridrouter-server:4444 but doing that gives the error message above. I basically want to know how to test the connection from gridrouter to hubs

from gridrouter.

smecsia avatar smecsia commented on August 17, 2024

@tizzythegrey The best way to debug the connection is to watch the log files. There you can find the full information regarding each session request.
As stated by @vania-pooh, unlike Selenium Hub Gridrouter does not have any web UI, but you may consider to use Selenograph if you need it.

from gridrouter.

innokenty avatar innokenty commented on August 17, 2024

@tizzythegrey to test the GridRouter try to launch an instance of Selenium's RemoteWebDriver against the address you provided. Instead of giving the address of a hub just give it this address. And then watch the logs or see what Selenium error message will be.

from gridrouter.

innokenty avatar innokenty commented on August 17, 2024

As already stated, there's no web-interface whatsoever, so the only way to tests it either the one described above, or requesting a browser manually from console with curl command.

from gridrouter.

vania-pooh avatar vania-pooh commented on August 17, 2024

@tizzythegrey no need to create system users, just use login and password from users.properties file. To test simply launch your test like you do with standard Selenium Hub against the URL:

 http://user:pass@gridrouter-server:4444/wd/hub

Log file is usually located at:/var/log/grid-router/grid-router.log

from gridrouter.

tizzythegrey avatar tizzythegrey commented on August 17, 2024

Perfect. Thanks to all of you guys and forgive me if the question was stupid. I appreciate the quick response.

from gridrouter.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.