Bug 1413370

Summary: Node.js Crashes When Launching Pterodactyl Daemon (CentOS 7)
Product: [Fedora] Fedora EPEL Reporter: Arthur Wilkinson <gt500>
Component: nodejsAssignee: NodeJS Packaging SIG <nodejs-sig>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: jamielinux, mrunge, nodejs-sig, piotr1212, sgallagh, tchollingsworth, thrcka, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-16 13:00:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Data from bug reporting tool. none

Description Arthur Wilkinson 2017-01-15 12:57:21 UTC
Created attachment 1240936 [details]
Data from bug reporting tool.

Description of problem:
When I launch Pterodactyl Daemon, Node.js runs until begins listening to port 8080 for connections from Pterodactyl Panel. After it begins listening, it unexpectedly terminates.

Version-Release number of selected component (if applicable):
6.9.1-4.el7

How reproducible:
100%

Steps to Reproduce:
1. Install Pterodactyl Panel
-- https://docs.pterodactyl.io/docs/installing
2. Install Pterodactyl Daemon
-- https://daemon.pterodactyl.io/docs/install-dependencies
3. Start Pterodactyl Daemon

Actual results:
Node.js terminates.

Expected results:
Node.js is expected to continue running Pterodactyl Daemon to listen for incoming connections from Pterodactyl Panel so that it can handle installing/managing game servers.

Additional info:
Server is rented from Limestone Networks, and uses Limestone's own mirrors of CentOS and EPEL repositories. Only third-party repositories used (other than Limestone's mirrored EPEL) are remi-safe and remi-php71 for PHP 7.1, NGINX mainline, and Vivaldi.

I posted about this on the Pterodactyl Panel forums as well, just in case it's not a bug in the EPEL Node.js package:
https://forums.pterodactyl.io/d/14-node-js-crashing-centos-7

Comment 1 Arthur Wilkinson 2017-01-15 22:04:43 UTC
The developers of Pterodactyl Panel have let me know that this appears to be related to an SSL issue with the version of Node.js from the EPEL repo. There is a bug report on their tracker where another user encountered the issue, and it was resolved by replacing EPEL's Node.js with the official version:
https://github.com/Pterodactyl/Panel/issues/196

Comment 2 Stephen Gallagher 2017-01-16 13:00:32 UTC
See https://github.com/nodejs/node/issues/9551#issuecomment-265574463 for a workaround.https://github.com/nodejs/node/issues/9551#issuecomment-265574463

*** This bug has been marked as a duplicate of bug 1394948 ***