Funky Waddle opened 2 years ago
|
|||||
https://code.onedev.io runs with a LetsEncrypt certificate, and I can connect the agent to this https url with the provided docker command. What error message get printed at your side? |
|||||
Also please try with the official agent to see if it works. |
|||||
I tried with both the docker agent and the bare-metal agent. Both of them produced the same error. The exact error is below, but I changed the url.
|
|||||
Have you forwarded websocket traffic as explained in reverse proxy setup? https://code.onedev.io/projects/162/files/main/pages/reverse-proxy-setup.md If still not work, please let me know detail steps to reproduce. |
|||||
I did not see that reverse proxy setup guide before. Thank you for pointing me to it. It seems to have fixed my issue. |
|||||
Funky Waddle changed state to 'Closed' 2 years ago
|
Type |
Improvement
|
Priority |
Normal
|
Assignee |
Issue Votes (0)
SETUP I have OneDev server running just fine. I have nginx setup to do a proxy_pass to localhost:6610. I have a Let's Encrypt cert installed on my domain name.
I CAN I can access the website just fine with HTTPS and only the domain name (https://example.com) I can access the repos just fine via git (HTTPS works normally, ssh requires port 6611)
ISSUE I couldn't get the agent docker image to connect to the server at all via HTTPS (I tried with both default port and port 6610) I had to connect the agent to the server via http://example.com:6610.