Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

unirest json api jira error

jonatan.martin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2023
When I want to make a Unirest connection from java it gives me the following error
 https://developer.atlassian.com/cloud/assetsapi/rest/api-group-assets/#api-asset-get
From the browser it returns the json
 navegador.png
Icono de Validado por la comunidad
With postman it returns the json

postman.png
But from eclipse with java it gives me the error even though I specify the TLS or SSL version
 java.png
Icono de Validado por la comunidad
 
do you know why it happens? thank you
 
Icono de Validado por la comunidad

1 answer

0 votes
marc -Collabello--Phase Locked-
Community Champion
June 27, 2023

Hi @jonatan.martin ,

Probably it is because you are using a deprecated SSL version (v3).

Try TLS 1.3.

Reference: https://en.wikipedia.org/wiki/Transport_Layer_Security

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events