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

Unused NO_PROXY env var for StreamCast #11484

Open
magicbelette opened this issue Jul 17, 2018 · 4 comments
Open

Unused NO_PROXY env var for StreamCast #11484

magicbelette opened this issue Jul 17, 2018 · 4 comments

Comments

@magicbelette
Copy link
Contributor

Description:

I'd set up HTTP_PROXY and HTTPS_PROXY to access some internet services but it seems that StreamCast process also uses those variables.

Exporting NO_PROXY=localhost doesn't help even if it's now implemented by request :
https://www.npmjs.com/package/request#proxies

Server Setup Information:

  • Version of Rocket.Chat Server: 0.66.3
  • Operating System: Debian
  • Deployment Method: tar
  • Number of Running Instances: 7
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 8.9.4
  • MongoDB Version: 3.2.12

Relevant logs:

Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: #033[34mStreamBroadcast ➔ Connection.info#033[39m connecting in localhost:3002
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: createConnection [ { host: 'myproxy.local', port: '3128' },
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: [Function: onConnect],
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: [Symbol(normalizedArgs)]: true ]
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: pipe false undefined
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: connect: find host myproxy.local
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: connect: dns options { family: undefined, hints: 32 }
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: _read
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: _read wait for connection
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: emit close
Jul 17 18:32:47 vm-m2-rocket-01 nodejs-rocketchat0[12487]: NET 12487: emit close
@magicbelette
Copy link
Contributor Author

All my instances are on the same server, listening on different port.

I tried to set INSTANCE_IP to the external IP of the server but StreamBroadcast still uses localhost.

All my instances are waiting for each other but messages seems to be correctly delivered to different instances :
capture d ecran_2018-07-18_08-48-03

Can someone enlighten me please ?

@magicbelette
Copy link
Contributor Author

It's a Meteor problem, see meteor/meteor-feature-requests#314

@dbluxo
Copy link

dbluxo commented Oct 17, 2018

+1

@ankar84
Copy link

ankar84 commented Nov 26, 2019

Any updates?

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

3 participants