Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The application don't read the process.env #267

Open
dykeiichi opened this issue Feb 22, 2019 · 1 comment
Open

The application don't read the process.env #267

dykeiichi opened this issue Feb 22, 2019 · 1 comment

Comments

@dykeiichi
Copy link

I'm trying to monitor an ethereum network (eth-netstats | eth-net-intelligence-api), I have 2 experimental nodes, and a "monitor" (all are virtual machines), and, when I try to detect information of the nodes, it, just get information of the local machine, so, I started reading the code, and the errors showed in screen, finishing whit the lib/node.js file, it have a variable (process.env) that I think, its not read because, the errors (without modifying the code) shows the default values.

I have already modified the app.json, and created an app2.json in the backend ("eth-net-intelligence-api"), and started them with the pm2, but it not worked, so, I installed a backend in each node and configured it as a localhost, that sends the information to the "monitor" host (this, modifying the lib/node.js file), it worked just to show the nodes in the page (frontend), but, don't show other information

And, this is the structure of the .json files

1

@xumeng0308
Copy link

Have you solved your problem? I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants