-
It works fine at my side. Please diagnose the issue via below steps:
1. Make sure property "serverUrl" in "conf\agent.properties" is specified correctly, it should be something like "http://<your OneDev server>:6610"2. If there is proxy between agent and server, disable it temporarily and connect directly to see if it works3. Check server log to see if there is detail information about the error -
If you are using reverse proxy for OneDev server, make sure to proxy
/serverpath as documented here:https://code.onedev.io/projects/162/blob/main/pages/reverse-proxy-setup.md
-
I am using a reverse proxy and I indeed messed up setting up the /server path 😬 I must have skipped it accidentally
It works now, thank you so much for the hint and I'm sorry for the silly question.
-
I just added the /server entry to the manual today, realizing that the agent does not connect through a reverse proxy. Thanks for reporting the issue.
-
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
Issue Votes (0)
Hi,
I just tried to connect a new windows shell agent, but every time I run agent.bat console, all I'm getting is
I assume this is a bug?