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

Connection to Interval closed (code 1006) issue #9

Open
nisalp opened this issue Feb 28, 2024 · 1 comment
Open

Connection to Interval closed (code 1006) issue #9

nisalp opened this issue Feb 28, 2024 · 1 comment

Comments

@nisalp
Copy link

nisalp commented Feb 28, 2024

I'm having trouble setting up Interval locally. I'm having trouble collecting to the Websocket server. I've attached the logs from my application and the interval instance here.

Screenshot 2024-02-28 at 16 19 38 Screenshot 2024-02-28 at 16 19 28 Screenshot 2024-02-28 at 16 21 51
@OzzieOrca
Copy link
Contributor

The endpoint is /websocket, not /websockets but maybe that's only a typo in Postman. Also I noticed that changing the port with the APP_URL only works for the API, not the web interface but that should be fine for how you're connecting. Do you have the full interval URL you're trying to connect to? And the logs for the interval server startup?

With APP_URL=localhost:3000, my logs are:

info:   📡 Internal WSS API Server listening at localhost:3000
info:   📡 Interval Server listening at http://localhost:3000

From that my endpoint value for the interval client is 'ws://localhost:3000/websocket'.

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