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

Socket - rejectAfterPromiseResolved #190

Open
robinmaree opened this issue Apr 5, 2024 · 1 comment
Open

Socket - rejectAfterPromiseResolved #190

robinmaree opened this issue Apr 5, 2024 · 1 comment

Comments

@robinmaree
Copy link
Contributor

It seems like this timeout is never cleared/cancelled, it's executed for every socket message being send. This is resulting in a rejectAfterPromiseResolved error because the promise is already resolved/rejected somewhere.

Timeout:

reject("The socket timed out while waiting for a response.")

Where it's resolved/rejected (not confirmed):

executor.reject(<SocketError>message.error);

Not sure what the best fix is yet, but can investigate more if needed.

@lugehorsam
Copy link
Contributor

Hey @robinmaree we'd definitely appreciate any contributions!

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