Jan Boije Thanks for posting your question in Microsoft Q&A. Based on your description, you followed training path: https://learn.microsoft.com/en-us/training/modules/automatic-update-of-a-webapp-using-azure-functions-and-signalr/ and got the above error. Is that correct?
The full code snippet for the tutorial is available in https://github.com/MicrosoftDocs/mslearn-advocates.azure-functions-and-signalr/tree/master/end repo and found a similar discussion about this tls_process_key_exchange
error pointing to https://github.com/MicrosoftDocs/mslearn-advocates.azure-functions-and-signalr/issues/41#issuecomment-1473677091 resolution.
Solution:
That can be solved by bumping the Cosmos DB client to the latest version like that in package.json:
"@azure/cosmos": "^3.17.3",
That would require small change in the db.js file:
client = new CosmosClient({ endpoint, key: masterKey });
Please try the suggestion and let me know if you face the issue.
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.