Firefox is not working

viorel

New Member
Hello, today I have integrated your solution, but the problem I have is that in Firefox is not working to start a stream (page Media Devices). It give me FAILED, on the other hand in Chrome is working fine.
I have debugged in Firefox and see below the bug track.
...
Firefox can't establish a connection to the server at wss://139.59.156.108:8443/7a6c5f3f. flashphoner.js:25495:23
Please advise how I fix that!

Thank you
 

Attachments

viorel

New Member
Hello Max, I have sent you in private mode a message in order to test it directly on my server.
Thanks,

Viorel
 

Max

Administrator
Staff member
Your server works too.
Please read my message above:
Try Two Way Streaming example.
If you have connection FAILED, try to perform SSL check as described here: open page https://host:8443 and allow certificates then try to test again.
Did you do that?
Here is how it looks in Firefox:
1. You connection is not secure. Press Advanced.
firefox-websocket-ssl1.jpg

2. You connection is not secure. Press Add Exception.
ff-websicket-ssl2.jpg
3. Press Confirm Security Exception
ff-websicket-ssl3.jpg
4. Finally you will get the failed page. It is ok. Now SSL certificate is imported into your browser.
ff-websicket-ssl4.jpg
In production you will need to import valid SSL certificates to avoid this procedure.
 

viorel

New Member
I have followed the same procedure as you have mention. Now the strange thing is that I have two computers where I have done the same procedure. One computer works with firefox, the other does not working.
From the computer who doesn't work I also have test your link https://wcs5-eu.flashphoner.com/demo2/media-devices and here is working, so I belive the problem is that I'm using the latest version v. 0.5.14.1977 - 5.0.2072 and your is v. 0.5.14.1977 - 5.0.2065
So, my question is , where do I find v. 0.5.14.1977 - 5.0.2065 to avoid firefox problem.
Thank you!
 

Eugene

New Member
Hi.
I've installed flashphoner server on my external hosting flashphoner.nfnest.com and then i've followed by link https://flashphoner.nfnest.com:8443 and successfully accepted SSL certificate (i've tried do that with all my browsers: Chrome, Firefox and Safari and always had the same result - it didn't work).
By the time an admin page works fine (https://flashphoner.nfnest.com:8888).
I've attached the screen of issues with WSS connections.
Also i've looked in a server's log file and watched some errors during the connection establishing:

', remoteMediaElementId='null', hasVideo='true', hasAudio='true'}Context{custom={}, nodeId='null', appKey='defaultApp', sessionId='/***.***.***.***:54897/***.***.***.***:8443'}
11:46:13,060 INFO ManagerApiConnection - WSS-pool-8-thread-1 Config for method StreamStatusEvent not found, using defaults
11:46:13,092 ERROR MediaHandler - WSS-pool-8-thread-1 playStream actualSession not ready, session name 7c5f
11:49:02,599 INFO WSClient - WSS-pool-8-thread-1 Close connection for channel [id: 0x56c4c5fd, /***.***.***.***:54897 => /***.***.***.***:8443] with status code: 1000
11:49:02,599 INFO WCS4Handler - WSS-pool-8-thread-1 Disconnect client: com.flashphoner.server.client.MediaWCSClient@4024e386
11:49:02,600 INFO WCS4Handler - WSS-pool-8-thread-1

Could you help me with this problem?
May be i do something wrong)
 

Attachments

Last edited:

Max

Administrator
Staff member
Please share your settings:
Code:
/usr/local/FlashphonerWebCallServer/conf/flashphoner.properties
and
Code:
ifconfig
Make sure your ip= and ip_local= settings are configured properly.
 

Eugene

New Member
There's my /usr/local/FlashphonerWebCallServer/conf/flashphoner.properties config
Code:
ip                     =52.9.245.236
ip_local               =127.0.0.1
port_from              =30000
port_to                =31000
media_port_from        =31001
media_port_to          =32000
waiting_answer         =60
user_agent             =Flashphoner/1.0
and ifconfig command result:
Code:
eth0      Link encap:Ethernet  HWaddr 02:F8:83:68:53:30
          inet addr:172.31.100.26  Bcast:172.31.100.255  Mask:255.255.255.0
          inet6 addr: fe80::f8:83ff:fe68:5330/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:9001  Metric:1
          RX packets:198440 errors:0 dropped:0 overruns:0 frame:0
          TX packets:190225 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23740181 (22.6 MiB)  TX bytes:89910776 (85.7 MiB)
          Interrupt:161

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:532434 errors:0 dropped:0 overruns:0 frame:0
          TX packets:532434 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:115940392 (110.5 MiB)  TX bytes:115940392 (110.5 MiB)
 

Max

Administrator
Staff member
Error cause should be displayed in
Code:
tail -f /usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log
Please share this log too.
As IP local, try to set your local address
Code:
ip_local=172.31.100.26
This setting requires server restart
Code:
service webcallserver restart
 

Eugene

New Member
Yeah)
You are right.
It suggestion is a medicine and all became working ideally)
Thanx Max for your help it was very professional
 
Top