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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
Highlighted

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 Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,636 views 22 33
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