-
Hi, I'm hosting a NATS-Server in the cloud. When I try to connect from my PC everything works out fine. When I try to connect from the customers machine I get an error. When I trace the source of the error it seems like the socket connection cannot be established. I suspect that the corporate proxy is getting in the way. When I go and script a vanilla Socket-Connection I am able to connect the socket to said NATS-Server. But only if I send an HTTP CONNECT with correct credentials to the corp proxy first. Is there a built in way to do this, or the possibility to provide a Socket "manually"? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You should be able to use WebSockets I'd imagine. As for authentication, would PR #605 solves the issue do you think? maybe you can try that branch if possible. btw, I'd be interested to see your socket code with http connect. just curious. thanks. edit: cc @wolfman42 @caleblloyd |
Beta Was this translation helpful? Give feedback.
-
fyi there is also this |
Beta Was this translation helpful? Give feedback.
You should be able to use WebSockets I'd imagine. As for authentication, would PR #605 solves the issue do you think? maybe you can try that branch if possible.
btw, I'd be interested to see your socket code with http connect. just curious. thanks.
edit: cc @wolfman42 @caleblloyd