【问题标题】:Subversion Error E120105 "improper HTTP response"Subversion 错误 E120105 “不正确的 HTTP 响应”
【发布时间】:2015-11-29 09:55:55
【问题描述】:

这个问题类似于an older question

当我尝试将/mkdir 提交到存储库时,svn 失败并显示:

svn: E120105: Error running context: The server sent an improper HTTP response

Subversion 客户端详情v1.8.10

$ svn --version
svn, version 1.8.10 (r1615264)
   compiled Aug  9 2015, 13:48:39 on x86_64-pc-linux-gnu

Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.8
  - handles 'http' scheme
  - handles 'https' scheme

这是服务器详情v1.6.17

$ svnadmin --version
svnadmin, version 1.6.17 (r1128011)
   compiled Aug 13 2014, 20:41:52

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.

我已经尝试了上一个问题中的解决方案,~/.subversion/servers 文件包含该行

http-bulk-updates = yes

但是没有效果。

另一方面,服务器能够接受来自svn v1.6 + ra_neon的提交

任何想法,如何纠正?

【问题讨论】:

    标签: svn


    【解决方案1】:

    我遇到了同样的问题,也无法使用 http-bulk-updates 解决它。就我而言,这似乎是由我公司的代理引起的。基本上我的想法是:如果代理/防病毒/等干扰了SVN客户端和服务器之间的HTTP通信,让我们简单地使用SSL隐藏它。这解决了我的问题。

    如果您使用的是 apache2 和 mod_dav_svn,我推荐这篇文章: https://rbgeek.wordpress.com/2012/09/09/svn-server-on-ubuntu-with-https-access/

    请注意,如果您的存储库位置是 svn://... 或 http://... 您可能必须在之后重新定位到 https://...。

    【讨论】:

    • 我会尝试升级到服务器上的ssl托管,然后看看解决方案是否有效。谢谢你摆姿势。
    猜你喜欢
    • 2018-11-07
    • 2014-08-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-11-26
    • 1970-01-01
    • 2017-03-11
    相关资源
    最近更新 更多