Hello brothers and sisters of PerlMonks,
I have a problem with a Perl script to access Atlassian JIRA via a REST-API. The error message reads:
"Unable to POST /jira/rest/api/latest/search/: 500 Can't connect to my
+site.com:443 (Bad file descriptor) Can't connect to mysite.com:443 (B
+ad file descriptor) Bad file descriptor at C:/MyPrograms/Strawberry/p
+erl/vendor/lib/LWP/Protocol/http.pm line 50, <STDIN> line 2.
(for request: {"startAt":0,"maxResults":500,"fields":["*navigable"],"j
+ql":"project = xxxx AND Status = Open"}) at jira_test_rest-api.pl lin
+e 48."
Do you have any idea what I have to do to correct this fault? I think it might be a certificate problem but I have no idea since I'm a complete newbie with Perl...
If I use CURL to place this request, it works without problems...
Thanks and best regards,
PaddyP
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.