Install Asterisk-15 with SFU failed

Hello:
I tried to follow the link: http://blogs.asterisk.org/2017/09/20/asterisk-15-multi-stream-media-sfu/ for the video settings. the port 8088 and 8089 are up and active, the SSL cert are created without any problem.

but when I use browser to access the address : http://ippbx address:8089/ws, the system CLI show the SSl error:

[Dec 26 21:22:06] ERROR[1266]: iostream.c:507 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Dec 26 21:22:06] ERROR[1266]: iostream.c:602 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Dec 26 21:22:06] ERROR[1266]: iostream.c:507 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
localhost*CLI> [Dec 26 21:22:06] ERROR[1267]: iostream.c:602 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Dec 26 21:22:06] ERROR[1267]: iostream.c:507 ast_iostream_close: S

Any suggestion?
thanks!

You have not used an https address.

The address would be https://address:8089/ - note the ‘https’ in front. Since you were using ‘http’ it would try to connect as non-HTTPS and present the error you saw.

thanks, I will try and tell you later.

Hello:
After test by access https://ip:8089, the broswer shows:

The requested URL was not found on this server.

when I access Cyber phone with the https://192.168.1.6:8089, only show connect button, the call button never work.
when i access : https://192.168.1.6:8089/httpstatus, it shows:

Asterisk™ HTTP Status

Server Asterisk
Prefix
Bind Address 0.0.0.0
Bind Port 8088
SSL Bind Port 8089
Asterisk and Digium are registered trademarks of Digium, Inc.

when I use broswer to access : https://192.168.1.6:8089/ws
--------------------------------------shows errors-------------------------------
Upgrade Required


CLI shows erros:
*CLI> [Jan 3 03:06:19] WARNING[1596]: res_http_websocket.c:773 __ast_websocket_uri_cb: WebSocket connection from ‘192.168.1.86:56514’ could not be accepted - did not request WebSocket

anyone has any suggestion?

thanks!

What EXACTLY are you doing and using? Are you following the blog post?

Your Asterisk is correctly set up for HTTPS but you aren’t accessing things correctly.

hello:
sorry for the confusion. Yes, I follow the http://blogs.asterisk.org/2017/09/20/asterisk-15-multi-stream-media-sfu/ to test video call with Cyber phone. A little difference is your browser accessing the local host URL, I use browser index.html from my remote pc.
when i enter the IP address https://IP:8089 by Cyber phone and click the Connect, but there is no any error or logs out from CLI. So, I try to access by many ways to verify that which confused you.

Do I need to copy Cyber phone code to asterisk? yes, which directory should I put it into?

thanks!

What exactly are you entering and where? The hostname would be the IP only. You don’t have to connect it to Asterisk, you just have to configure it correctly. I’ll also add that WebRTC is not something that generally “just works”. If you plan on deploying it at all you will need to learn it in greater detail and understand what is going on.

ok. I try to follow this step, enter the localhost:


how can i save Cyber phone index.html? from remote computer or asterisk server?

You need to click the “Account” button and change the details if you are connecting to a remote server. By default it is set to go to localhost. The index.html file does not need to be on localhost but the blog post was written that way to make it easiest and with the assumption that Asterisk was running locally so things “just worked”.