为什么我无法将 psd (Photoshop) 文件提交到 SVN?
我尝试将 psd 文件提交到 svn 但它不允许我这样做。
错误信息:
提交失败(详细信息如下):PUT of '/svn/.../!svn/wrk/243a5d81-c1c1-f545-8346-5e8399121cb4/Design.psd': 无法发送请求正文:An 已建立的连接被中止 您主机中的软件。 (http://...)
我做错了什么?
I tried to commit psd file to svn but it didn't let me do it.
Error message:
Commit failed (details follow): PUT of
'/svn/.../!svn/wrk/243a5d81-c1c1-f545-8346-5e8399121cb4/Design.psd':
Could not send request body: An
established connection was aborted by
the software in your host machine.
(http://...)
What am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要确保使用最新的 VisualSVN 服务器和 svn 客户端版本,并且防病毒、防火墙、代理、网络没有问题。 请注意,有时防病毒软件可能会导致此类问题,只有完全卸载防病毒软件才有帮助。 因此,您可能需要联系防病毒软件、防火墙或代理的支持人员寻求帮助。
在客户端,将用户工作副本的位置添加到防病毒排除项,并将您的 SVN 客户端也添加到排除项。
在客户端
如果您在服务器计算机上运行防病毒应用程序,则应确保防病毒程序不会影响 VisualSVN Server 服务和存储库。 防病毒应用程序、主动防火墙和流量扫描程序在某些情况下也倾向于拦截普通 HTTP 流量和 HTTPS 流量,并且可能会导致乍一看与连接或性能相关的问题。
请确保防病毒软件不会影响进出 VisualSVN Server 的流量,将存储库和 VisualSVN Server 服务的存储位置添加到防病毒软件的排除(例外)列表中。 您应该将存储库根目录(默认为 C:\Repositories\)和这些服务添加到防病毒软件的排除(例外)列表中,以便其实时保护不会干扰:
顺便说一句,现代 VisualSVN Server 版本具有丰富的 Web 界面,支持查看 PSD (Adobe Photoshop) 和 AI (Adobe Illustrator) 文件以及 DOCX (Microsoft Word) 和 PDF。 在演示服务器上尝试该功能。
You need to make sure that you use up to date VisualSVN Server and svn client versions and that there are no problems with your antivirus, firewall, proxy, network. Note that sometimes an antivirus can cause such problems and only full uninstall of the antivirus software helps. Therefore, you may need to contact support of your antivirus, firewall or proxy for help.
On the client side, add the location of user working copies to antivirus exclusions and add your SVN client to the exclusions, too.
If you run an antivirus application on the server computer, you should make sure that the antivirus does not touch VisualSVN Server services and repositories. Antivirus applications, active firewalls, and traffic scanners tend to intercept plain HTTP traffic and HTTPS traffic in some cases too and may cause the problems that look as connectivity or performance -related at first glance.
Please make sure that the antivirus does not touch traffic to and from VisualSVN Server, add the location where you store your repositories and VisualSVN Server services to the exclusion (exception) list of the antivirus. You should add the repositories root directory (C:\Repositories\, by default) and these services to the exclusion (exception) list of the antivirus so that its real-time protection does not interfere:
BTW, modern VisualSVN Server versions have a rich web interface and it supports viewing PSD (Adobe Photoshop) and AI (Adobe Illustrator) files as well as DOCX (Microsoft Word) and PDFs. Try the feature on the demo server.
这完全取决于连接速度和要提交的文件的大小。 如果你的连接速度很慢,请尝试在除了 svn 进程之外没有人使用互联网时提交。 它可以帮助 svn 使用互联网连接的所有带宽。
毕竟,如果您遇到同样的问题,您应该更新 VisualSVN 服务器中的 custom-httpd.conf 文件,如下代码所示:
It is all about the connection speed and the size of the file you want to commit. If you have slow connection please try committing when nobody other than svn process uses internet. It may help svn to use all the bandwidth of the internet connection.
After all if you have same problem you should update your custom-httpd.conf file in your VisualSVN server like the following code: