Hi Guys,
This is Smit here and I am currently setting up reporter using Kafka.I tried through the load_historical_data script but was unable to run it successfully.So I am currently working on finding speed statistics using Kafka streams and I am currently stuck on this :
2019-07-12 10:47:42,566 ERROR io.opentraffic.reporter.HttpClient - After 3 attempts couldn't POST to http://localhost:8002/report? -> org.apache.http.conn.HttpHostConnectException: Connect to localhost:8002 [localhost/127.0.0.1] failed: Connection refused (Connection refused).
I am unable to understand what the error is.I searched Google and it says that this error occurs when there is no service listening on port 8002.But on running the docker command for viewing containers,I found out that port 8002 has reporter - py active on it.
Here :
Is there any other service that needs to be run on port 8002? If so,please guide me out.
Also the input data from a Json file can contain vehicle ids of multiple vehicles right ?
Like this one :
Hi Guys, This is Smit here and I am currently setting up reporter using Kafka.I tried through the load_historical_data script but was unable to run it successfully.So I am currently working on finding speed statistics using Kafka streams and I am currently stuck on this :
2019-07-12 10:47:42,566 ERROR io.opentraffic.reporter.HttpClient - After 3 attempts couldn't POST to http://localhost:8002/report? -> org.apache.http.conn.HttpHostConnectException: Connect to localhost:8002 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
.I am unable to understand what the error is.I searched Google and it says that this error occurs when there is no service listening on port 8002.But on running the docker command for viewing containers,I found out that port 8002 has reporter - py active on it. Here :
Is there any other service that needs to be run on port 8002? If so,please guide me out.
Also the input data from a Json file can contain vehicle ids of multiple vehicles right ? Like this one :
Or does the Json file to be read should contain gps data from a single vehicle?
Please suggest me the correct way if I am wrong somewhere.Thanks !