Nuget push returns BadGateway #2837
Ante Marić opened 2 weeks ago

I have created repository with package management enabled. I have followed instructions for adding nuget source. When I try to push a nuget I get BadGateway. On my reverse proxy I see this:

[WRN] "RequestBodyDestination": The destination reported an error when copying the request body. System.AggregateException: One or more errors occurred. (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) (An error occurred while sending the request.) ---> System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..

Any way to see some detailed logs on OneDev? I tried opt/onedev/logs/server.log, but there is nothing there.

I am on v16.0.1.

  • Robin Shen commented 2 weeks ago

    Is this happening if you push to OneDev directly without going through reverse proxy?

  • Ante Marić commented 2 weeks ago

    Yes. I get the same error, but it is returned by the dotnet nuget push command directly.

  • Robin Shen commented 2 weeks ago

    Just tested to push with dotnet nuget push and it works fine. Can you please attach an example project with a step by step reproducing guide demonstrating the issue?

  • Robin Shen commented 1 week ago

    Reopen if you have more info

  • Robin Shen changed state to 'Closed' 1 week ago
    Previous Value Current Value
    Open
    Closed
1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2837
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover