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. Login Problems - Unable to connect to server

Login Problems - Unable to connect to server

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 274 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.
  • J
    J
    jf_archer
    wrote on last edited by
    #1

    Hi guys,

    Just been trying to test fop2 but seem to be having no joy.
    Installed it via the centos tarball, running the make install.

    modified the fop2.cfg to fit around my setup

    [general]
    ; AMI definitions
    manager_host=localhost
    manager_port=5038
    manager_user=admin
    manager_secret=amp111
    ;event_mask=call,agent
    
    ; Daemon definitios
    ;listen_port      = 4445
    ;restrict_host    = www.asternic.org
    web_dir          = /var/www/html/fop2
    
    ; Global Config
    language           = en
    poll_interval      = 86400
    poll_voicemail     = 1
    
    ; Display IP Address as tooltips for SIP peers
    monitor_ipaddress  = 0
    
    ; Force blind transfer on asterisk 1.6
    blind_transfer     = 0
    
    
    master_key = 5678
    
    
    ; USER LIST
    ;user=620:1234:all
    ;user=621:1234:all
    ;user=622:1234:all
    ;user=623:1234all
    ;buttonfile=buttons.cfg
    
    user=1014:12345:all
    buttonfile=autobuttons.cfg
    

    The fop2_server --test seems to output correctly

    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!
    

    and service fop2 status says its running ok,
    ps -ef|grep fop shows it running fine

    I've modified the init script to turn up the debug and monitored the output log file

    I get the logon screen and upon attempting to login as 1014 i get "Connecting to server, attempt number : 1" right up to 10 then it fails.

    any ideas?

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

      Hello,

      First of all, if you are using the default 4445 port for FOP2 (by previously changing or disabling FOP1 is you were running it), then the web_dir parameter is optional, and you might want to comment it out. (The web_dir is only needed if you run FOP2 on a non standard port)

      Now, you have a problem connecting from your web client to port 4445 on FOP2 server. Are you still running FOP1? If so, did you disable FOP1 or changed its port to something else than 4445? Finally, is port 4445 open in your machine or firewall?

      If FOP2 clients connects to port 4445 on FOP1 server, it won't be able to connect and will sit there forever. If FOP2 client cannot establish a connection to port 4445, it will try to reconnect 10 times.

      One last word, after the tcp path is clear, you might face authentication issues. Be sure to add a button with the extension 1014 in your autobuttons.cfg file or you might run into issues. And if you are doing a complete manual setup, comment the #exec line with a semi-colon.

      Best regards,

      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