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

Any way to stop requests on connection close? #24

Closed
PaintingWithCode opened this issue Jul 19, 2018 · 3 comments
Closed

Any way to stop requests on connection close? #24

PaintingWithCode opened this issue Jul 19, 2018 · 3 comments

Comments

@PaintingWithCode
Copy link

Hi, we're using sockets as our transport layer to connect to our Absinthe Schema on the server. We have an authentication module setup where if valid tokens aren't passed in to the socket params we deny the connection and attempt to close by returning an :error in the Phoenix Socket connect function.

The client acknowledges this error and does log a connection: closed error but this does not stop AbsintheSocket from retrying the failed query or mutation endlessly without time outs.

Is there any way to force stop the module or abort the requests?

@mgtitimoli
Copy link
Member

Hey there!

I've just released v0.2.0 and I certainly believe this should not be happening right now, if it does, just reopen the issue and I will figure out what's going on.

Thanks!

@gorkunov
Copy link

seems it still there

@tansanDOTeth
Copy link

This seems to still be an issue

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

4 participants