Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Attempt to connect to Node timed out after 60000ms

I have created a Asp.net Core Angular 2 app using the SPA template provided by VS2017. Everything works fine locally. But when published to Azure as a web application the following error occurs:

AggregateException: One or more errors occurred. (Attempt to connect to Node timed out after 60000ms.)

I checked the stdout file and I also see the following error prior to the above:

Microsoft.AspNetCore.Server.Kestrel[0] Unable to bind to http://localhost:19013 on the IPv6 loopback interface: 'Error -4090 EADDRNOTAVAIL address not available'.

I am not finding much online also, there is no code change from my end and its just the default template.

like image 332
Gurpreet Singh Avatar asked Oct 16 '17 14:10

Gurpreet Singh


1 Answers

Seems like for an app service, we need to explicitly add node version on the app services in the app settings.

Doing it resolved the issue.

like image 154
Gurpreet Singh Avatar answered Oct 12 '22 02:10

Gurpreet Singh