Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error: The request was aborted - Could not create SSL/TLS secure channel

I am working on a C# app that pulls in data from Jira of all the issues. The authentication seems to be working, however when I try to get the data, it throws the SSL/TLS error. SDK is updated to the latest version, same code was working yesterday but not today. 

Line of Code giving error: List<atlassian.Issue> results = (from i in this.JiraConnection.Issues.Queryable......

 

2 comments

The change is probably a result of the change Atlassian implemented on 8th July to remove support for TLS v1.0 and v1.2. See https://confluence.atlassian.com/cloud/blog/2019/07/atlassian-cloud-changes-jul-1-to-jul-8-2019

You will will to change the security level. As an example see https://github.com/googleapis/google-api-dotnet-client/issues/911

Does anyone have any ideas on why JIRA is denied (The request was aborted: Could not create SSL/TLS secure channel.) a simple and industry standard request?

RestClient client = new RestClient();
RestRequest request = new RestRequest(Method.GET);
IRestResponse response = null;

client.BaseUrl = new Uri("https://**jira.atlassian.net");
client.Authenticator = new HttpBasicAuthenticator("**", "**");
request.Resource = "rest/api/2";
request.AddHeader("Accept", "application/json");
request.AddHeader("Content-Type", "application/json; charset=utf-8");
request.RequestFormat = DataFormat.Json;
response = client.Execute(request);

if (response.StatusCode == HttpStatusCode.OK)
{
// Success.
}
else
{
string text = response.ErrorMessage;
// text = The request was aborted: Could not create SSL/TLS secure channel.
}

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

476 views 2 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you