Running FreePBX 15.0.16.68
A week or so ago, an update to the pm2 module failed or did not work. I have tried to reinstall using all the other topics on the forum as a guide, but am still stuck. The error is a network timeout when trying to download http://mirror1.freepbx.org/npm/pm2-2.10.7.tgz
, however the IP that is timing out is 199.102.239.8, port 6767 and the IP of the URL above is 199.102.239.170. Additionally, I can wget the above URL on the freepbx server no problem. I have no idea where that other IP is coming from - a load balancer or something? Any advice would be greatly appreciated. Here’s the verbose install log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 63f8f99582cd8b46
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall [email protected]
7 info lifecycle [email protected]~preinstall: [email protected]
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing stage:loadCurrentTree Completed in 6ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
16 silly install loadAllDepsIntoIdealTree
17 silly fetchPackageMetaData error for pm2@http://mirror1.freepbx.org/npm/pm2-2.10.7.tgz request to http://mirror1.freepbx.org/npm/pm2-2.10.7.tgz failed, reason: connect ETIMEDOUT 199.102.239.8:6767
18 timing stage:rollbackFailedOptional Completed in 1ms
19 timing stage:runTopLevelLifecycles Completed in 452078ms
20 silly saveTree [email protected]
21 verbose type system
22 verbose stack FetchError: request to http://mirror1.freepbx.org/npm/pm2-2.10.7.tgz failed, reason: connect ETIMEDOUT 199.102.239.8:6767
22 verbose stack at ClientRequest.req.on.err (/usr/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
22 verbose stack at emitOne (events.js:116:13)
22 verbose stack at ClientRequest.emit (events.js:211:7)
22 verbose stack at Socket.socketErrorListener (_http_client.js:387:9)
22 verbose stack at emitOne (events.js:116:13)
22 verbose stack at Socket.emit (events.js:211:7)
22 verbose stack at emitErrorNT (internal/streams/destroy.js:64:8)
22 verbose stack at _combinedTickCallback (internal/process/next_tick.js:138:11)
22 verbose stack at process._tickCallback (internal/process/next_tick.js:180:9)
23 verbose cwd /var/www/html/admin/modules/pm2/node
24 verbose Linux 3.10.0-957.21.3.el7.x86_64
25 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
26 verbose node v8.11.3
27 verbose npm v6.14.7
28 error code ETIMEDOUT
29 error errno ETIMEDOUT
30 error network request to http://mirror1.freepbx.org/npm/pm2-2.10.7.tgz failed, reason: connect ETIMEDOUT 199.102.239.8:6767
31 error network This is a problem related to network connectivity.
31 error network In most cases you are behind a proxy or have bad network settings.
31 error network
31 error network If you are behind a proxy, please make sure that the
31 error network 'proxy' config is set properly. See: 'npm help config'
32 verbose exit [ 1, true ]