incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Bug][JIRA] connection refused

Open bsownda opened this issue 3 years ago • 9 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

I am getting connection issue while connecting my organization JIRA account using config-ui portal. The status of Jira config indicates in portal "disconnected" Is there any way to disable ssl verify in devlake and config-ui container?

What do you expect to happen

I want JIRA metrics from Apache devlake platform in Mac.

How to reproduce

Yes. I can

Anything else

No response

Version

main

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

bsownda avatar Feb 06 '23 03:02 bsownda

What's the DevLake and Jira version you're on? Can you share your connection page with the error message with us?

Startrekzky avatar Feb 06 '23 05:02 Startrekzky

@bsownda By setting IN_SECURE_SKIP_VERIFY=true in the .env file, you cloud disable the SSL certificate verification

mindlesscloud avatar Feb 06 '23 05:02 mindlesscloud

This is documented as well https://devlake.apache.org/docs/Troubleshooting/Configuration#failed-to-collect-data-from-the-server-with-a-self-signed-certificate

klesh avatar Feb 06 '23 06:02 klesh

What's the DevLake and Jira version you're on? Can you share your connection page with the error message with us?

I'm using jira version - v8.22.6#822006 and devlake version - latest docker-compose image

Error: connection test Failed. error requesting https://dns.com/rest/

Devlake log: Wraps: (4) context deadline exceeded (Client.Timeout exceeded while awiting headers) Error types: (1) *hintdetail.withDetail (2) *.hintdetail (3) * url.Error (4) *http.httpError

bsownda avatar Feb 06 '23 06:02 bsownda

@bsownda By setting IN_SECURE_SKIP_VERIFY=true in the .env file, you cloud disable the SSL certificate verification

I tried with this option also. Still I'm not able to connect.

bsownda avatar Feb 06 '23 06:02 bsownda

@bsownda Could you access the Jira server from the server where DevLake was deployed

mindlesscloud avatar Feb 07 '23 07:02 mindlesscloud

@bsownda @mindlesscloud @klesh I am having the similar issue. By following the documentation I was able to add the Certificate in the docker and my curl command works directly from the image and the instance as well.

Adding snippet for reference: image

Although when I am trying to create a connection I get following issues. Using the Token image

Using the basic Authentication image

I have created a question issue for this as well

FaizanSh avatar Feb 09 '23 11:02 FaizanSh

Jira PAT will be supported in v0.16 by https://github.com/apache/incubator-devlake/pull/4260

klesh avatar Feb 10 '23 09:02 klesh

FYI. ETA of v0.16 is Mar

klesh avatar Feb 10 '23 09:02 klesh