I am getting below Error on running Azure Function Javascript - npm start

AmirMustafa-8561 0 Reputation points
2024-08-29T12:38:06.5233333+00:00

I am getting below error on starting Azure Function JS Application.

Node JS Verison: 20.11.0

Error:

C:\Users\AYM24\Project\CIS-ALE-ML\Modules>npm start

> purgeengine@1.0.0 start

> func start

Azure Functions Core Tools

Core Tools Version: 4.0.5907 Commit hash: N/A +807e89766a92b14fd07b9f0bc2bea1d8777ab209 (64-bit)

Function Runtime Version: 4.834.3.22875

[2024-08-29T12:28:22.514Z] Error building configuration in an external startup class.

[2024-08-29T12:28:22.517Z] Error building configuration in an external startup class. System.Net.Http: The SSL connection could not be established, see inner exception. System.Net.Security: Received an unexpected EOF or 0 bytes from the transport stream.

[2024-08-29T12:28:22.633Z] A host error has occurred during startup operation 'c4f2a37d-5cc9-4c86-bd6e-c5bef78cc72a'.

[2024-08-29T12:28:22.637Z] Microsoft.Azure.WebJobs.Script: Error building configuration in an external startup class. System.Net.Http: The SSL connection could not be established, see inner exception. System.Net.Security: Received an unexpected EOF or 0 bytes from the transport stream.

Value cannot be null. (Parameter 'provider')

[2024-08-29T12:28:22.759Z] Host startup operation has been canceled

C:\Users\AYM24\Project\CIS-ALE-ML\Modules>

Host.json:

"version": "2.0",
    "extensionBundle": {
        "id": "Microsoft.Azure.Functions.ExtensionBundle",
        "version": "[3.*, 4.0.0)"
    },

Screenshots:

User's image

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
0 comments No comments
{count} votes

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.