Coder Social home page Coder Social logo

Comments (10)

vania-pooh avatar vania-pooh commented on September 27, 2024

@soumyathampi you just don't have this browser version in browsers.json.

from selenoid-ui.

soumyathampi avatar soumyathampi commented on September 27, 2024

THis works fine with curl command:
curl -H'Content-Type: application/json' http://x.x.x.x:4444/wd/hub/session -d'{
"capabilities": {
"alwaysMatch": {
"browserName": "chrome",
"browserVersion": "110.0",
"selenoid:options": {
"name": "Session started using curl command...",
"sessionTimeout": "1m"
}
}
}
}'
Only manual session fails to start.

This issue happens only from ggr manual ui, after we added authentication. It was working fine before.
From selenoid instances also the browsers are launched successfully.

from selenoid-ui.

vania-pooh avatar vania-pooh commented on September 27, 2024

@soumyathampi when using Ggr you may be redirected to the host where you don't have this version.

from selenoid-ui.

soumyathampi avatar soumyathampi commented on September 27, 2024

If I disable the authentication, session works fine.

This is how I have enabled the authentication:
selenoid-ui:
image: "docker-release.getgotools.net/aerokube/selenoid-ui:latest-release"
network_mode: bridge
links:
- ggr-ui
- ggr
ports:
- "8080:8080"
volumes:
- "$PWD:/etc/grid-router:ro"
command: -status-uri http://ggr-ui:8888 -webdriver-uri http://ggr:4444 -timeout 15s -users /etc/grid-router/users.htpasswd

I have 2 instances connected to this ggr, both works fine. The issue comes from ggr-ui only with authentication.

Getting this error on my console while starting the session:
POST http://10.1.121.94:8080/wd/hub/session 404 (Not Found)
VM12:24 Can't start session manually e {message: 'ajax error 404', name: 'AjaxError', xhr: XMLHttpRequest, request: {…}, status: 404, …}

from selenoid-ui.

vania-pooh avatar vania-pooh commented on September 27, 2024

@soumyathampi then make sure you are not using aerokube/ggr-ui:latest as it's broken.

from selenoid-ui.

soumyathampi avatar soumyathampi commented on September 27, 2024

Which version should we use?

from selenoid-ui.

vania-pooh avatar vania-pooh commented on September 27, 2024

@soumyathampi e.g. aerokube/ggr-ui:1.1.2 or aerokube/ggr-ui:latest-release.

from selenoid-ui.

soumyathampi avatar soumyathampi commented on September 27, 2024

I am already using ggr-ui:latest-release, hardcoding to 1.1.2 also didn't fix this issue

from selenoid-ui.

vania-pooh avatar vania-pooh commented on September 27, 2024

@soumyathampi check logs of all these containers.

from selenoid-ui.

github-actions avatar github-actions commented on September 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from selenoid-ui.

Related Issues (20)

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.