Cannot commit jar file to svn after merge: 502 'Bad Gateway'

后端 未结 4 1054
没有蜡笔的小新
没有蜡笔的小新 2021-01-22 01:42

We use visualsvn with tortoiseSVN on the client for version control of the binaries. That is, when we want to test a project, the test branch is merged with the build branch. Th

4条回答
  •  清酒与你
    2021-01-22 02:46

    Per investigation with support@visualsvn.com, the root cause was the following line in the %VISUALSVN_SERVER%conf\httpd-custom.conf file:

    RequestHeader edit Destination ^https http early
    

    Removing this line resolves the issue.

    BTW, I can guess that the line was added to implement automatic redirection from HTTP to HTTPS. With modern VisualSVN Server versions, you can enable this redirection via the VisualSVN Server Manager console. Therefore, no need to add that line to the conf file.

    You can follow these steps:

    1. Start the VisualSVN Server Manager console.
    2. Click Action | Properties.
    3. Click Network tab.
    4. Select the Automatically redirect HTTP to HTTPS (listen on port 80) option.
    5. Click Apply.

提交回复
热议问题