Size: a a a

Aerokube Support

2021 January 06

A

Andreyg in Aerokube Support
Ребята привет! В чем может быть проблема? Я делаю build нового образа Андроид. В докерфайле копирую новый Эндрипоинт который взял здесь: https://github.com/aerokube/images/blob/master/selenium/android/entrypoint.sh
Даже если я ничего не меняю в нем, Селеноид не подключается к новому контейнеру с ошибкой:

The HTTP request to the remote WebDriver server for URL http://192.168.50.38:4444/wd/hub/session timed out after 60 seconds.'
источник

R

Revant in Aerokube Support
Hi is this the channel for queries on moon
источник

R

Revant in Aerokube Support
I have tried to install it on k8s
источник

R

Revant in Aerokube Support
But unable to create a session
источник

R

Revant in Aerokube Support
Just like selenoid
источник

R

Revant in Aerokube Support
Any quick pointers would be of great help
источник

R

Revant in Aerokube Support
installation is successful and i am able to browse these on moon ui
источник

R

Revant in Aerokube Support
but when trying to connect through the code - its rather feels struck for more than 10 min
источник

IK

Ivan Krutov in Aerokube Support
Revant
Hi is this the channel for queries on moon
yes
источник

R

Revant in Aerokube Support
thanks @vaniaPooh  - any pointers to look further on checks, i have configured a local ip to access this and able to see and interact on UI , but unable to interact on code
источник

IK

Ivan Krutov in Aerokube Support
Revant
thanks @vaniaPooh  - any pointers to look further on checks, i have configured a local ip to access this and able to see and interact on UI , but unable to interact on code
are you using LoadBalancer or Ingress?
источник

R

Revant in Aerokube Support
ingress
источник

IK

Ivan Krutov in Aerokube Support
so you can see Moon UI running but browser sessions are not created?
источник

R

Revant in Aerokube Support
on moon ui - browser sessions are created
источник

R

Revant in Aerokube Support
i did launch safari and chrome and was able to interact with them
источник

АА

Александр Андряшин... in Aerokube Support
Revant
on moon ui - browser sessions are created
which url you are using in tests?
источник

R

Revant in Aerokube Support
from selenium import webdriver
capabilities = {
   "browserName": "chrome",
   "browserVersion": "84.0",
   "selenoid:options": {
       "enableVNC": True,
       "enableVideo": False
   }
}
driver = webdriver.Remote(
   command_executor="http://aws.myk8s.local:4444/wd/hub",
   desired_capabilities=capabilities)
источник

IK

Ivan Krutov in Aerokube Support
aws.myk8s.local - should be your-hostname.example.com
источник

R

Revant in Aerokube Support
so this seems to be struck when executed from my python code
источник

АА

Александр Андряшин... in Aerokube Support
if you are using ingress port is not necessary
источник