Problems to login in the FOP2 web interface
-
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: 0Can anyone help me?
Thanks a lot
Best RegardsAlex Casanova (EA5HJX)
http://www.bicubik.net -
Hi,
Check that fop2 server is running:
pgrep fop2If 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 startTo 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,
-
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 RegardsAlex Casanova (EA5HJX)
http://www.bicubik.net
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