Cannont Connect :(

Hey,

I too are having issues;

I'm using a 64bit install of Elastix and have followed the Elastix install notes.

I Installed File;

fop2-001-amd64-glibc2.5-centos5.tgz

I have changed the port of FOP1 to 4446
I have run the post install test script (/usr/local/fop2/fop2_server --test) and get the following response;

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


I have manually run the auto config and get the following;

[root@voip fop2]# ./autoconfig-users-freepbx.sh
user=3000:3000:all
user=3050:3050:all
user=3060:3969:all
user=3070:3070:all
user=3080:3080:all
user=3010:3010:all
buttonfile=autobuttons.cfg

The button file also looks ok, list all the trunks and extensions no problem.


More Tests:

[root@voip fop2]# pgrep fop2_server
4249


[root@voip fop2]# netstat -nta
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5038 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:4559 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:786 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:4446 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:34901 127.0.0.1:5038 ESTABLISHED
tcp 0 0 127.0.0.1:5038 127.0.0.1:33595 ESTABLISHED
tcp 0 0 127.0.0.1:33595 127.0.0.1:5038 ESTABLISHED
tcp 0 0 127.0.0.1:5038 127.0.0.1:34901 ESTABLISHED
tcp 0 0 192.168.20.20:4446 10.100.100.5:29926 ESTABLISHED
tcp 0 0 :::993 :::* LISTEN
tcp 0 0 :::995 :::* LISTEN
tcp 0 0 :::110 :::* LISTEN
tcp 0 0 :::143 :::* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::2000 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
tcp 0 0 ::ffff:192.168.20.20:22 ::ffff:10.100.100.5:23707 ESTABLISHED
tcp 0 396 ::ffff:192.168.20.20:22 ::ffff:10.100.100.5:24700 ESTABLISHED
[root@voip fop2]# iptables -vnL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination


When I try to login as user 3000 with a password of 3000 (voicemail password) it sits there forever saying;

Connecting to server, attempt number : 1

and never connects????

I get the following browser error in Line 1, Char 1

"Object doesn't support property or method"

Any ideas??

Thanks

Alan Scott

Comments

  • I wish the source code was available as I could debug this!

    No forum support or e-mail support even for the paid one. I did only e-mail yesterday though.

    Give us the source and let other with the skills debug!!!

    Gavin.
  • Hi,

    That's a little unfair for you to say (no email or forum support). Just count the number of mails "admin" posted on the forums. I try to reply to every post and email I receive.

    In Alan's case everything seems correct, but maybe there is a problem with your browser.

    Do you have the flash player installed and working?

    I recommend you to try with another browser, and verify the flash player is correctly installed. You can try with IE, Firefox, Safari, Chrome, etc... I cannot be sure, but it seems to be a browser issue.

    If you want to debug the client, use firefox and install Firebug. You will be able to see debug messages there.

    If you want the source, right now, you will have to use FOP1.

    Best regards,
  • Hi,

    That's a little unfair for you to say (no email or forum support). Just count the number of mails "admin" posted on the forums. I try to reply to every post and email I receive.

    In Alan's case everything seems correct, but maybe there is a problem with your browser.

    Do you have the flash player installed and working?

    I recommend you to try with another browser, and verify the flash player is correctly installed. You can try with IE, Firefox, Safari, Chrome, etc... I cannot be sure, but it seems to be a browser issue.

    If you want to debug the client, use firefox and install Firebug. You will be able to see debug messages there.

    If you want the source, right now, you will have to use FOP1.

    Best regards,

    Hi,

    I did quantify my comment by saying it was too early to expect a reply.

    I've tried IE8 with flash support and various browsers. Going to live chat now and will post results back here. Thanks.
  • Does not seem to work over HTTPS!!!

    HTTP is fine with flash player 10.0 r32. Will try latest version and HTTPS

    Also had multiple AMPDBHOST, AMPDBPASS AMPDBUSER in /etc/amportal which stopped autoconfig-buttons-freepbx.sh from working and didn't run autoconfig-users-freepbx.sh and copy and paste output into fop2.conf

    HTH.
  • That's right. I have just confirmed that if you use https the flash player is unable to connect, maybe this is true since the last player update, I am not sure. I will investigate further.

    I would also like to add to this thread that port 4445 should be open and redirected. FOP uses that port for its protocol. It is not enough with having port 80 redirected, you ALSO NEED port 4445. Without that, you won't be able to login or anything.
  • I have tried MS Explorer, Firefox and Google Chrome using both http and https, still the same thing???
  • I am online if you want to chat.
  • After taking a *long* the time to review 255 problem, it happened to be a silly problem. But it was good to improve the daemon so it fails gracefully in case of a misconfiguration.

    In this particular case, the autobuttons.cfg file was missing. There was a backup in place with the tilde at the end, so I first though everything was ok.

    So, the automatic configurator script for users run ok, but pointed to an unexistant button file. So the buttons where actually missing, and the daemon crashes when there is no button configured.

    So, I will work on fixing the daemon to not crash and give a proper error on the console.
Sign In or Register to comment.