我不使用代理。
这是我的代码:
use JIRA::Client::Automated;
my $jira = JIRA::Client::Automated->new(https://myserver.com, "user", "password");错误的反应是:
无法获得/jira/rest/api/最新/发布/DCS-51191: 500不能连接到myserver.com:443不能连接到myserver.com:443 C:/Users/Fred/applis_portables/Strawberry_Perl/perl/vendor/lib/LWP/Protocol/http.pm第47行的文件描述符错误。 在createPage2.pl第16行。
谢谢你的帮助。
发布于 2016-04-26 16:24:42
在JIRA服务器上似乎有一个自签名证书。为了绕过,我添加了以下代码:
我的$jira_ua = $jira->ua();$jira_ua->ssl( verify_hostname => 0 );
发布于 2016-04-26 15:23:12
该错误看起来不像JIRA::Client::Automated。它由LWP::UserAgent生成,通常表示所显示的内容。
您的服务器上有自签名证书吗?
您是否尝试在浏览器中打开该URL?https://myserver.com:443 (与您提供给模块的URL完全相同)。
尝试使用webserver:curl -vvv https://myserver.com/jira/rest/api/latest/issue/DCS-51191中的curl curl -vvv https://myserver.com/jira/rest/api/latest/issue/DCS-51191
也许只是一个失踪的世界。服务器URL中的前缀?
https://stackoverflow.com/questions/36868754
复制相似问题