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. Multi server

Multi server

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 61 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.
  • T
    T
    taphawane
    wrote on last edited by
    #1

    Hi everyone,

    I have fop2, installed in of my server, I have another remote server (not locally), My FOP2 is working great wiht my main server, I am trying to and the remote server but, not working for me, if I run fop2_server --test, I have "connecting manager ok", which my 2 servers connections.

    Here is what I have in fop2.cfg file

    "
    ;Main_Server definition
    manager_host=main_server_ip
    manager_port=5038
    manager_user=main_server_manager_user
    manager_secret=main_server_manager_secret

    ;Server02 definition
    manager_host=server02_domain_host
    manager_port=5038
    manager_user=server02_manager_user
    manager_secret=server02_manager_secret
    "

    then when I logins to my flash I get "manager connection problem" error

    Can you please help..

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

      Run fop2_server in debug mode to see the actual manager connections and look for errors there:

      service fop2 stop
      cd /usr/local/fop2
      ./fop2_server -X 3
      

      If you see that warning, is because one of your connections is failing.

      1 Reply Last reply
      0
      • T
        T
        taphawane
        wrote on last edited by
        #3

        Thanks for the reply

        Here is what I have after the debug.

        Cannot send command to IO::Socket::INET=GLOB(0x115d9cf0) (unauthenticated or connection failed)
        Cannot send command to IO::Socket::INET=GLOB(0x115d9cf0) (unauthenticated or connection failed)

        Cannot send command to (unauthenticated or connection failed)
        Cannot send command to (unauthenticated or connection failed)

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

          As you see there is a connection problem, probably to your 2nd/remote asterisk ami, be sure you allow connections from remote ips. Test the connection by telnetting to port 5038 on the remote server.

          1 Reply Last reply
          0
          • F
            F
            furinfo
            wrote on last edited by
            #5

            I'm facing the same problem here:
            "Cannot send command to IO::Socket::INET=GLOB(0x148ae5d0) (unauthenticated or connection failed)"

            But I can login to the remote server from the box where I'm running FOP2:

            Trying 50.XXX.XXX.29...
            Connected to rrcs-50-XXX-XXX-29.sw.biz.rr.com (50.XXX.XXX.29).
            Escape character is '^]'.
            Asterisk Call Manager/1.1

            Username and password on the remote server are correct and have been put in the .cfg file:
            ; Dallas
            manager_host=50.XXX.XXX.29
            manager_port=5038
            manager_user=admin
            manager_secret=blablabla

            What else I have to check ?

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

              Start fop2_server in debug mode and look at the actual connection between the fop2 server and all of your manager_hosts:

              service fop2 stop
              cd /usr/local/fop2
              script capture.log
              ./fop2_server -X 3
              

              After things settle down, stop capturing:

              ctrl-C
              exit
              service fop2 start
              

              You will have a capture.log file to review, with the actual connection and authorization attempts and their replies.

              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