-
Notifications
You must be signed in to change notification settings - Fork 54
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
[BUG] Call is not ended after page refresh #118
Comments
Hi @ostap0207 , do you see the same 15-20s delay when you perform the same steps on other browsers (Chrome, Safari)? |
Only see it in Firefox |
@ostap0207 thanks. window.addEventListener('unload', () => console.log('on unload')); What this does is, we will know if our cleanup routine is being executed on the client, or if it's a server issue. |
Here are the full Twilio logs (this is from default Twilio quickstart app):
I can see We did some more testing with different Twilio versions and found So it looks like some changes between 2.0.1 and 2.1.0 have started causing this issue. |
After some more testing we found that issue doesn't exist in 2.1.0-rc1, but exists in 2.1.0-rc2 2.1.0-rc1...2.1.0-rc2 |
Thanks @ostap0207 for the additional information. This definitely helps. As you mentioned, the call shows as ended after around 15-20s. How long does it take on Chrome? |
On Chrome (and on 2.0.1 in FF) the call is immediately marked as completed as soon as the page is reloaded, as expected. |
Are there any estimates of when this issue can be fixed? |
Hi @ostap0207 . What is your use case that requires you to see the call ended in less than 15s on console? |
I can see several issues:
We also have a specific use case where after refresh we need to immediately establish another call for the same user, but because the call is not marked as ended for the user and internal constraints that the user can only have one call at a time then this functionality fails. |
@ostap0207 thanks for providing more context. It'll help us prioritize the issue. As a workaround for now, can you try listening to beforeunload event and call |
Thanks! |
Thanks @ostap0207 . I'll create an internal ticket to investigate this further. |
Hello, any updates on this and when can this be fixed? |
Hi @ostap0207 thanks for the ping! This is under the radar but no updates on ETA yet. |
Hi @charliesantos! Are there any updates on this? |
Hi @oskarkook . Thanks for the ping. Apologies for the delay but we don't have any updates yet on this. |
Happens on other browsers as well #210 |
Hi @charliesantos! Any updates on this? Thanks! |
Hey everyone, are you all passing any value to maxCallSignalingTimeoutMs |
Hey, we are not using specifying maxCallSignalingTimeoutMs |
We've found out that this issue started happening since the introduction of signaling reconnection feature. The backend is waiting on the client to reconnect by default. The problem is that the backend is currently not respecting the value provided via maxCallSignalingTimeoutMs parameter. We will update this behavior and keep you posted. |
We are also not using |
Fixed in 2.10.2 which will get released soon. |
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Code to reproduce the issue:
Expected behavior:
The call is marked as ended in Twilio console
Actual behavior:
The call is not marked as ended in Twilio console
The call only is marked as ended after 15 - 20 seconds
Software versions:
The text was updated successfully, but these errors were encountered: