-
Notifications
You must be signed in to change notification settings - Fork 32
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
An Error occurred while connecting to the websocket. #7
Comments
hi @symbiose1 |
Hi, no, i use a self-sign. Is it the problem ? De : Taras Chornyi [mailto:notifications@github.com] hi @symbiose1 https://github.com/symbiose1 — |
@symbiose1 |
When i try to access at https://:8089/ws https://:8089/ws its doesnt work. I will try with letsencrypt. De : Taras Chornyi [mailto:notifications@github.com] @symbiose1 https://github.com/symbiose1 It might be. — |
is port 8089 open? when accessing https://dial1.sym-it.ca:8089/ws using browser you should get something like this: can you execute following command on your server?
this will show what ports asterisk is currently listening |
Free community-based ViciDial Support is available
i dont see the port 8089 |
Please check your asterisk configuration |
What do you mean by not working? Can you please share a screenshot. Завантажити Outlook для Androidhttps://aka.ms/ghei36 On Tue, Nov 22, 2016 at 11:29 PM +0200, "symbiose1" <notifications@github.commailto:notifications@github.com> wrote: hi, You are receiving this because you commented. |
Hi Taras,
|
What do you see when accessing https://server_ip:8089/ws ? Завантажити Outlook для Androidhttps://aka.ms/ghei36 On Tue, Nov 22, 2016 at 11:45 PM +0200, "symbiose1" <notifications@github.commailto:notifications@github.com> wrote: You are receiving this because you commented. |
Use command " yast firewall " to configure suse firewall ??????????? Outlook https://aka.ms/ghei36 ???https://aka.ms/ghei36 Androidhttps://aka.ms/ghei36 ???: symbiose1 Oh, i have find. now You are receiving this because you commented. |
Now webphone should work Завантажити Outlook для Androidhttps://aka.ms/ghei36 On Tue, Nov 22, 2016 at 11:53 PM +0200, "symbiose1" <notifications@github.commailto:notifications@github.com> wrote: Oh, i have find. now You are receiving this because you commented. |
Now, the phone is ready but i dont receive the connect call, "you are now the only one at the conference" i have try to make a manual dial and i have no sound... |
So you don't receive incoming call after pressing "Call Agent Webphone"? Завантажити Outlook для Androidhttps://aka.ms/ghei36 On Wed, Nov 23, 2016 at 12:03 AM +0200, "symbiose1" <notifications@github.commailto:notifications@github.com> wrote: Now, the phone is ready but i dont receive the connect call, "you are now the only one at the conference" i have try to make a manual dial and i have no sound... You are receiving this because you commented. |
no ... |
Please check the sip peer status in asterisk. asterisk -r On Wed, Nov 23, 2016 at 12:18 AM +0200, "symbiose1" <notifications@github.commailto:notifications@github.com> wrote: no ... You are receiving this because you commented. |
Is your server behind NAT? On Wed, Nov 23, 2016 at 12:23 AM +0200, "symbiose1" <notifications@github.commailto:notifications@github.com> wrote: You are receiving this because you commented. |
Don't forget to start firewall. :) |
Yes, it is behind nat.
|
plase enable sip debug Also I advise you to check your Vicidial installation using softphone(Linphon, Xlite ets). |
looks like something wrong with asterisk ssl configuration. |
You are now added, thank you very much !
De : Taras Chornyi [mailto:notifications@github.com]
Envoyé : 24 novembre 2016 10:11
À : chornyitaras/PBXWebPhone <PBXWebPhone@noreply.github.com>
Cc : symbiose1 <c.crevier@symbioseccc.com>; Mention <mention@noreply.github.com>
Objet : Re: [chornyitaras/PBXWebPhone] An Error occurred while connecting to the websocket. (#7)
looks like something wrong with asterisk ssl configuration.
please add me @ Skype tarasucho. So we can have live debug session
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#7 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AWZkhN_tIugzjxqj5j4zYdVH2FUNCDKdks5rBakdgaJpZM4KzGMN> . <https://github.com/notifications/beacon/AWZkhAsyEupk2IGovflgFbQoNrsV195gks5rBakdgaJpZM4KzGMN.gif>
|
sorry wrong skype name(( correct one: tarasukcho |
I see that this issue has been resolved and i am having the same issues. How was the asterisk ssl issue resolved? |
port 8089 was closed, and incorrect certificate configuration |
Thanks, I think my ports are all ok. Firewall is on but disabled. I am behind a NAT and that has all the ports configured. I did make a letsencrypt cert and used that for both the apache2 and http.conf settings, but if i am seeing this right the http.conf may need to use asterisk ssl certificate is that correct? |
You need to use same certificate for Apache and asterisk. Make sure that asterisk is listening 8090 port. netstat -tulpan | grep 8089 Please execute this command on your server. Then please open in browser https://asterisk_server_domain_name:8089 |
Thanks for getting back to me i tried what you said and the results did come up with port 8089 but it didn't look right. I also went to the website and it didn't come up with a verified cert. I have this on a test vm that i am using to verify the installation and troubleshooting of this before i bring it out to a production machine. At this time i reverted the settings back to before I put anything into the machine and will begin again. Shouldn't take me to long to recreate the dialer with the setting back in it. and i will test them out without any addition settings and see what i get at that time. |
i executed the netstat -tulpan | grep 8089 and came back with this. tcp 0 0 192.168.5.94:8089 0.0.0.0:* LISTEN 3410/a OK i am now at this when going to https://asterisk_server_domain_name:8089 , and yes i did input my url name in place of asterisk_server_domain_name :) Not Found The requested URL was not found on this server. |
That's actually good results. This mean that you can connect to asterisk HTTP server. |
At this time with wss://asterisk_domain_name:8089/ws i am running into two issues. 1st on is : 2nd issue is Disconnecting call for lack of RTP activity in 61 seconds |
looks like NAT related issue. |
That worked!!!! Thank you. It looks like i will need to look further into the UDP port. hmm strange. I am getting a strange error that i haven't seen before after i put the stunaddr in there. This action happens when i make a call. Do you have any ideas what this could be from ? res_srtp.c:415 ast_srtp_unprotect: SRTP unprotect failed with: authentication failure 10 |
And i am still receiving this error also. tcptls.c:397 tcptls_stream_close: SSL_shutdown() failed: 5 |
Those errors are expected |
Again Thank you for all your help. |
Hi, i have follow your guide and i have an issue..
The phone open but i have this error: An Error occurred while connecting to the websocket.
I have properly make the config in asterisk. The port is open..
Do you have an idea ? can you help me with that ?
thanks
The text was updated successfully, but these errors were encountered: