Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Selenium URL issue with Custom Ingress (Moon2) #125

Open
achandwaniya-srcit opened this issue Mar 22, 2022 · 7 comments
Open

Selenium URL issue with Custom Ingress (Moon2) #125

achandwaniya-srcit opened this issue Mar 22, 2022 · 7 comments
Labels
new-feature New feature or request

Comments

@achandwaniya-srcit
Copy link

achandwaniya-srcit commented Mar 22, 2022

With Custom Ingress, while accessing Selenium URL ex: "moon.aerokube.local/wd/hub" it gives 404 error.

But while using the default configuration with default Ingress its working fine.

Please refer the below screenshot:

With default Ingress (nginx):
image

With custom Ingress (alb)
image

@aandryashin
Copy link
Member

aandryashin commented Mar 22, 2022 via email

@achandwaniya-srcit
Copy link
Author

achandwaniya-srcit commented Mar 24, 2022

Hi aandryashin,
Thank you for the suggestion!!

But I tried that, by mapping /wd/hub path to moon service as defined in the default ingress configuration. But it still throws 404 error.

Host: https://moon.domain.com/ - working - UI accessable
https://moon.domain.com/wd/hub/ - not working - "404 path not found" error.

I have explored further and found that path: / in ingress object should be treated as /* in alb ingress controller implementation. So for that I passed path as a wildcard but still it didn't worked.

  • tried both the ways:
paths:
- path: /wd/hub/*
  port: 4444
paths:
- path: /wd/hub/
  port: 4444

Here is my custom Ingress configuration:

image

image

I have also tried the default helm chart with default ingress and all the paths are working fine with that, the only issue is with the alb ingressClass.

Earlier I have deployed moon v1 on the same cluster with alb ingressClass, and that's working fine. but with moon2 its not working. Also, I have also tried to expose moon service using port-forward but it also didn't work locally.

Actually with moon2 earlier the setting of customIngress was missing. So I requested to add that. But it might possible with customIngress moon service chart some configuration missing...is it? or am I doing something wrong?

@aandryashin
Copy link
Member

aandryashin commented Mar 25, 2022 via email

@achandwaniya-srcit
Copy link
Author

achandwaniya-srcit commented Mar 25, 2022

I have tried the exact path /wd/hub as well, as mentioned in the above comment.
Refer: "custom Ingress configuration" screenshot.

@vania-pooh
Copy link
Member

@achandwaniya-srcit did you manage to find any solution?

@achandwaniya-srcit
Copy link
Author

Hi @vania-pooh,
No I didn't find any solution for that issue.

@random1st
Copy link

Have the same problem #83

@vania-pooh vania-pooh added the new-feature New feature or request label Apr 25, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
new-feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants