FreePBX | Register | Issues | Wiki | Portal | Support

Unable to connect to the UCP Node Server because: 'Error: xhr poll error'


(Stephan Koenig) #1

Hi!

I upgraded my system from 6.12.65-28 to 10.13.66-16

Now in the UCP I get the folling error message:

Unable to connect to the UCP Node Server because: ‘Error: xhr poll error’

Any idea how to fix this?

Thanks

Stephan


(Stephan Koenig) #2

Tried to restart the service

fwconsole start ucpnode

Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 1919 and has been running for 4 hours, 46 minutes, 54 seconds
UCP Server has already been running for 0:4:46:47.387


(Stephan Koenig) #3

From the ucp_out.log

Starting FreePBX…FreePBX is Ready!
Asterisk version is: 13.11.2
Loading all UCP Modules…
Loading…conferencespro.js
Loading…xmpp.js
Done!
Server up and running at 8001 port

From the ucp-err.log

/var/www/html/admin/modules/ucpnode/node/lib/server.js:159
if (serverS.address()) {
^
TypeError: Cannot call method ‘address’ of null
at stop (/var/www/html/admin/modules/ucpnode/node/lib/server.js:159:14)
at EventEmitter. (/var/www/html/admin/modules/ucpnode/node/lib/server.js:115:4)
at EventEmitter.emit (events.js:117:20)
at Socket.emit (events.js:95:17)
at TCP.close (net.js:466:12)
Unable to connect to asterisk!
Unable to connect to asterisk!
{ [Error: Disconnected from the server] code: 10001 }

/var/www/html/admin/modules/ucpnode/node/lib/freepbx.js:93
throw “There was an error with MySQL Connection”;
^
There was an error with MySQL Connection


(Stephan Koenig) #4

The upgrade was done with the commercial System Admin module. (Just bought it.)

I have set

[client]
user=root
password=mypassword

in my.cnf


(Matthew B) #5

I get this error too. UCP is down for me.

I have tried to restart the service
and
fwconsole start ucpnode too.


#6

Check this out


(Matthew B) #7

Thanks. I ended up just removing UCP and then UCP Node Server through the UI, then installing it again. Possible bad interaction with XMPP, as that wouldn’t install without PHP whoops error. So far UCP is working, but will not install XMPP until I hear it is good…I see others are having issues with updating XMPP too.


(Andrew Nagy) #8

Next time this happens please try from the CLI. It’ll give verbose output which is useful in fixing these issues.