FOP2 running but cannot login
-
-
-
Ok, I have the opportunity to try Firefox 11, and in fact is a websocket implementation issue. For now, you must disable websockets in fop2 presence.js file to make it work with Firefox 11.
I have already fixed the issue in my fop2 trunk version, so the next Fop2 release will work with websockets in Firefox 11.
Websockets is a moving target, specification changes every week/month, browsers are implementing different versions all the time. If you want to stay current with the latest browser, for now it would be wiser to disable websockets on fop2. If you want to have the latest versiones of everthing, you shuld expect this kind of issues with every browser version release, until the websockets specifications stabilizes and the dust settles a bit.
-
-
The file is cached on browsers, so a change will not take effect until you hard refresh the file or clear the cache. Try shift-reload or ctrl-reload on the fop2 page, or load the file by hand
http://your.server/fop2/js/presence.js
Read it, do you see the change? No? Try shift-reload.. do you see it? Yes, then log back into fop2 with shift-reload.
-
Confirmed on my end, it is now working. here is a screen shot of the edited file..
Screenies..
Edit:
http://img690.imageshack.us/img690/8701/websockets.pngAnd I thought I would show my integration of the link in freepbx

http://img31.imageshack.us/img31/5460/fop22.png -
-
Firefox is a memory hog, and more so with every new release. But still is my preferred platform for developing/debugging web applications.
As an every day browser I personally like Google Chrome better.
But both browsers are riding the websocket rollercoaster now, so you might expect issues with fop2 or any other websocket enabled server.
-
That make life easier for you than huh? lol
Hey, I do have another question. I have 4 trunks within freePBX. FOP2 is only showing 2 of them, all 4 are configured and in use.
1 trunk is for international - FlowRoute (showing)
2 trunks are for Local Long distance - Sipstation (only 1 showing)
1 trunk is a rollover for international - VoipVoip (not showing)Any thoughts on this? FreePBX shows them all there and running, I can use them, just not showing up in FOP2 up until a couple of days ago. Only thing happened is a few updates on freePBX side.
UPDATE NOTICE: There are 8 modules available for online upgrades
core 2.10.0.2 (current: 2.10.0.1)
queues 2.10.0.5 (current: 2.10.0.4)
recordings 3.3.11.7 (current: 3.3.11.6)
bulkextensions 2.10.0.2 (current: 2.10.0.1)
bulkdids 2.10.0.4 (current: 2.10.0.3)
backup 2.10.0.22 (current: 2.10.0.20)
framework 2.10.0.2 (current: 2.10.0.1)
findmefollow 2.10.0.6 (current: 2.10.0.5) -
-
-
-
Same problem immediately after upgrading to 11.0 Firefox.
Solution was:
Change disablewebsocket to true
restart fop2 ( "service fop2 restart" from your # prompt on linux asterisk box )
****and you must reload the fop2 via the "shift reload" in your Firefox browser as
described by Nicolas in these posts. Otherwise you get the same problem.
The stored fop2 code in the cache will not load.Thank you Nicolas.
Gene -
-
Nicolas,
I update to version 2.26 now and had the same problem in firefox 11.
Only disabling websocket it worked. -
-
-
I've cleared cache and restarted the server and continued the same problem in firefox11 ....
only when it is disabled the webSocket in presence.js file that works in firefox11. -
-
/usr/local/fop2/fop2_server -v
fop2_server version 2.26
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login