Open ryanammoury opened 2 months ago
Can you ping my-site.atlassian.net
from inside your Docker container? I'm thinking there might be a networking issue with Docker.
Hi @tomasbjerre, thanks for your quick answer.
I was able to ping www.google.com
from inside the Docker container, but altlassian.net
doesn't answer to ping. We can see that an IP address is correctly resolved though (185.166.141.3) :
>ping squadrone-system.atlassian.net
PING my-site.atlassian.net (185.166.141.3): 56 data bytes
^C
--- atlassian.net ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
I tried using npx
and I have the same result. Is there a way I can debug authentication ?
I can authenticate on my-site.atlassian.net
correctly using curl
and a basic example with my Jira API Token.
Easiest way to debug is probably to find a test in the library and run that in debug mode with some IDE. Perhaps: https://github.com/tomasbjerre/git-changelog-lib/blob/master/src/test/java/se/bjurr/gitchangelog/internal/integrations/jira/JiraClientIntegrationTest.java
I'm able to authenticate on a Jenkins pipeline using the git-changelog-plugin this way :
However I'm not able to authenticate with the same server and credentials using docker command line
The resulting changelogs are similar, except I'm not getting the Jira Issue Type, Title and other info using the docker command line. Any idea of what I might be doing wrong ?