Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. fop2 not connecting

fop2 not connecting

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 678 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    L
    lakely
    wrote on last edited by
    #1

    I have a client with an Elastix 2.4 system running Asterisk 11.11 and FOP2 2.26. There are about 10 users connecting to FOP2. It's been fine since the initial installation. We have never been able to access it via Firebox but Chrome has worked fine. Late last week I could not access the panel from the server I use for access (W2008) from any browser. The other users were fine until today when they could not access the panel from Chrome but found they could use IE. The panel sits at the "Connecting to server - attempt 1. From researching the problem that would seem to indicate a connection problem. I've checked the firewall, which is off.
    Anyone have a thought at would I should look at next?
    Thanks

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Do you have websockets enabled or disabled in /var/www/html/fop2/js/presence.js ? Try changing that and see if the problem goes away. Best regards,

      1 Reply Last reply
      0
      • L
        L
        lakely
        wrote on last edited by
        #3

        They were enabled. I have disabled them and restarted fop2. fop2 is still not connecting.

        1 Reply Last reply
        0
        • L
          L
          lakely
          wrote on last edited by
          #4

          I can get in with Chrome now but not Firefox which is the way it was before. Thanks for the help.

          1 Reply Last reply
          0
          • L
            L
            lakely
            wrote on last edited by
            #5

            My users are reporting things are OK. Any idea what changed to require changing the websockets change?

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              I think the problem is that the latest chrome update does not allow to have a regular websocket connection over a secure http connection. You can have normal and secure http connections withing your browser and web server (http/https). You can also have websockets and secure websockets (ws/wss).

              FOP2 supports secure web sockets since version 2.27 released this year. Version 2.26 does not support it.

              Prevous Chrome versions allowed to use a secure http connection and an insecure websocket connection. The last udpate negates that connection.

              So, you have to either disable websockets for FOP 2.25/2.26 in presence.js, or upgrade FOP2 to version 2.27 and be sure to set the ssl certificates in fop2.cfg.

              Other browsers are not affected by this, except firefox that since its first support for websockets it denied non secure websockets over https, for what you have a workaround via about:config described in this post:

              http://www.fop2.com/blog/firefox-11-websockets-and-fop2

              So, to all users using https to connect to fop2, you should upgrade to FOP 2.27 to avoid issues, or disable websockets in /var/www/html/fop2/js/presence.js

              Best regards,

              1 Reply Last reply
              0
              • L
                L
                lakely
                wrote on last edited by
                #7

                Thanks for the explanation.

                1 Reply Last reply
                0

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups