Failed to contact the iSymphony server

Well, its works for me after:

  1. Download iSympony rpm http://bit.ly/1qstvqR
  2. rpm -Uvh iSymphonyServerV3--1.noarch.rpm (See iSymphony documentation http://bit.ly/1qsttPL)
  3. service iSymphonyServerV3 restart

Does schmooze repo or freepbxdistro repo has iSymphonyServerV3 package?

Now I cant Log In.

I create fbpx administrator by module Administrators. The error appear when i try to login “Invalid username/password”. In log file same error. But a password is correct.

Uninstalling openjdk, installing JDK/JRE nothing change.

No you want to use our RPM. We have a special RPM in our repos already for this.

Yes the FreePBX distro has iSymphony server and client V3 installed. I’m pretty sure I broke it disabling REST which it needs to run.

As Tony mentioned, you install iSymphony through the FreePBX - Admin - Module Admin menus. It is already installed in the distro.

A few things to note:

  1. Disabling REST in FreePBX should not effect the REST communication between the iSymphony V3 FreePBX module and the the iSymphony V3 server as it utilizes its own rest library separate from FreePBX.

  2. The iSymphony FreePBX module version (reported in Admin->Module Admin) is different than the iSymphony Server version (reported in Admin->iSymphony/iSymphony V3).

  3. There are two iSymphony modules in the FreePBX repository for iSymphony one for Version 2 and one for Version 3. The module for version 3 has a version number of 3.0.0 and above.

  4. The Open JDK is not supported by the iSymphony V3 Server. http://docs.getisymphony.com/display/ISYMDOCS/Supported+Platforms

I does sound like there is a communication issue between the iSymphony FreePBX module and the iSymphony Server. I would need to see the following two logs to determine what the communication issue is:

/var/www/html/admin/modules/cxpanel/main.log
/var/www/html/admin/modules/cxpanel/error.log

If you do not want to post this information in a public place you can always open a ticket at http://support.getisymphony.com.

I’m having the same issue in FreePBX distro.
Originally tried iSymphony packaged with FPBX, but the interface was insanely slow so decided to try V3.
Installed via ‘module_admin download cxpanel’ then ‘module_admin install cxpanel’.

This installs V3, but does not create the manager user (nor does it seem to do any configuration in FPBX. It just copies the files into place and that’s it.

Restarting iSymphony ‘service iSymphonyServer restart’ shows the following in the out.log

Starting iSymphonyServer… PID is 6299
[iSymphony Server Version: 2.8.2 Rev. 4975]
Loading Configuration
Configuration Loaded

Starting Server.
Loading Locations:
Loading Location “default”
Loading Tenant “default”
Loading Extension “220”
Loading Profile “220”
Attaching Extension “220”
Attempting to load license from file:
Starting Client Listeners.
Connecting to manager.
Server Started.
WARNING!!! Could not connect to manager:Unable to login: Authentication failed

If I go to FPBX - iSymphonyV3 module, I see this at the top:

Failed to contact the iSymphony server.
Verify that your iSymphony server is installed and running and that the server API host and port are correct in the fields below.
If you have SSL enabled below and are using the SSL port for the API connection you need to enable SSL in the iSymphony server’s security.xml file for the communication_manager servlet

Asterisk Manager Users is installed, but I don’t see iSymphonyV3 creating the “manager” user.

Something is listening on p50000, but nothing on 58080

There will be two different manager entries.

The one for version 2 called “isymphony”. This is created when the isymphony module (iSymphony) is installed in FreePBX. If you did not have the Asterisk API/Manager Users module installed when the isymphony module was installed you will hot have the isymphony manager entry. You will have to reinstall the isymphony module from Admin->Module Admin and then Apply Config. This should get version 2 working.

The second one is for version 3 called “cxpanel”. This is created when an apply config is executed in FreePBX and you have the cxpanel module (iSymphony V3) installed. The error message you are getting in Admin->iSymphony V3 is indicative of the fact that you may not have the iSymphony V3 server installed. Installing the iSymphony V3 module will not install the server. See the documentation at docs.getisymphony.com for instructions on how to install the V3 server portion.

This was precisely the issue, and I’d feel stupid except that nowhere in the documentation does it say that FPBX users need to install the server as well. There is no distinction made between iSymphony Server and the FPBX module. Docs just state that if you’re using FPBX, simply install the FPBX module and you’re ready to go. Given the number of people I’ve seen asking the same question, seems like iSymphony folks (and FPBX as well, as they bundle the gui module but not the server and there’s no FPBX doc explaining this either) should probably clarify this.

Thanks Mwolf9.

The iSymphony documentation does go over the iSymphony Server installation and the Module installation separately in the following article in steps 3 and 5

http://docs.getisymphony.com/display/ISYMDOCS/FreePBX%2C+Elastix+and+PBX+in+a+Flash+Installation

This document is also referenced in step 2 of the Getting Started Documentation:

http://docs.getisymphony.com/display/ISYMDOCS/Getting+Started

The FreePBX Distro include the V3 server piece and the GUI module.

There are some things need to iSymphony work by default (non development environment):

1 Oracle Java SE Runtime Environment 7 from Distro repo

yum install jre
java -version

Out put like this:

java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

Make sure that the symlink /user/java/latest/ follow to JRE installation folder, not openjdk.

---------- OR ----------

1 Download latest JRE RPM JavaSE Upgrade
Make sure that the symlink /user/java/latest/ follow to JRE installation folder, not openjdk.

2 Download iSympony rpm http://bit.ly/1qstvqR2
3 rpm -Uvh iSymphonyServerV3–1.noarch.rpm (See iSymphony documentation http://bit.ly/1qsttPL1)
4 service iSymphonyServerV3 restart

Same issue here on a freepbx distro from 5.211.65-9 to 6.12.65-13

Failed to contact the iSymphony server.
Verify
that your iSymphony server is installed and running and that the server
API host and port are correct in the fields below.
If you have SSL
enabled below and are using the SSL port for the API connection you need
to enable SSL in the iSymphony server’s security.xml file for the
communication_manager servlet

in the debug I can see:

(05 Aug 2014 12:55:10)-[DEBUG]: Starting modify script
(05 Aug 2014 12:55:10)-[DEBUG]: Agent interface type: peer
(05 Aug 2014 12:55:10)-[DEBUG]: Agent login context: from-queue
(05 Aug 2014 12:55:10)-[DEBUG]: Starting REST connection to http://localhost:58080/communication_manager/api/resource/
(05 Aug 2014 12:55:10)-[DEBUG]: Checking core server default
(05 Aug 2014 12:55:10)-[ERROR]: Failed to check for core server
exception 'CXPest_UnknownResponse' in /var/www/html/admin/modules/cxpanel/lib/CXPest.php:301
Stack trace:
#0 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(238): CXPest->checkLastResponseForError()
#1 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(65): CXPest->doRequest(Resource id #318)
#2 /var/www/html/admin/modules/cxpanel/modify.php(210): CXPest->get('server/coreServ...')
#3 /var/www/html/admin/modules/cxpanel/modify.php(119): check_core_server()
#4 {main}
(05 Aug 2014 12:55:10)-[DEBUG]: Looking up core server id for slug default
(05 Aug 2014 12:55:10)-[ERROR]: Failed to lookup core server id
exception 'CXPest_UnknownResponse' in /var/www/html/admin/modules/cxpanel/lib/CXPest.php:301
Stack trace:
#0 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(238): CXPest->checkLastResponseForError()
#1 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(65): CXPest->doRequest(Resource id #319)
#2 /var/www/html/admin/modules/cxpanel/modify.php(188): CXPest->get('server/coreServ...')
#3 /var/www/html/admin/modules/cxpanel/modify.php(122): get_core_server_id()
#4 {main}

the old Isymphony works greet, but the new Isymphony 3 not works at all.

Can you help me?

Verify its installed and running. We have not installed V3 on existing systems only new systems.

mmm, so if my freepbx distro is older than isymphony3 I need to manually install the package. Isn’t it? Where can I read how to install the isymphony3 server?

Is it the same thing for xmpp? I’m not able to make working the xmpp module I bought. Do I Have I to manually install prosody server on my freepbx?

thanks for help

You can find installation instructions for the iSymphony V3 server here.

http://docs.getisymphony.com/display/ISYMDOCS/Getting+Started

The server RPM can be found here

http://www.getisymphony.com/download/

Thanks to all who tag along, as I learn a lot more here. I have decided to use Freepbx distro. Symphony works like a charm after that. Actually I try to have everything managed in freepbx interface to make support easier for layman. However, I realise many of the experts here are doing more of the command scripts.

Hi

I have the same problem. I am using freepbx distro 12.01rc29 and installed iSymphony from Module Admin. Debug log under iSypmhony page shows following:

(08 Oct 2014 23:01:45)-[DEBUG]: Starting modify script
(08 Oct 2014 23:01:45)-[DEBUG]: Agent interface type: peer
(08 Oct 2014 23:01:45)-[DEBUG]: Agent login context: from-queue
(08 Oct 2014 23:01:45)-[DEBUG]: Starting REST connection to http://localhost:58080/communication_manager/api/resource/
(08 Oct 2014 23:01:45)-[DEBUG]: Checking core server default
(08 Oct 2014 23:01:45)-[ERROR]: Failed to check for core server
exception ‘CXPest_UnknownResponse’ in /var/www/html/admin/modules/cxpanel/lib/CXPest.php:301

Stack trace:
#0 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(238): CXPest->checkLastResponseForError()
#1 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(65): CXPest->doRequest(Resource id #212)
#2 /var/www/html/admin/modules/cxpanel/modify.php(210): CXPest->get(‘server/coreServ…’)
#3 /var/www/html/admin/modules/cxpanel/modify.php(119): check_core_server()
#4 {main}
(08 Oct 2014 23:01:45)-[DEBUG]: Looking up core server id for slug default
(08 Oct 2014 23:01:45)-[ERROR]: Failed to lookup core server id
exception ‘CXPest_UnknownResponse’ in /var/www/html/admin/modules/cxpanel/lib/CXPest.php:301
Stack trace:
#0 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(238): CXPest->checkLastResponseForError()
#1 /var/www/html/admin/modules/cxpanel/lib/CXPest.php(65): CXPest->doRequest(Resource id #213)
#2 /var/www/html/admin/modules/cxpanel/modify.php(188): CXPest->get(‘server/coreServ…’)
#3 /var/www/html/admin/modules/cxpanel/modify.php(122): get_core_server_id()
#4 {main}

Can you please assist.

Thanks to your suggestion I’m able to run the Isymphony V3.
Is the Isymphony v2 automatically updated installing the ISymphont v3 server?
Do I have to uninstall the Isymphony v2 server? (my system is a 5.11.65 upgraded to 6.12.65)
I have both the opt/isymphony and opt/isymphony3 on my freepbx system.