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

OBS Crashes on Incorrect URL and on Janus Restart #31

Closed
ruddell opened this issue Jul 15, 2018 · 2 comments
Closed

OBS Crashes on Incorrect URL and on Janus Restart #31

ruddell opened this issue Jul 15, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@ruddell
Copy link

ruddell commented Jul 15, 2018

If you enter an incorrect wss:// URL, OBS crashes instead of showing an error message stating it can't connect. It also crashes during streaming if the Janus server crashes or restarts. I tried to find where to catch the errors but didn't have any luck.

Tested on a Mac with latest master 51c0aa3

Stacktrace on invalid URL:

info: janus_stream_defaults
info: janus_stream_create
warning: Output 'adv_stream': Tried to set a delay value on a non-encoded output
info: janus_stream_start
info: -connecting to [url:wss://test.com,room:1234,username:,password:]
[2018-07-09 14:23:48] [info] asio async_connect error: asio.system:61 (Connection refused)
[2018-07-09 14:23:48] [info] Error getting remote endpoint: asio.system:22 (Invalid argument)
[2018-07-09 14:23:48] [fail] WebSocket Connection Unknown - "" / 0 websocketpp.transport.asio:3 Underlying Transport Error
[2018-07-09 14:23:48] [error] handle_connect error: Underlying Transport Error
[2018-07-09 14:23:48] [info] asio async_shutdown error: asio.ssl:336462100 (uninitialized)
[1]    95100 illegal hardware instruction  ./obs

Stacktrace on Janus restart during stream:

[2018-07-15 01:46:02] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[1]    13868 illegal hardware instruction  ./obs
@agouaillard-cosmo
Copy link
Contributor

agouaillard-cosmo commented Dec 10, 2018 via email

@Ben-cos
Copy link
Contributor

Ben-cos commented Dec 10, 2018

Fixed on commit 5e2ae36

@agouaillard-cosmo agouaillard-cosmo removed this from Done in Janus Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants