question

DianeBustamante-7877 avatar image
0 Votes"
DianeBustamante-7877 asked ·

Electron app (nightmare.js) failing on Azure App Service for Linux

Is it possible to run Electron apps (Nightmare.js) on the Azure App Service for Linux nodejs built-in containers? It seems like there may be some specific Azure configuration settings required for this to work. The issue is the node server can't launch Nightmare.js and throws a connection timeout error.

Has anyone been successful in getting an Electron app to work on Azure App Service?

azure-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered ·

Hi DianeBustamante-7877,


Based on this SO thread you need to check your Dockerfile for exposed ports. Also setting explicit WEBSITES_PORT in your Azure Web App's "Application Settings" should help.


please see this detailed doc for addtional info: https://blogs.msdn.microsoft.com/waws/2017/09/08/things-you-should-know-web-apps-and-linux/#NoPing


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.