Azure Function Outgoing SSL Exceptions

Benjamin Bristow 6 Reputation points
2022-03-28T10:44:40.4+00:00

Hi,

Having a problem that seems to have occurred without me making any changes.

My Azure Functions are having issues connecting via SSL to external APIs (My functions talk to an Azure Table Storage account via HTTPS)

The logs I'm seeing are similar in both functions:

Microsoft.Azure.Cosmos.Table.StorageException : The SSL connection could not be established, see inner exception. ---> System.Net.Http.HttpRequestException : The SSL connection could not be established, see inner exception. ---> System.Security.Cryptography.CryptographicException : Error occurred during a cryptographic operation. at Interop.Crypto.X509StoreSetVerifyTime(SafeX509StoreHandle ctx,DateTime verifyTime) at Internal.Cryptography.Pal.OpenSslX509ChainProcessor.InitiateChain(SafeX509Handle leafHandle,X509Certificate2Collection customTrustStore,X509ChainTrustMode trustMode,DateTime verificationTime,TimeSpan remainingDownloadTime)

Not a clue what's causing this other than maybe something to do with the clocks changing (British Summer Time) on Linux?

Is someone able to help please?

Thanks
Ben

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
170 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,978 questions
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,476 Reputation points
    2022-03-28T16:26:05.597+00:00

    Hi anonymous user ,

    Thanks for reaching out to Q&A. Please help me with the below queries,

    1. Please provide the complete stack of the error message
    2. Are you able to identify which line of code is causing this error? If yes, please share the code snippet
    3. Are you able to see this error when the functions are running locally?
    4. How frequent are you seeing this error?
    5. Language stack along with version? If its .net core or framework? Please provide the version of .net
    6. Do you see any donwtime at the cosmos table storage during the time this issue is seen?

  2. Benjamin Bristow 6 Reputation points
    2022-04-07T22:43:30.43+00:00

    Bump - any idea what's going on here?

    0 comments No comments

  3. Andreas Järlstig 1 Reputation point
    2022-04-20T19:23:00.763+00:00

    I started to get the same error without doing any changes. Also running on a linux consumption plan.

    0 comments No comments

  4. Yash Mochi 41 Reputation points
    2022-11-02T07:55:50.58+00:00

    Any update on this? I am also facing the same error.


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.