RobertIndie commented on issue #1327:
URL: https://github.com/apache/streampipes/issues/1327#issuecomment-1438575240

   > From a very first glance it seems the UI tries to connect to the backend 
host (which is probably unreachable when you're running the backend locally) - 
are you starting the UI in Docker and the backend locally or which setup are 
you running?
   
   I'm starting it using commands `./streampipes env --set backend` and 
`./streampipes up -d`. The UI is started in the docker: 
https://github.com/apache/streampipes/blob/0f6bcf55f27b1c0640dd3adf9abef7b8dbc92289/installer/cli/environments/backend#L23
   
   Shouldn't it be started in the docker?
   
   > Are there any other errors in your console when starting the backend?
   > Do you see any error messages related to Consul or CouchDB?
   
   I see that the backend trying to connect to port 8090, but there is not 
service exposed the port 8090 in the docker.
   Here is the log I found from the backend:
   ```
   2023-02-21T20:02:24.827+08:00  INFO 8324 --- [           main] 
o.apache.http.impl.execchain.RetryExec   : I/O exception 
(java.net.SocketException) caught when processing request to 
{}->http://172.31.0.6:8090: Connection reset
   2023-02-21T20:02:24.828+08:00  INFO 8324 --- [           main] 
o.apache.http.impl.execchain.RetryExec   : Retrying request to 
{}->http://172.31.0.6:8090
   2023-02-21T20:02:29.830+08:00  INFO 8324 --- [           main] 
o.apache.http.impl.execchain.RetryExec   : I/O exception 
(java.net.SocketException) caught when processing request to 
{}->http://172.31.0.6:8090: Connection reset
   2023-02-21T20:02:29.830+08:00  INFO 8324 --- [           main] 
o.apache.http.impl.execchain.RetryExec   : Retrying request to 
{}->http://172.31.0.6:8090
   2023-02-21T20:02:34.831+08:00  INFO 8324 --- [           main] 
o.apache.http.impl.execchain.RetryExec   : I/O exception 
(java.net.SocketException) caught when processing request to 
{}->http://172.31.0.6:8090: Connection reset
   2023-02-21T20:02:34.832+08:00  INFO 8324 --- [           main] 
o.apache.http.impl.execchain.RetryExec   : Retrying request to 
{}->http://172.31.0.6:8090
   2023-02-21T20:02:39.837+08:00  WARN 8324 --- [           main] 
o.a.s.m.endpoint.EndpointItemFetcher     : Processing Element Descriptions 
could not be fetched from RDF endpoint: http://172.31.0.6:8090
   2023-02-21T20:02:39.840+08:00  INFO 8324 --- [           main] 
o.a.s.manager.setup.InstallationStep     : Installing pipeline elements from 
http://172.31.0.6:8090
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to