How to configure Teleport App service for XO web UI?
-
I would like to access the web UI of XO through Teleport (goteleport.com). On the login page after entering the credentials and clicking Sign-In the Login page just refreshs and clears the input fields and nothing else happens.
I checked the documentation regarding reverse proxy settings. Teleport allows me to put the header settings as you can see in the attached config, nothing else.
If someone got that to work I would be happy to see the configuration for Teleport. This is what I have now:
- name: "xo" insecure_skip_verify: true uri: "https://xo.ex.com" rewrite: redirect: - xo.ex.com headers: - "Origin: https://xo.teleport.ex.com" - "Host: xo.teleport.ex.com"
-
Does Teleport support working with websockets?
-
@olivierlambert yes
-
Then it should work I would ask on Teleport community, because there's no issue to use a reverse proxy with websockets with Nginx or Apache, we even have some example here: https://xen-orchestra.com/docs/configuration.html#reverse-proxy
-
@olivierlambert I have seen that part of the documentation and it did not contain a solution for me. I also talked to the community on the Teleport Slack and some staff member tried to solve it, but was unable to. So I hope the Teleport discussion forum on github will lead to some solution, so for not.
So lets please keep this post open as someone here who is using Teleport might see it and answer, while that person may or may not follow the Teleport discussion on github.
-
Just to check: your XO is working, right? (I mean you can login directly?)
-
@olivierlambert yes the XO is working normally
-
Then I don't see why it would be a XO problem
FYI, we use JSON-RPC over websockets. Hopefully, someone at Teleport community would be able to pinpoint the problem