Closed igajsin closed 1 year ago
I quickly grepped request.el and org-jira - I don't see a match for"abnormal", so this may be more of a lower level/curl specific problem.
An invalid URL can trigger an exit code 3 with curl:
❯ curl 'http:example.com'
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
❯ echo $?
3
If the "abnormal" message is just Emacs relaying the shell out to curl's error code, maybe the URL you have configured isn't valid?
I notice you have https:jira.company.com
, which I assume was a result of obfuscating your sensitive data (thank you btw, always stressful to see people paste their base64 credentials) - please confirm the actual error log shows the equivalent of https://jira.company.com
(note the //
).
A more primitive request might be to try a manual (request
call (see: C-h f request
for details) to your URL, and also to (or compare manually) with jiralib-url
- see if that triggers the same error?
Shame on me, that was a typo in the jiralib-url
, somehow https://jira.company.com
was copied to https:jira.company.com
. Sorry about that.
Hi, first of all thanks for the project, it should be very useful when I'll manage to make it working, but now for the very basic setup
I've got the error
For obvious reason authorization header, url and file paths were masked here. I've tried to run the command above directly via cli and (if replace
--data-binary @=
to--data-binary '{}'
), the curl works well, at least the jira sends me huge json without complains. Any idea how I can continue?