Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,318
Community Members
 
Community Events
165
Community Groups

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

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,668 views 37 46
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