-
Traefik is never tested, and I filed an improvement request as: OD-2535
For now, are you able to test if this works via officially supported frontend such as Nginx/Httpd/Caddy server?
https://docs.onedev.io/administration-guide/reverse-proxy-setup
-
Please refer to below guide on traefix 3.x setup: https://docs.onedev.io/administration-guide/reverse-proxy-setup#traefik-3x
-
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
12.0.7
|
| Labels |
No labels
|
Issue Votes (0)
I'm trying to deploy Onedev to try it out. I host behind a traefik instance (gitea is running behind the same instance and working correctly). When I push, I get the following result in the client:
Enumerating objects: 1929, done. Counting objects: 100% (1929/1929), done. Delta compression using up to 8 threads Compressing objects: 100% (921/921), done. error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (1929/1929), 19.73 MiB | 95.28 MiB/s, done. Total 1929 (delta 1041), reused 1773 (delta 919), pack-reused 0 fatal: the remote end hung up unexpectedly Everything up-to-date
The server shows this error:
15:05:03 ERROR io.onedev.server.git.CommandUtils - fatal: protocol error: bad line length character: 4?
15:05:03 ERROR io.onedev.server.git.CommandUtils - 0
15:05:03 ERROR i.o.s.security.ExceptionHandleFilter - Error processing servlet request
java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.onedev.commons.utils.ExplicitException: Command execution failed (command: git receive-pack --stateless-rpc ., exit code: 128)
Caused by: java.util.concurrent.ExecutionException: io.onedev.commons.utils.ExplicitException: Command execution failed (command: git receive-pack --stateless-rpc ., exit code: 128)
Caused by: io.onedev.commons.utils.ExplicitException: Command execution failed (command: git receive-pack --stateless-rpc ., exit code: 128)