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 Failed to Asterisk (bad auth)

Login Failed to Asterisk (bad auth)

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 1.6k 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.
  • R
    R
    rsarceno
    wrote on last edited by
    #1

    FreePBX 13.0.153
    Asterisk 13.9.1

    New FreePBX install. Installation was smooth except for HTTPS creating self sign. Other than that everything was configured with default setting.

    I install FOP2 and when I did the test /usr/local/fop2/fop2_server --test
    I got an error message:
    Failed to connect to asterisk - localhost:5038
    Error Message: Login Failed to Asterisk (bad auth) at localhost:5038. Check your manager credentials!

    The asterisk manager username is admin but the default password is not amp111. It was automatically populated with 16 character password.

    I modify fop2.cfg and replace the secret with the 16 character password. Still the same error.

    help - What should I do next.

    1 Reply Last reply
    0
    • M
      M
      moses
      wrote on last edited by
      #2

      Hi,

      After u changes secret manager pls run command

      asterisk -rx "manager reload"

      Then restart fop2

      service fop2 restart

      Thanks

      1 Reply Last reply
      0
      • R
        R
        rsarceno
        wrote on last edited by
        #3

        Still the same

        [root@pbx2 ~]# asterisk -rx "manager reload"
        [root@pbx2 ~]# service fop2 restart
        Shutting down Flash Operator Panel 2: [FAILED]
        Starting Flash Operator Panel 2: [ OK ]
        [root@pbx2 ~]# /usr/local/fop2/fop2_server --test
        Flash Operator Panel 2 - License file fop2.lic not found.
        Running in Demo Mode
        Failed to connect to asterisk - localhost:5038
        Error Message: Login Failed to Asterisk (bad auth) at localhost:5038. Check your manager credentials!

        The only place I changed the secret manager is under /usr/src/fop2/server/fop2.cfg
        [general]
        ; AMI definitions
        manager_host=localhost
        manager_port=5038
        manager_user=admin
        manager_secret=0xxxxxxxxxxxxxxxxxxxxxxxxxxxxx5
        ;event_mask=agent,call,command,system,user,dialplan

        1 Reply Last reply
        0
        • R
          R
          rsarceno
          wrote on last edited by
          #4

          I change the password then do asterisk -rx "manager reload"
          Restart fop2 then it works. Thanks

          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