为什么我无法将 psd (Photoshop) 文件提交到 SVN?

发布于 2024-07-24 09:00:48 字数 316 浏览 10 评论 0原文

我尝试将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

剑心龙吟 2024-07-31 09:00:48

您需要确保使用最新的 VisualSVN 服务器和 svn 客户端版本,并且防病毒、防火墙、代理、网络没有问题。 请注意,有时防病毒软件可能会导致此类问题,只有完全卸载防病毒软件才有帮助。 因此,您可能需要联系防病毒软件、防火墙或代理的支持人员寻求帮助。

  • 在客户端,将用户工作副本的位置添加到防病毒排除项,并将您的 SVN 客户端也添加到排除项。

    在客户端

  • 如果您在服务器计算机上运行防病毒应用程序,则应确保防病毒程序不会影响 VisualSVN Server 服务和存储库。 防病毒应用程序、主动防火墙和流量扫描程序在某些情况下也倾向于拦截普通 HTTP 流量和 HTTPS 流量,并且可能会导致乍一看与连接或性能相关的问题。

    请确保防病毒软件不会影响进出 VisualSVN Server 的流量,将存储库和 VisualSVN Server 服务的存储位置添加到防病毒软件的排除(例外)列表中。 您应该将存储库根目录(默认为 C:\Repositories\)和这些服务添加到防病毒软件的排除(例外)列表中,以便其实时保护不会干扰:

    • %VISUALSVN_SERVER%bin\VisualSVNServer.exe
    • %VISUALSVN_SERVER%bin\vdfssvc.exe
    • %VISUALSVN_SERVER%bin\vsvnjobsvc.exe
    • %VISUALSVN_SERVER%bin\vrepocfgsvc.exe

顺便说一句,现代 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:

    • %VISUALSVN_SERVER%bin\VisualSVNServer.exe
    • %VISUALSVN_SERVER%bin\vdfssvc.exe
    • %VISUALSVN_SERVER%bin\vsvnjobsvc.exe
    • %VISUALSVN_SERVER%bin\vrepocfgsvc.exe

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.

岛徒 2024-07-31 09:00:48

这完全取决于连接速度和要提交的文件的大小。 如果你的连接速度很慢,请尝试在除了 svn 进程之外没有人使用互联网时提交。 它可以帮助 svn 使用互联网连接的所有带宽。

毕竟,如果您遇到同样的问题,您应该更新 VisualSVN 服务器中的 custom-httpd.conf 文件,如下代码所示:

Timeout 300000
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 500000

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:

Timeout 300000
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 500000
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文