Hi Florian,

can you try to remove the SP_HOST from the environment variables.
We now use auto discovery to get the IP address. Auto discovery is used when no 
SP_HOST variable is set.

To see if it is working you can check the logs. A message should appear stating 
that auto discovery is being used. E.g.:
[main] INFO org.apache.streampipes.commons.networking.Networking - Using 
auto-discovered IP: 192.168.0.56

If this does not work, please send the logs so we can check what is going wrong.

Cheers,
Philipp



Von: Florian Micklich <[email protected]>
Datum: Samstag, 29. Oktober 2022 um 18:47
An: [email protected] <[email protected]>
Betreff: yet another IntelliJ problem
Hi all,

I have again a small develop problem due moving setup to a new computer.
Breakpoints and log output do not create any actions in intelij (I set them in 
the processor in the onEvent method)

The CLI is running and is also representative in consul 
(org.apache.streampipes.extensions.all.jvm-zeOgsy)

If I start the debugger in IntelliJ, the service is shown up in consul 
(org.apache.streampipes.extensions.all.jvm-Fj76Sh) but get an "All service 
checks failing" with the output:


```
Get "http://127.0.1.1:7023/svchealth/Fj76Sh": dial tcp 127.0.1.1:7023: connect: 
connection refused
``

My env looks like this and I set SP_HOST to my local IP address as mentioned 
here [1] due I use Linux.

```
# Those parameters are used by IntelliJ to set the default consul parameters 
for development
SP_PORT=7023
SP_HOST=192.168.178.100
SP_DEBUG=true
SP_COUCHDB_HOST=localhost
SP_JMS_HOST=localhost
SP_JMS_PORT=61616
SP_DATA_LAKE_HOST=localhost
SP_DATA_LAKE_PORT=8086
SP_BACKEND_HOST=localhost
SP_BACKEND_PORT=8030
``

If I call http://localhost:7023/ I guess that I see the elements from the CLI 
but why is it refused?

Any suggestion what to do?

Greetings
Florian

[1] https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions

Reply via email to