Cannot logon in web page

  1. 15 years ago

    Hi

    I am trialing out the demo version of FOP2, but the bugger is i cannot log into it. When i go to the log in page put in my details, it just hangs with "connecting to server, attempt number 1".

    If i test the connection with, "/usr/local/fop2/fop2_server --test", i get:
    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!

    Here's my fop2.cfg:
    [general]
    ; AMI definitions
    manager_host=127.0.0.1
    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/operator/fop2

    ; Global Config
    language = en
    poll_interval = 86400
    poll_voicemail = 1

    ;master_key = 5678

    ; USER LIST
    user=702:702:all
    ;user=621:1234:all
    ;user=622:1234:all
    ;user=623:1234all
    ;buttonfile=buttons.cfg

    #exec autoconfig-users-freepbx.sh

    I try to login with username:702 & password being 702, but no luck.

    The service is started:
    [trixbox1.localdomain fop2]# /etc/rc.d/init.d/fop2 start
    Starting Flash Operator Panel 2: [ OK ]

    I know there is something i am probably doing wrong but if you could point me in the right direction it would be a great help.

    Kind Regards

    Steve

  2. I'm guessing that your "#exec autoconfig-users-freepbx.sh" is overwriting your users with the freepbx ones try commenting that line out, restart fop2 and then try login to the panel again

  3. I'm guessing that your "#exec autoconfig-users-freepbx.sh" is overwriting your users with the freepbx ones try commenting that line out, restart fop2 and then try login to the panel again

    I had the same issue.

    I'll try this solution as well.

  4. Let us know how you get on :)

  5. admin

    1 Jul 2009 Administrator

    I have just found out that the latest tarball does not set execute permissions to the auto config user scripts. What happens if you run in the console this?:

    ./autoconfig-users-freepbx.sh

    If you get permission denied, then be sure to give execute permissions:

    chmod a+x /usr/local/fop2/autoconfig-users-freepbx.sh

    and finally restart fop2.

  6. hi there,

    i had the same problem in a new firefox.
    the firefox on my testmachine don't have
    the flash-player installed. problem is no
    error message or hint or something is
    displayed when logging on fop2.

    i don't know i can help.

    @nicolás: is it possible to include a flash-testing
    function before or after login?

    greets
    tobi

  7. admin

    11 Jul 2009 Administrator

    Hi Tobi,

    Thanks for the suggestion. I will see if I can add a flash player check routine and warning, some other users ran into the same issue (having the flash player installed in IE but not Firefox).

    Best regards,

  8. 12 years ago

    Hi All,

    I am also having the same problem.
    I can not login with extension number and voicemail password in my FOP2 setup.

    Below statuses are also seems fine.

    [root@localhost fop2]# /etc/init.d/fop2 restart
    Shutting down Flash Operator Panel 2:                      [  OK  ]
    Starting Flash Operator Panel 2:                           [  OK  ]
    
    [root@localhost fop2]# netstat -pan | grep 4445
    tcp        0      0 0.0.0.0:4445                0.0.0.0:*                   LISTEN      11485/fop2_server

    Also i have flash enabled in my firefox web browser, and flash version is 11.1.102.62 and i can see any flash enabled websites with no problem.

    Can anyone please suggest me a way like why i am not able to login?
    Please let me know what could be wrong.

    Thanks,
    Arpit Modi

  9. admin

    5 Mar 2012 Administrator

    Hi,

    Did you create a fop2 user? If you have fop2admin for freepbx installed, check the fop2 users page and if you do not have created users, add them.

    Are you using FreePBX? Are you using Elastix? Please provide a little more information.

    Best regards,

  10. Hi,

    Thank you very much for your quick response.
    Yes, I have freepbx installed and i also downloaded fop2admin module and installed it.

    I can see the users in "FOP2 Users" menu. But when i am trying to login with that same user, its just showing below things for a while.

    One moment please
    
    loading
    
    Connecting to server, attempt number : 14

    and after 15-16 attemps it says "Could not connect to server"

    Please let me know if you need any other details.

    Thanks,
    Arpit Modi

  11. admin

    6 Mar 2012 Administrator

    Please go here to troubleshoot:

    http://support.asternic.biz/index.php?/ ... tep/View/4

  12. Hi Nicolas,

    Yeah it was iptables which was blocking port 4445, my bad :(
    Thank you very much for your help.
    I really appreciated it. :)

    Thanks,
    Arpit Modi

or Sign Up to reply!