CloudBoost / docker

Docker Cloud file for CloudBoost
http://www.cloudboost.io
33 stars 14 forks source link

Server not starting #5

Closed blacksector closed 8 years ago

blacksector commented 8 years ago

For a strange reason after I do visit the IP address it shows a 200 status. {"status":200,"version":"1.0.23"}

But the cluster key and secret key provided cannot be used in a POST request to create an app. It gives me the "Unauthorized" status.

If you look into the logs right before haproxy it says:

Registering Cluster...
cloudboost_1    | Cluster registration failed.
cloudboost_1    | { [Error: connect ECONNREFUSED 127.0.0.1:5555]
cloudboost_1    |   code: 'ECONNREFUSED',
cloudboost_1    |   errno: 'ECONNREFUSED',
cloudboost_1    |   syscall: 'connect',
cloudboost_1    |   address: '127.0.0.1',
cloudboost_1    |   port: 5555 }

https://gist.github.com/blacksector/fbc5d06cd2d1315c0caa

nawazdhandala commented 8 years ago

This is now fixed.

HoseinGhanbari commented 7 years ago

Hello ! This problem has not been resolved yet. I try to compile and run the CloudBoost API server without docker and get the following error.

+++++++++++ API Status : OK ++++++++++++++++++
CloudBoost Server Started on PORT : 4730
attachDbDisconnectApi..
attachCronJobs..
Cluster Key : 649a28a6-85ba-430e-a11e-6c2e562937f9
Secure Key : 8942a599-2147-4cd8-9920-ee3cb0738313
Registering Cluster...
Cluster registration failed.
{ Error: connect ECONNREFUSED 127.0.0.1:5555
    at Object.exports._errnoException (util.js:1020:11)
    at exports._exceptionWithHostPort (util.js:1043:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 5555 }
shubhamqweasd commented 7 years ago

@HoseinGhanbari , CloudBoost API expects an Analytics Server running on PORT 5555, but since that service is currently closed source, so the error Error: connect ECONNREFUSED 127.0.0.1:5555 is expected and should be ignored. API will keep working regardless of this error.

HoseinGhanbari commented 7 years ago

Thank you for your quick response ! Could you please answer my questions on the following link ? https://github.com/CloudBoost/dashboard/issues/15#issuecomment-328429558 How can I connect the dashboard GUI running on port 1440 to the API running on port 4730 ? with best regards