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

Meteor server crashes if gRPC endpoint is down #28

Closed
scottdonaldau opened this issue Oct 24, 2017 · 2 comments
Closed

Meteor server crashes if gRPC endpoint is down #28

scottdonaldau opened this issue Oct 24, 2017 · 2 comments

Comments

@scottdonaldau
Copy link
Contributor

I20171025-07:57:01.550(11)? Error fetching qrl.proto from localhost:9009
W20171025-07:57:01.552(11)? (STDERR) /Users/scottdonald/repos/qrl/scottdonaldau/qrl-wallet/.meteor/local/build/programs/server/app/app.js:151
W20171025-07:57:01.552(11)? (STDERR)     fs.writeFile(qrlProtoFilePath, res.grpcProto, function (err) {
W20171025-07:57:01.553(11)? (STDERR)                                       ^
W20171025-07:57:01.554(11)? (STDERR)
W20171025-07:57:01.555(11)? (STDERR) TypeError: Cannot read property 'grpcProto' of undefined
W20171025-07:57:01.555(11)? (STDERR)     at Object.callback (imports/startup/server/index.js:49:36)
W20171025-07:57:01.555(11)? (STDERR)     at /Users/scottdonald/repos/qrl/scottdonaldau/qrl-wallet/node_modules/grpc/src/node/src/client.js:557:12
=> Exited with code: 1
=> Meteor server restarted
@scottdonaldau
Copy link
Contributor Author

It also appears timeouts to a node will result in localhost connection attempts, and eventually meteor server failure.

@scottdonaldau
Copy link
Contributor Author

#30 Fixed.

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

No branches or pull requests

1 participant