We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

How to install Cygnus correctly?

asked 2019-04-16 06:40:02 +0200

arvi gravatar image

Tried Cygnus Docker installation (https://fiware-cygnus.readthedocs.io/...andadministrationguide/installwith_docker/index.html):

docker pull fiware/cygnus-common docker run cygnus-common

Second one does not work. Tried docker run -p 5050:5050 -p 8081:8081 fiware/cygnus-common

curl http://localhost:5050/v1/version produces error. What might be the problem?

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 500 Deserializer threw unexpected exception. null</title> </head> <body>

HTTP ERROR 500

Problem accessing /v1/version. Reason:

    Deserializer threw unexpected exception. null


Powered by Jetty://

Server side has error:

TPSource$FlumeHTTPServlet[192] : Deserializer threw unexpected exception. java.lang.NullPointerException at org.apache.flume.source.http.JSONHandler.getEvents(JSONHandler.java:122) at org.apache.flume.source.http.HTTPSource$FlumeHTTPServlet.doPost(HTTPSource.java:184) at org.apache.flume.source.http.HTTPSource$FlumeHTTPServlet.doGet(HTTPSource.java:227) at javax.servlet.http.HttpServlet.service(HttpServlet.java:705) at javax.servlet.http.HttpServlet.service(HttpServlet.java:814) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-04-24 11:16:05 +0200

arilwan gravatar image

I suggest you use docker and docker-compose to install it (and any other GE you want to add) as it is done here https://github.com/FIWARE/tutorials.H...

Check Cygnus service health using curl -X GET 'http://localhost:5080/v1/version'

Cheers.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-16 06:40:02 +0200

Seen: 99 times

Last updated: Apr 24