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

Retry upload if error #317

Open
ddfridley opened this issue Jun 19, 2021 · 0 comments
Open

Retry upload if error #317

ddfridley opened this issue Jun 19, 2021 · 0 comments
Labels
Javascript Javascript

Comments

@ddfridley
Copy link
Contributor

ddfridley commented Jun 19, 2021

If in the user trys to post their video, but there is a communications error
like:

[1] [2021-06-19T12:44:22.317] [ERROR] browser - 2021-06-19T19:42:15.096Z createParticipant.upload socket stream error: {} {
[1]   socketId: 'MEL8_DBoZPmM82NuAAAy',
[1]   userId: '5d5b74751e3b194174cd9b94'
[1] }
[1] [2021-06-19T12:44:22.317] [ERROR] browser - 2021-06-19T19:42:15.097Z createParticipant.upload blob stream error: {} {
[1]   socketId: 'MEL8_DBoZPmM82NuAAAy',
[1]   userId: '5d5b74751e3b194174cd9b94'
[1] }

detect this and either upload again, or give the user the option to upload again.

You can simulate a failure by going into the chrome debugger, after you have recorded a video (/candidate-conversation-candidate-recorder) but before you hit post. In the debugger, go to the Network tab, And the drop down that says "No throttling" and change it to Slow 3G. Then hit the Post button. Then go back to the drop down and change it to "offline". Then wait for a minute or two, and you will see the errors appear.

@ddfridley ddfridley added the Javascript Javascript label Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Javascript Javascript
Projects
None yet
Development

No branches or pull requests

1 participant