Open icytnt opened 3 months ago
我的问题和这个类似,不过多了一个问题:svn服务器的端口号看上去被tca服务器忽略了。 我们的svn地址是这样的: http://10.20.180.221:3690/repo/Software/PublicShare/Projects/01_dentalProject/02_Code 端口号是3690,并且不支持https。
log是这样的: tomo@scmdata:/mnt/data/CodeAnalysis/.docker_temp$ tail -30 ./logs/servers/scmproxy/server_stderr.log svn: E000111: Error running context: Connection refused} 127.0.0.1 - - [15/Oct/2024 10:41:03] "POST /RPC2 HTTP/1.1" 200 - 2024-10-15 10:52:50,879 PID:479 apis.py-line:119 | INFO - method: auth_check, scm_url: http://10.20.180.221:3690/repo/Software/PublicShare/Projects/01_dentalProject, scm_type: svn, username: yaoliwei 2024-10-15 10:52:50,880 PID:479 apis.py-line:70 | INFO - no need to checkout 2024-10-15 10:52:50,906 PID:479 threading.py-line:870 | WARNING - ignore warning/error: svn: warning: cannot set LC_CTYPE locale 2024-10-15 10:52:50,907 PID:479 threading.py-line:870 | WARNING - ignore warning/error: svn: warning: environment variable LC_ALL is en_US.UTF-8 2024-10-15 10:52:50,908 PID:479 threading.py-line:870 | WARNING - ignore warning/error: svn: warning: please check that your locale name is correct 127.0.0.1 - - [15/Oct/2024 10:52:50] "POST /RPC2 HTTP/1.1" 200 - 2024-10-15 10:56:48,098 PID:479 apis.py-line:119 | INFO - method: branch_check, scm_url: https://10.20.180.221/repo/Software/PublicShare/Projects/01_dentalProject/02_Code, scm_type: svn, username: yaoliwei 2024-10-15 10:56:48,099 PID:479 apis.py-line:70 | INFO - no need to checkout 2024-10-15 10:56:48,126 PID:479 threading.py-line:870 | WARNING - ignore warning/error: svn: warning: cannot set LC_CTYPE locale 2024-10-15 10:56:48,127 PID:479 threading.py-line:870 | WARNING - ignore warning/error: svn: warning: environment variable LC_ALL is en_US.UTF-8 2024-10-15 10:56:48,127 PID:479 threading.py-line:870 | WARNING - ignore warning/error: svn: warning: please check that your locale name is correct 2024-10-15 10:56:48,201 PID:479 proxyserver.py-line:79 | ERROR - Error info: Traceback (most recent call last): File "proxyserver.py", line 74, in _dispatch response = func(params) File "/CodeAnalysis/server/projects/scmproxy/apis.py", line 128, in wrapper return func(func_args, **kwargs) File "/CodeAnalysis/server/projects/scmproxy/apis.py", line 176, in branch_check scm_client.info_by_remote() File "src/_cmdsvn.py", line 300, in src._cmdsvn.CmdSvn.info_by_remote File "src/_cmdsvn.py", line 241, in src._cmdsvn.CmdSvn._base_info File "src/_cmdsvn.py", line 163, in src._cmdsvn.CmdSvn._cmd_error_check lib._scmbase.ScmCommandError: svn: E170013: Unable to connect to a repository at URL 'https://10.20.180.221/repo/Software/PublicShare/Projects/01_dentalProject/02_Code' svn: E000111: Error running context: Connection refused 2024-10-15 10:56:48,202 PID:479 utils.py-line:81 | INFO - handle svn git err msg: svn: E170013: Unable to connect to a repository at URL 'https://10.20.180.221/repo/Software/PublicShare/Projects/01_dentalProject/02_Code' svn: E000111: Error running context: Connection refused 2024-10-15 10:56:48,202 PID:479 proxyserver.py-line:82 | ERROR - {method: branch_check, error_message: svn: E170013: Unable to connect to a repository at URL 'https://10.20.180.221/repo/Software/PublicShare/Projects/01_dentalProject/02_Code' svn: E000111: Error running context: Connection refused} tomo@scmdata:/mnt/data/CodeAnalysis/.docker_temp$
http/https issue has been resolved after adjustment of the flag HTTPS_CLONE_FLAG, thoug the port issue still there. Pls help.
仓库登记 添加代码分支报错 日志记录内容
麻烦看一下是什么原因