We are constructing a CentOS 6.5 (amd64) platform as our App Server, and moving App Server from Win7 platform to CentOS platform; however, during this process, we run into some issues which never occurred on Win7 platform as follows.
On CentOS platform, I firstly install a global ngrok with ‘npm install ngrok -g’ command, and check it:
$ ngrok -v
$ ngrok version 2.2.8
This ‘ngrok http’ command can establish a local tunnel for HTTP.
On our addon folder, I run ‘npm install’ and then ‘npm start’ command, but the latter hangs forever after ‘Initialized sqlite3 storage adapter’:
$ pwd
/jira/gadget
$ npm start
com.hitachiconsulting.gadget@0.0.1 start /jira/gadget
node app.js
Watching atlassian-connect.json for changes
Add-on server running at http://CDC-Jira-Cloud-01:3000
Initialized sqlite3 storage adapter
ngrok can not establish a local tunnel as expected.
I also find that ‘npm install’ installs a local ngrok on our addon subfolder–node_modules:
$ pwd
/jira/gadget
$ npm install --unsafe-perm
…
ngrok - downloading binary https://bin.equinox.io/a/b87faFPKrii/ngrok-2.1.1-linux-amd64.tar.gz …
ngrok - binary downloaded…
ngrok - binary unpacked.
added 494 packages in 33.291s
$
But this lcoal ngrok does not work as follows:
$ pwd
/jira/gadget/node_modules/ngrok
$ ./bin/ngrok -v
Segmentation fault
$
Would anyone like to give us helps?
Any helps would be appreciated.
Thanks.