Perl PPM 错误“失败 500 无法连接到 ppm4.activestate.com:8080(连接:超时)”
当我尝试连接 PPM 时,它显示此错误,我已验证防火墙,但它尚未激活。我什至无法从 activestate 下载单个模块。
when I try to connect PPM it shows this error, i have verified firewall also it has not activated. I can't able to download even a single module from activestate.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您使用代理,可能是您没有设置代理环境变量。
请参阅他们的 PPM 文档
If you are using a proxy, it could be that you have not set the proxy environment variable.
See their PPM Documenation
因为ActiveState新主机不支持旧的SSL协议。
要解决这个问题,可以修改:(
或者在\Perl64\lib....)
find:
里面添加以下两个选项:
Because ActiveState new host does not support old SSL protocols.
To fix this problem, you can modify:
(or in \Perl64\lib....)
find:
add the following two options inside:
安装 Fiddler Web 调试器(www.fiddler2.com),启动它,启动 Web 浏览器(供 Fiddle 检测设置) ),然后重新启动 PPM。
Fiddler 将作为代理并正确解析请求。我什至不需要添加 ActiveState 推荐的“http_proxy”环境设置,但您可能需要,因此从命令提示符键入:
set http_proxy=http://127.0.0.1:8888 然后从同一命令提示符处键入
PPM
以启动 PPMInstall Fiddler Web Debugger (www.fiddler2.com), launch it, start a web browser (for Fiddle to detect settings), then relaunch PPM.
Fiddler will work as the proxy and resolve the requests properly. I didn't even need to add the "http_proxy" environment setting that is recommended by ActiveState, but you may need to, so from a command prompt type:
set http_proxy=http://127.0.0.1:8888
then from this same command prompt typePPM
to launch the PPM我相信旧版本的 ActiveState Perl ie <= 5.x 不受支持,因为 TLS < 1.2(明显老化除外)。
作为解决方法,人们可以手动搜索每个模块的链接,然后在现代 Web 浏览器中下载它:
使用现代浏览器下载链接后声明的 *.ppmx 包,即 http://ppm4.activestate.com/MSWin32-x64/5.26 /2603/D/DR/DROLSKY/Time-Local-1.25.ppmx
然后使用下载的文件执行安装:
I believe legacy versions of ActiveState Perl i.e. <= 5.x are not supported because of TLS < 1.2 (apart from the obvious aging).
As workaround one could do a manual search for the link to each of the modules instead and download it in a modern web browser:
Use a modern browser to download the *.ppmx packages stated after Link i.e. http://ppm4.activestate.com/MSWin32-x64/5.26/2603/D/DR/DROLSKY/Time-Local-1.25.ppmx
Then perform the installation using the downloaded file: