We have a node/express app that connect to SharePoint onprem using pnp-auth and node-sp-auth-config. (IE connection settings : automatic) Works like a charm
Moving this app to another server On that server IE connection needs to be on manual proxy config to be able to connect to SharePoint via the browser
For the node app the result is : nodejs app cannot connect to SharePoint "FetchError: request to ..... failed, reason: connect ETIMEDOUT .....:443 at ClientRequest. (d:\NODE\QOMV-CRExport\node_modules\pnp-auth\node_modules\node-fetch\lib\index.js:1444:11) at ClientRequest.emit (events.js:182:13) at TLSSocket.socketErrorListener (_http_client.js:392:9) at TLSSocket.emit (events.js:182:13) at emitErrorNT (internal/streams/destroy.js:82:8) at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) at process._tickCallback (internal/process/next_tick.js:63:19)"
Anybody any pointers how to solve this ?