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. Problems to login in the FOP2 web interface

Problems to login in the FOP2 web interface

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 314 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.
  • A
    A
    alexbogus
    wrote on last edited by
    #1

    Hi all

    Recently I installed Fop2 in a x64 Debian Server to test the software.
    The machine has the Asterisk 1.4.24-RSP version without FreePBX:

    Asterisk 1.4.24-RSP (Community supported branch)
    

    .

    The output of the test command is normal:

    [root@asterisk1:fop2] /usr/local/fop2/fop2_server --test
    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!
    

    But when I access to the Web interface "http://xxx.xxx.xxx.xxx/fop2" and I put my credentials the web shows the error "Could not connect to server".

    I have a debug output of the actual running config:

    Flash Operator Panel 2 - No valid license found. Demo Mode
    
    ** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
    ** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
    
    127.0.0.1       -> Action: Challenge
    127.0.0.1       -> AuthType: MD5
    
    127.0.0.1       <- Asterisk Call Manager/1.0
    127.0.0.1       <- Response: Success
    127.0.0.1       <- Challenge: 299959954
    127.0.0.1       <- Server: 0
    
    127.0.0.1       -> Action: Login
    127.0.0.1       -> Username: adminfop2
    127.0.0.1       -> AuthType: MD5
    127.0.0.1       -> Key: xxxxxxxxxxxxxxxxxxxxxx
    
    127.0.0.1       <- Response: Success
    127.0.0.1       <- Message: Authentication accepted
    127.0.0.1       <- Server: 0
    
    

    Can anyone help me?
    Thanks a lot
    Best Regards

    Alex Casanova (EA5HJX)
    http://www.bicubik.net

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

      Hi,

      Check that fop2 server is running:

      pgrep fop2
      

      If the above does not return anything, you won't be able to connect.. that can happen if the service is not started, or if you have the old fop(1) binding to port 4445.. that will prevent fop2 from working (service will start, but it will die shortly after). In that case, stop fop1 and then start fop2

      /usr/sbin/amportal stop_fop
      service fop2 start
      

      To disable fop1 permanently you can edit /etc/amportal.conf and set FOPRUN=false

      Finally, remember that FOP2 uses port TCP/4445 between the web client and server, if that port is filtered/not opened/not redirected, you won't be able to connect. Be sure you have a clear path between your desktop machine and the server port 4445.

      Best regards,

      1 Reply Last reply
      0
      • A
        A
        alexbogus
        wrote on last edited by
        #3

        Thanks for answer me
        I don´t use FreePBX and I can see the FOP2 process running.

        Remember that FOP2 uses port TCP/4445 between the web client and server, if that port is filtered/not opened/not redirected, you won't be able to connect. Be sure you have a clear patch between your desktop machine and the server port 4445.

        Maybe this is the problem, between the Asterisk server and the desktop machine there is a Firewall.
        I will take a look the firewall rules to grant the connection between Asterisk server and Desktop Machine.

        Thanks a lot
        Best Regards

        Alex Casanova (EA5HJX)
        http://www.bicubik.net

        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