GrpahAPI-While Creating SubscriptionID-InvalidRequest-The request was aborted: Could not create SSL/TLS secure channel

Sakti Mohapatra 41 Reputation points
2020-11-13T17:37:35.043+00:00

Hi All,

Using MS-GraphAPI for integration. While Creating SubscriptionID we are getting -"InvalidRequest-The request was aborted: Could not create SSL/TLS secure channel" error. Can you please help here. Following are the details.

[28741] [DEBUG]{'changeType': 'updated', 'notificationUrl': 'https://XXXXXXXXXXX/onedrive/webhook', 'resource': 'me/drive/root', 'expirationDateTime': '2020-11-14T23:23:45.9356913Z', 'clientState': 'STATE'}
[2020-11-13 16:26:14 +0000]
[28741] [DEBUG] {'SdkVersion': 'sample-python-flask', 'x-client-SKU': 'sample-python-flask', 'client-request-id': 'testing', 'return-client-request-id': 'true', 'Authorization': 'BearereyJ0eXAiOiJKV1QiLCJub25jZSI6ImlVaDRzUUlhU056cFRqaU1VYTJzLV9QanlKd09JU2szRF9PY0V0RVV2VUUiLCJhbGciOiJSUzIzHFN2Um8D0c-F5X0Qnc-FPQ(RemovedPARTOFIT)', 'Content-Type': 'application/json'}

[28743] [DEBUG] Error processing SSL request.
[28743] [DEBUG] Invalid request from ip=52.147.213.181: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:2309)
[28743] [DEBUG] Failed to send error message.
[28741] [DEBUG] Step-1
[28741] [DEBUG] <Response [400]>
[28741] [DEBUG] Step-2
[28741] [DEBUG] b'{\r\n "error": {\r\n "code": "InvalidRequest",\r\n "message": "The request was aborted: Could not create SSL/TLS secure channel.",\r\n "innerError": {\r\n "date": "2020-11-13T16:26:14",\r\n "request-id": "6d388b6c-f475-46b4-9401-712a29c5671b",\r\n "client-request-id": "6d388b6c-f475-46b4-9401-712a29c5671b"\r\n }\r\n }\r\n}'

Thanks
Sakti Mohapatra

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,371 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Cristian SPIRIDON 4,476 Reputation points
    2020-11-13T18:40:46.183+00:00

    The error is actually: "[SSL: NO_SHARED_CIPHER] no shared cipher ".

    That means that your client SSL library or your app configuration don't accept any of server SSL ciphers .

    I think, you should revise the software stack you are using (app / app libraries / operating system libraries) and see if they are up to date or configured in the right way.

    Hope this helps.


  2. Deva-MSFT 2,266 Reputation points Microsoft Employee
    2020-11-13T18:55:27.547+00:00

    Why you think it's related to Microsoft Graph API? It's nothing to do with it, rather, rather i believe it's related to your client SSL library or your app configuration/library that you're using. Just to isolate the issue you can try repro the issue with the same Graph API call in Microsoft Graph explorer .


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.