You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by Florian Micklich <mi...@apache.org> on 2022/10/29 16:46:55 UTC

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

Re: yet another IntelliJ problem

Posted by Florian Micklich <mi...@apache.org>.
Hi Philipp,

so I can run the all-pipeline-elements without errors.
But I have problems to start the other environments.

Therefore I had a look at the pre-configured variables [1] in the IntelliJ project.
It seems to me, that some variables are missing or differs.

Can we adjust the list, so everything runs correctly?

Gretings
Florian

[1] https://cwiki.apache.org/confluence/display/STREAMPIPES/StreamPipes+Variables



Am Samstag, dem 12.11.2022 um 20:55 +0100 schrieb Florian Micklich:
> Heureca!!<br>
> setting the variable directly in IntelliJ was helpful. oh man, thanks a lot.<br>
> A small little side effect is that all processors and sinks are represented twice in the "install pipeline element" menu.<br>
> But they are acting like one.<br>
> 
> Oh dear that was a tough nut to crack.<br>
> 
> Florian<br>
> 
> Am Freitag, dem 11.11.2022 um 20:23 +0000 schrieb Philipp Zehnder:<br>
> > Hi Florian,<br><br>
> > 
> > can you try to set the environment variables directly in the IDE?<br><br>
> > 
> > Philipp<br><br>
> > 
> > Von: Florian Micklich <[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))><br><br>
> > Datum: Freitag, 11. November 2022 um 15:40<br><br>
> > An: [[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)) <[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))><br><br>
> > Betreff: Re: yet another IntelliJ problem<br><br>
> > Hi Philipp,<br><br>
> > 
> > yes I changed it in here [1].<br><br>
> > I tried a couple of settings<br><br>
> > 
> > from<br><br>
> > * hostname like `SP_HOST=homebase`<br><br>
> > * IP like `SP_HOST=homebase`<br><br>
> > * Docker Host IP `SP_HOST=172.17.0.1`<br><br>
> > 
> > Here [2] I reverted it as you mentioned.<br><br>
> > > 
> > > > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br><br><br>
> > > > 
> > > > ```<br><br><br><br>
> > > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br><br>
> > > > SP_PORT=7023<br><br><br><br>
> > > > #SP_HOST=host.docker.internal<br><br><br><br>
> > > > #SP_HOST=192.168.178.100<br><br><br><br>
> > > > SP_DEBUG=true<br><br><br><br>
> > > > SP_COUCHDB_HOST=localhost<br><br><br><br>
> > > > SP_JMS_HOST=localhost<br><br><br><br>
> > > > SP_JMS_PORT=61616<br><br><br><br>
> > > > ``` <br><br><br><br>
> > > > 
> > 
> > Are there any other files or plugins I missed?<br><br>
> > 
> > Greetings<br><br>
> > Florian<br><br>
> > 
> > [1] [[https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env))<br><br>
> > [2] [[https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env](https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env)](https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env](https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env))<br><br>
> > 
> > 
> > Am Freitag, dem 11.11.2022 um 13:26 +0000 schrieb Philipp Zehnder:<br><br>> 
> > > Hi Florian,<br><br><br>
> > > 
> > > can you check if the env variable SP_HOST is set correctly to the IP address of you machine?<br><br><br>
> > > Because the logs say that auto discovery is used, usually with SP_HOST it should state that the provided IP address is used instead.<br><br><br>
> > > 
> > > 
> > > 
> > > Cheers,<br><br><br>
> > > 
> > > Philipp<br><br><br>
> > > 
> > > 
> > > 
> > > 
> > > Von: Florian Micklich <[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org)))><br><br><br>
> > > Datum: Freitag, 11. November 2022 um 13:31<br><br><br>
> > > An: [[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))) <[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))><br><br><br>
> > > Betreff: Re: yet another IntelliJ problem<br><br><br>
> > > Hi,<br><br><br>
> > > 
> > > is anyone using a Linux system as well and has working running setup to share?<br><br><br>
> > > Still got the problem with CLI and IntelliJ.<br><br><br>
> > > 
> > > I think the main problem is the auto-discovered IP and (my guess) Linux can't use host.docker.internal compared to windows and mac by default.<br><br><br>
> > > 
> > > 
> > > ```<br><br><br>
> > > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br><br><br>
> > > That's why consul comes up with following error messages:<br><br><br>
> > > 
> > > org-apache-streampipes-pe-all-jvm-KV1H6F<br><br><br>
> > > Get "[[[http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F)](http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F))<[[http://127.0.1.1:7023/svchealth/KV1H6F%5d(http:/127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F%5d(http:/127.0.1.1:7023/svchealth/KV1H6F)](http://127.0.1.1:7023/svchealth/KV1H6F%5d(http:/127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F%5d(http:/127.0.1.1:7023/svchealth/KV1H6F))>)": dial tcp 127.0.1.1:7023: connect: connection refused<br><br><br>
> > > 
> > > 
> > > connect-adapter-r8Q91b<br><br><br>
> > > Get "[[[http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b)](http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b))<[[http://127.0.1.1:8001/svchealth/r8Q91b%5d(http:/127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b%5d(http:/127.0.1.1:8001/svchealth/r8Q91b)](http://127.0.1.1:8001/svchealth/r8Q91b%5d(http:/127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b%5d(http:/127.0.1.1:8001/svchealth/r8Q91b))>)": dial tcp 127.0.1.1:8001: connect: connection refused<br><br><br>
> > > 
> > > 
> > > connect-adapter-iiot-IJjKCP<br><br><br>
> > > Get "[[[http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP)](http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP))<[[http://127.0.1.1:8002/svchealth/IJjKCP%5d(http:/127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP%5d(http:/127.0.1.1:8002/svchealth/IJjKCP)](http://127.0.1.1:8002/svchealth/IJjKCP%5d(http:/127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP%5d(http:/127.0.1.1:8002/svchealth/IJjKCP))>)": dial tcp 127.0.1.1:8002: connect: connection refused<br><br><br>
> > > ```<br><br><br>
> > > 
> > > Greetings<br><br><br>
> > > Florian<br><br><br>
> > > 
> > > 
> > > Am Montag, dem 31.10.2022 um 10:34 +0100 schrieb Florian Micklich:<br><br>> <br>> > 
> > > > Hi Philipp,<br><br><br><br>
> > > > 
> > > > so to get clear. I have two .env variables.<br><br><br><br>
> > > > 
> > > > in development/.env [1] I have SP_HOST=host.docker.internal by default. Due Linux I have to change this to my local ip (?)<br><br><br><br>
> > > > 
> > > > ```<br><br><br><br>
> > > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br><br>
> > > > SP_PORT=6009<br><br><br><br>
> > > > SP_HOST=192.168.178.100<br><br><br><br>
> > > > SP_DEBUG=true<br><br><br><br>
> > > > ``` <br><br><br><br>
> > > > 
> > > > 
> > > > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br><br><br>
> > > > 
> > > > ```<br><br><br><br>
> > > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br><br>
> > > > SP_PORT=7023<br><br><br><br>
> > > > #SP_HOST=host.docker.internal<br><br><br><br>
> > > > #SP_HOST=192.168.178.100<br><br><br><br>
> > > > SP_DEBUG=true<br><br><br><br>
> > > > SP_COUCHDB_HOST=localhost<br><br><br><br>
> > > > SP_JMS_HOST=localhost<br><br><br><br>
> > > > SP_JMS_PORT=61616<br><br><br><br>
> > > > ``` <br><br><br><br>
> > > > 
> > > > 
> > > > Is this settings correct so far?<br><br><br><br>
> > > > But I have still the same behavior in consul.<br><br><br><br>
> > > > 
> > > > 
> > > > My logs looks like this after starting the debugger:<br><br><br><br>
> > > > 
> > > > ``` <br><br><br><br>
> > > > /home/micklich/.sdkman/candidates/java/11.0.17-zulu/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50461,suspend=y,server=n -javaagent:/home/micklich/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /tmp/classpath115376425.jar org.apache.streampipes.extensions.all.jvm.AllExtensionsInit<br><br><br><br>
> > > > Connected to the target VM, address: '127.0.0.1:50461', transport: 'socket'<br><br><br><br>
> > > > 10:29:46.290 [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br><br><br><br>
> > > > 10:29:46.294 [main] INFO org.apache.streampipes.commons.networking.Networking - Using port from provided environment variable SP_PORT: 7023<br><br><br><br>
> > > > 10:29:46.313 [main] INFO org.apache.streampipes.container.init.DeclarersSingleton - Registering 11 configs in key/value store<br><br><br><br>
> > > > 10:29:46.319 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available...<br><br><br><br>
> > > > 10:29:46.327 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Successfully connected to Consul<br><br><br><br>
> > > > 10:29:47.283 [OkHttp [[[[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/)))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))))...<[[[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/)))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))))...<[[http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/)))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "core" (index=2994), request duration: 200 ms<br><br><br><br>
> > > > 10:29:47.298 [OkHttp [[[[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/)))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))))...<[[[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/)))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))))...<[[http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/)))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3009), request duration: 7 ms<br><br><br><br>
> > > > 10:29:47.563 [main] INFO org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery - Successfully registered service at Consul: org.apache.streampipes.extensions.all.jvm-8jUycO<br><br><br><br>
> > > > 10:29:47.580 [OkHttp [[[[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/)))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))))...<[[[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/)))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))))...<[[http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/)))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3092), request duration: 280 ms<br><br><br><br>
> > > >  _______ __                              ______ __<br><br>><br>> > <br>> > > 
> > > > >     __|  |_.----.-----.---.-.--------.|   __ \__|.-----.-----.-----.<br><br><br><br>
> > > > > __     |   _|   _|  -__|  _  |        ||    __/  ||  _  |  -__|__ --|<br><br><br><br>
> > > > > _______|____|__| |_____|___._|__|__|__||___|  |__||   __|_____|_____|<br><br><br><br>
> > > >                                                    |__|<br><br><br><br>
> > > > ** StreamPipes Extensions Container **<br><br><br><br>
> > > > 
> > > > 2022-10-31 10:29:48.215  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Starting AllExtensionsInit using Java 11.0.17 on homebase with PID 23495 (/home/micklich/streampipes/incubator-streampipes/streampipes-extensions/streampipes-extensions-all-jvm/target/classes started by micklich in /home/micklich/streampipes/incubator-streampipes)<br><br><br><br>
> > > > 2022-10-31 10:29:48.217  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : No active profile set, falling back to 1 default profile: "default"<br><br><br><br>
> > > > 2022-10-31 10:29:49.140  WARN 23495 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used<br><br><br><br>
> > > > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext<br><br><br><br>
> > > > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 908 ms<br><br><br><br>
> > > > 2022-10-31 10:29:49.455  INFO 23495 --- [           main] s.s.c.a.w.c.WebSecurityConfigurerAdapter : Configured anonymous access for this service, consider providing an authentication option.<br><br><br><br>
> > > > 2022-10-31 10:29:49.498  INFO 23495 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@dc59ec2, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d969330, org.springframework.security.web.header.HeaderWriterFilter@2094bf3d, org.springframework.security.web.authentication.logout.LogoutFilter@66020d69, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c8f4bc7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7d66a126, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@375084c9, org.springframework.security.web.session.SessionManagementFilter@7f6b7426, org.springframework.security.web.access.ExceptionTranslationFilter@57a667c8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6bb4cc0e]<br><br><br><br>
> > > > 2022-10-31 10:29:49.698  INFO 23495 --- [           main] io.undertow                              : starting server: Undertow - 2.2.17.Final<br><br><br><br>
> > > > 2022-10-31 10:29:49.709  INFO 23495 --- [           main] org.xnio                                 : XNIO version 3.8.6.Final<br><br><br><br>
> > > > 2022-10-31 10:29:49.722  INFO 23495 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final<br><br><br><br>
> > > > 2022-10-31 10:29:49.809  INFO 23495 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final<br><br><br><br>
> > > > 2022-10-31 10:29:49.856  INFO 23495 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 7023 (http)<br><br><br><br>
> > > > 2022-10-31 10:29:49.868  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Started AllExtensionsInit in 2.154 seconds (JVM running for 4.293)<br><br><br><br>
> > > > 2022-10-31 10:29:49.935  INFO 23495 --- [           main] o.a.s.commons.networking.Networking      : Using auto-discovered IP: 127.0.1.1<br><br><br><br>
> > > > 2022-10-31 10:29:50.304  INFO 23495 --- [           main] c.c.w.i.ConnectWorkerRegistrationService : Successfully connected to master. Worker is now running.<br><br><br><br>
> > > > ``` <br><br><br><br>
> > > > 
> > > > 
> > > > Greetings<br><br><br><br>
> > > > 
> > > > 
> > > > 
> > > > [1] [[[[https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env))](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)))](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env))](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env))))<br<[[[https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr))](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)))>><br<[[https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)%3e%3e%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)%3e%3e%3cbr)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)%3e%3e%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)%3e%3e%3cbr))>><br><br>
> > > > 
> > > > [2] [[[[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)))](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))))<br<[[[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr))](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)))>><br<[[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)%3e%3e%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)%3e%3e%3cbr)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)%3e%3e%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)%3e%3e%3cbr))>><br><br>
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Am Montag, dem 31.10.2022 um 08:21 +0000 schrieb Philipp Zehnder:<br><br>><br>> > <br>> > > 
> > > > > Hi Florian,<br><br><br><br><br>
> > > > > 
> > > > > can you try to remove the SP_HOST from the environment variables.<br><br><br><br><br>
> > > > > We now use auto discovery to get the IP address. Auto discovery is used when no SP_HOST variable is set.<br><br><br><br><br>
> > > > > 
> > > > > To see if it is working you can check the logs. A message should appear stating that auto discovery is being used. E.g.:<br><br><br><br><br>
> > > > > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.0.56<br><br><br><br><br>
> > > > > 
> > > > > If this does not work, please send the logs so we can check what is going wrong.<br><br><br><br><br>
> > > > > 
> > > > > Cheers,<br><br><br><br><br>
> > > > > Philipp<br><br><br><br><br>
> > > > > 
> > > > > 
> > > > > 
> > > > > Von: Florian Micklich <[[[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org)))](mailto:[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))))](mailto:[[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org)))](mailto:[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org)))))><br><br><br><br><br>
> > > > > Datum: Samstag, 29. Oktober 2022 um 18:47<br><br><br><br><br>
> > > > > An: [[[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))](mailto:[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))))](mailto:[[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))](mailto:[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))))) <[[[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))](mailto:[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))))](mailto:[[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))](mailto:[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))))><br><br><br><br><br>
> > > > > Betreff: yet another IntelliJ problem<br><br><br><br><br>
> > > > > Hi all,<br><br><br><br><br>
> > > > > 
> > > > > I have again a small develop problem due moving setup to a new computer.<br><br><br><br><br>
> > > > > Breakpoints and log output do not create any actions in intelij (I set them in the processor in the onEvent method)<br><br><br><br><br>
> > > > > 
> > > > > The CLI is running and is also representative in consul (org.apache.streampipes.extensions.all.jvm-zeOgsy)<br><br><br><br><br>
> > > > > 
> > > > > 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:<br><br><br><br><br>
> > > > > 
> > > > > 
> > > > > ```<br><br><br><br><br>
> > > > > Get "[[[[[http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh))](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)))<[[[http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh))<[[http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%3c%5bhttp:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%3c%5bhttp:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%3c%5bhttp:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%3c%5bhttp:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh))>)>))": dial tcp 127.0.1.1:7023: connect: connection refused<br><br><br><br><br>
> > > > > ``<br><br><br><br><br>
> > > > > 
> > > > > My env looks like this and I set SP_HOST to my local IP address as mentioned here [1] due I use Linux.<br><br><br><br><br>
> > > > > 
> > > > > ```<br><br><br><br><br>
> > > > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br><br><br>
> > > > > SP_PORT=7023<br><br><br><br><br>
> > > > > SP_HOST=192.168.178.100<br><br><br><br><br>
> > > > > SP_DEBUG=true<br><br><br><br><br>
> > > > > SP_COUCHDB_HOST=localhost<br><br><br><br><br>
> > > > > SP_JMS_HOST=localhost<br><br><br><br><br>
> > > > > SP_JMS_PORT=61616<br><br><br><br><br>
> > > > > SP_DATA_LAKE_HOST=localhost<br><br><br><br><br>
> > > > > SP_DATA_LAKE_PORT=8086<br><br><br><br><br>
> > > > > SP_BACKEND_HOST=localhost<br><br><br><br><br>
> > > > > SP_BACKEND_PORT=8030<br><br><br><br><br>
> > > > > ``<br><br><br><br><br>
> > > > > 
> > > > > If I call [[[[[http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/))](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)))<[[[http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/))<[[http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%3c%5bhttp:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%3c%5bhttp:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%3c%5bhttp:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%3c%5bhttp:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/))>)>)) I guess that I see the elements from the CLI but why is it refused?<br><br><br><br><br>
> > > > > 
> > > > > Any suggestion what to do?<br><br><br><br><br>
> > > > > 
> > > > > Greetings<br><br><br><br><br>
> > > > > Florian<br><br><br><br><br>
> > > > > 
> > > > > [1] [[[[[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))))<br><br<[[[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)))>><br<[[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))%3cbr%3e%3cbr%3c%5bhttps:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)%3e%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))%3cbr%3e%3cbr%3c%5bhttps:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)%3e%3e%3cbr)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))%3cbr%3e%3cbr%3c%5bhttps:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)%3e%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))%3cbr%3e%3cbr%3c%5bhttps:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)%3e%3e%3cbr))>><br><br>

Re: yet another IntelliJ problem

Posted by Florian Micklich <mi...@apache.org>.
Heureca!!
setting the variable directly in IntelliJ was helpful. oh man, thanks a lot.
A small little side effect is that all processors and sinks are represented twice in the "install pipeline element" menu.
But they are acting like one.

Oh dear that was a tough nut to crack.

Florian

Am Freitag, dem 11.11.2022 um 20:23 +0000 schrieb Philipp Zehnder:
> Hi Florian,<br>
> 
> can you try to set the environment variables directly in the IDE?<br>
> 
> Philipp<br>
> 
> Von: Florian Micklich <[micklich@apache.org](mailto:micklich@apache.org)><br>
> Datum: Freitag, 11. November 2022 um 15:40<br>
> An: [dev@streampipes.apache.org](mailto:dev@streampipes.apache.org) <[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)><br>
> Betreff: Re: yet another IntelliJ problem<br>
> Hi Philipp,<br>
> 
> yes I changed it in here [1].<br>
> I tried a couple of settings<br>
> 
> from<br>
> * hostname like `SP_HOST=homebase`<br>
> * IP like `SP_HOST=homebase`<br>
> * Docker Host IP `SP_HOST=172.17.0.1`<br>
> 
> Here [2] I reverted it as you mentioned.<br>
> 
> > > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br><br>
> > > 
> > > ```<br><br><br>
> > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br>
> > > SP_PORT=7023<br><br><br>
> > > #SP_HOST=host.docker.internal<br><br><br>
> > > #SP_HOST=192.168.178.100<br><br><br>
> > > SP_DEBUG=true<br><br><br>
> > > SP_COUCHDB_HOST=localhost<br><br><br>
> > > SP_JMS_HOST=localhost<br><br><br>
> > > SP_JMS_PORT=61616<br><br><br>
> > > ``` <br><br><br>
> > > 
> 
> Are there any other files or plugins I missed?<br>
> 
> Greetings<br>
> Florian<br>
> 
> [1] [https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)<br>
> [2] [https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env](https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env)<br>
> 
> 
> Am Freitag, dem 11.11.2022 um 13:26 +0000 schrieb Philipp Zehnder:<br>
> > Hi Florian,<br><br>
> > 
> > can you check if the env variable SP_HOST is set correctly to the IP address of you machine?<br><br>
> > Because the logs say that auto discovery is used, usually with SP_HOST it should state that the provided IP address is used instead.<br><br>
> > 
> > 
> > 
> > Cheers,<br><br>
> > 
> > Philipp<br><br>
> > 
> > 
> > 
> > 
> > Von: Florian Micklich <[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))><br><br>
> > Datum: Freitag, 11. November 2022 um 13:31<br><br>
> > An: [[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)) <[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))><br><br>
> > Betreff: Re: yet another IntelliJ problem<br><br>
> > Hi,<br><br>
> > 
> > is anyone using a Linux system as well and has working running setup to share?<br><br>
> > Still got the problem with CLI and IntelliJ.<br><br>
> > 
> > I think the main problem is the auto-discovered IP and (my guess) Linux can't use host.docker.internal compared to windows and mac by default.<br><br>
> > 
> > 
> > ```<br><br>
> > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br><br>
> > That's why consul comes up with following error messages:<br><br>
> > 
> > org-apache-streampipes-pe-all-jvm-KV1H6F<br><br>
> > Get "[[http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F)<[http://127.0.1.1:7023/svchealth/KV1H6F%5d(http:/127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F%5d(http:/127.0.1.1:7023/svchealth/KV1H6F)>)": dial tcp 127.0.1.1:7023: connect: connection refused<br><br>
> > 
> > 
> > connect-adapter-r8Q91b<br><br>
> > Get "[[http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b)<[http://127.0.1.1:8001/svchealth/r8Q91b%5d(http:/127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b%5d(http:/127.0.1.1:8001/svchealth/r8Q91b)>)": dial tcp 127.0.1.1:8001: connect: connection refused<br><br>
> > 
> > 
> > connect-adapter-iiot-IJjKCP<br><br>
> > Get "[[http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP)<[http://127.0.1.1:8002/svchealth/IJjKCP%5d(http:/127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP%5d(http:/127.0.1.1:8002/svchealth/IJjKCP)>)": dial tcp 127.0.1.1:8002: connect: connection refused<br><br>
> > ```<br><br>
> > 
> > Greetings<br><br>
> > Florian<br><br>
> > 
> > 
> > Am Montag, dem 31.10.2022 um 10:34 +0100 schrieb Florian Micklich:<br><br>> 
> > > Hi Philipp,<br><br><br>
> > > 
> > > so to get clear. I have two .env variables.<br><br><br>
> > > 
> > > in development/.env [1] I have SP_HOST=host.docker.internal by default. Due Linux I have to change this to my local ip (?)<br><br><br>
> > > 
> > > ```<br><br><br>
> > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br>
> > > SP_PORT=6009<br><br><br>
> > > SP_HOST=192.168.178.100<br><br><br>
> > > SP_DEBUG=true<br><br><br>
> > > ``` <br><br><br>
> > > 
> > > 
> > > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br><br>
> > > 
> > > ```<br><br><br>
> > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br>
> > > SP_PORT=7023<br><br><br>
> > > #SP_HOST=host.docker.internal<br><br><br>
> > > #SP_HOST=192.168.178.100<br><br><br>
> > > SP_DEBUG=true<br><br><br>
> > > SP_COUCHDB_HOST=localhost<br><br><br>
> > > SP_JMS_HOST=localhost<br><br><br>
> > > SP_JMS_PORT=61616<br><br><br>
> > > ``` <br><br><br>
> > > 
> > > 
> > > Is this settings correct so far?<br><br><br>
> > > But I have still the same behavior in consul.<br><br><br>
> > > 
> > > 
> > > My logs looks like this after starting the debugger:<br><br><br>
> > > 
> > > ``` <br><br><br>
> > > /home/micklich/.sdkman/candidates/java/11.0.17-zulu/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50461,suspend=y,server=n -javaagent:/home/micklich/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /tmp/classpath115376425.jar org.apache.streampipes.extensions.all.jvm.AllExtensionsInit<br><br><br>
> > > Connected to the target VM, address: '127.0.0.1:50461', transport: 'socket'<br><br><br>
> > > 10:29:46.290 [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br><br><br>
> > > 10:29:46.294 [main] INFO org.apache.streampipes.commons.networking.Networking - Using port from provided environment variable SP_PORT: 7023<br><br><br>
> > > 10:29:46.313 [main] INFO org.apache.streampipes.container.init.DeclarersSingleton - Registering 11 configs in key/value store<br><br><br>
> > > 10:29:46.319 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available...<br><br><br>
> > > 10:29:46.327 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Successfully connected to Consul<br><br><br>
> > > 10:29:47.283 [OkHttp [[[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/)))...<[[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/)))...<[http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/)))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "core" (index=2994), request duration: 200 ms<br><br><br>
> > > 10:29:47.298 [OkHttp [[[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/)))...<[[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/)))...<[http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/)))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3009), request duration: 7 ms<br><br><br>
> > > 10:29:47.563 [main] INFO org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery - Successfully registered service at Consul: org.apache.streampipes.extensions.all.jvm-8jUycO<br><br><br>
> > > 10:29:47.580 [OkHttp [[[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))](http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/)))...<[[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/)))...<[http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))](http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/)))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3092), request duration: 280 ms<br><br><br>
> > >  _______ __                              ______ __<br><br>><br>> > 
> > > >     __|  |_.----.-----.---.-.--------.|   __ \__|.-----.-----.-----.<br><br><br>
> > > > __     |   _|   _|  -__|  _  |        ||    __/  ||  _  |  -__|__ --|<br><br><br>
> > > > _______|____|__| |_____|___._|__|__|__||___|  |__||   __|_____|_____|<br><br><br>
> > >                                                    |__|<br><br><br>
> > > ** StreamPipes Extensions Container **<br><br><br>
> > > 
> > > 2022-10-31 10:29:48.215  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Starting AllExtensionsInit using Java 11.0.17 on homebase with PID 23495 (/home/micklich/streampipes/incubator-streampipes/streampipes-extensions/streampipes-extensions-all-jvm/target/classes started by micklich in /home/micklich/streampipes/incubator-streampipes)<br><br><br>
> > > 2022-10-31 10:29:48.217  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : No active profile set, falling back to 1 default profile: "default"<br><br><br>
> > > 2022-10-31 10:29:49.140  WARN 23495 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used<br><br><br>
> > > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext<br><br><br>
> > > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 908 ms<br><br><br>
> > > 2022-10-31 10:29:49.455  INFO 23495 --- [           main] s.s.c.a.w.c.WebSecurityConfigurerAdapter : Configured anonymous access for this service, consider providing an authentication option.<br><br><br>
> > > 2022-10-31 10:29:49.498  INFO 23495 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@dc59ec2, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d969330, org.springframework.security.web.header.HeaderWriterFilter@2094bf3d, org.springframework.security.web.authentication.logout.LogoutFilter@66020d69, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c8f4bc7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7d66a126, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@375084c9, org.springframework.security.web.session.SessionManagementFilter@7f6b7426, org.springframework.security.web.access.ExceptionTranslationFilter@57a667c8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6bb4cc0e]<br><br><br>
> > > 2022-10-31 10:29:49.698  INFO 23495 --- [           main] io.undertow                              : starting server: Undertow - 2.2.17.Final<br><br><br>
> > > 2022-10-31 10:29:49.709  INFO 23495 --- [           main] org.xnio                                 : XNIO version 3.8.6.Final<br><br><br>
> > > 2022-10-31 10:29:49.722  INFO 23495 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final<br><br><br>
> > > 2022-10-31 10:29:49.809  INFO 23495 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final<br><br><br>
> > > 2022-10-31 10:29:49.856  INFO 23495 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 7023 (http)<br><br><br>
> > > 2022-10-31 10:29:49.868  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Started AllExtensionsInit in 2.154 seconds (JVM running for 4.293)<br><br><br>
> > > 2022-10-31 10:29:49.935  INFO 23495 --- [           main] o.a.s.commons.networking.Networking      : Using auto-discovered IP: 127.0.1.1<br><br><br>
> > > 2022-10-31 10:29:50.304  INFO 23495 --- [           main] c.c.w.i.ConnectWorkerRegistrationService : Successfully connected to master. Worker is now running.<br><br><br>
> > > ``` <br><br><br>
> > > 
> > > 
> > > Greetings<br><br><br>
> > > 
> > > 
> > > 
> > > [1] [[[https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env))](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)))<br<[[https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr))>><br<[https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)%3e%3e%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)%3e%3e%3cbr)>><br>
> > > 
> > > [2] [[[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)))<br<[[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr))>><br<[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)%3e%3e%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)%3e%3e%3cbr)>><br>
> > > 
> > > 
> > > 
> > > 
> > > Am Montag, dem 31.10.2022 um 08:21 +0000 schrieb Philipp Zehnder:<br><br>><br>> > 
> > > > Hi Florian,<br><br><br><br>
> > > > 
> > > > can you try to remove the SP_HOST from the environment variables.<br><br><br><br>
> > > > We now use auto discovery to get the IP address. Auto discovery is used when no SP_HOST variable is set.<br><br><br><br>
> > > > 
> > > > To see if it is working you can check the logs. A message should appear stating that auto discovery is being used. E.g.:<br><br><br><br>
> > > > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.0.56<br><br><br><br>
> > > > 
> > > > If this does not work, please send the logs so we can check what is going wrong.<br><br><br><br>
> > > > 
> > > > Cheers,<br><br><br><br>
> > > > Philipp<br><br><br><br>
> > > > 
> > > > 
> > > > 
> > > > Von: Florian Micklich <[[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org)))](mailto:[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))))><br><br><br><br>
> > > > Datum: Samstag, 29. Oktober 2022 um 18:47<br><br><br><br>
> > > > An: [[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))](mailto:[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))) <[[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))](mailto:[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))))><br><br><br><br>
> > > > Betreff: yet another IntelliJ problem<br><br><br><br>
> > > > Hi all,<br><br><br><br>
> > > > 
> > > > I have again a small develop problem due moving setup to a new computer.<br><br><br><br>
> > > > Breakpoints and log output do not create any actions in intelij (I set them in the processor in the onEvent method)<br><br><br><br>
> > > > 
> > > > The CLI is running and is also representative in consul (org.apache.streampipes.extensions.all.jvm-zeOgsy)<br><br><br><br>
> > > > 
> > > > 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:<br><br><br><br>
> > > > 
> > > > 
> > > > ```<br><br><br><br>
> > > > Get "[[[[http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh))<[[http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)<[http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%3c%5bhttp:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%3c%5bhttp:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)>)>))": dial tcp 127.0.1.1:7023: connect: connection refused<br><br><br><br>
> > > > ``<br><br><br><br>
> > > > 
> > > > My env looks like this and I set SP_HOST to my local IP address as mentioned here [1] due I use Linux.<br><br><br><br>
> > > > 
> > > > ```<br><br><br><br>
> > > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br><br>
> > > > SP_PORT=7023<br><br><br><br>
> > > > SP_HOST=192.168.178.100<br><br><br><br>
> > > > SP_DEBUG=true<br><br><br><br>
> > > > SP_COUCHDB_HOST=localhost<br><br><br><br>
> > > > SP_JMS_HOST=localhost<br><br><br><br>
> > > > SP_JMS_PORT=61616<br><br><br><br>
> > > > SP_DATA_LAKE_HOST=localhost<br><br><br><br>
> > > > SP_DATA_LAKE_PORT=8086<br><br><br><br>
> > > > SP_BACKEND_HOST=localhost<br><br><br><br>
> > > > SP_BACKEND_PORT=8030<br><br><br><br>
> > > > ``<br><br><br><br>
> > > > 
> > > > If I call [[[[http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/))<[[http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)<[http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%3c%5bhttp:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%3c%5bhttp:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)>)>)) I guess that I see the elements from the CLI but why is it refused?<br><br><br><br>
> > > > 
> > > > Any suggestion what to do?<br><br><br><br>
> > > > 
> > > > Greetings<br><br><br><br>
> > > > Florian<br><br><br><br>
> > > > 
> > > > [1] [[[[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))))<br><br<[[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr))>><br<[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))%3cbr%3e%3cbr%3c%5bhttps:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)%3e%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))%3cbr%3e%3cbr%3c%5bhttps:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)%3e%3e%3cbr)>><br>

AW: yet another IntelliJ problem

Posted by Philipp Zehnder <ph...@bytefabrik.ai>.
Hi Florian,

can you try to set the environment variables directly in the IDE?

Philipp

Von: Florian Micklich <mi...@apache.org>
Datum: Freitag, 11. November 2022 um 15:40
An: dev@streampipes.apache.org <de...@streampipes.apache.org>
Betreff: Re: yet another IntelliJ problem
Hi Philipp,

yes I changed it in here [1].
I tried a couple of settings

from
* hostname like `SP_HOST=homebase`
* IP like `SP_HOST=homebase`
* Docker Host IP `SP_HOST=172.17.0.1`

Here [2] I reverted it as you mentioned.

> > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br>
> >
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=7023<br><br>
> > #SP_HOST=host.docker.internal<br><br>
> > #SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > SP_COUCHDB_HOST=localhost<br><br>
> > SP_JMS_HOST=localhost<br><br>
> > SP_JMS_PORT=61616<br><br>
> > ``` <br><br>
> >

Are there any other files or plugins I missed?

Greetings
Florian

[1] https://github.com/apache/incubator-streampipes/blob/dev/development/.env
[2] https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env


Am Freitag, dem 11.11.2022 um 13:26 +0000 schrieb Philipp Zehnder:
> Hi Florian,<br>
>
> can you check if the env variable SP_HOST is set correctly to the IP address of you machine?<br>
> Because the logs say that auto discovery is used, usually with SP_HOST it should state that the provided IP address is used instead.<br>
>
>
>
> Cheers,<br>
>
> Philipp<br>
>
>
>
>
> Von: Florian Micklich <[micklich@apache.org](mailto:micklich@apache.org)><br>
> Datum: Freitag, 11. November 2022 um 13:31<br>
> An: [dev@streampipes.apache.org](mailto:dev@streampipes.apache.org) <[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)><br>
> Betreff: Re: yet another IntelliJ problem<br>
> Hi,<br>
>
> is anyone using a Linux system as well and has working running setup to share?<br>
> Still got the problem with CLI and IntelliJ.<br>
>
> I think the main problem is the auto-discovered IP and (my guess) Linux can't use host.docker.internal compared to windows and mac by default.<br>
>
>
> ```<br>
> [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br>
> That's why consul comes up with following error messages:<br>
>
> org-apache-streampipes-pe-all-jvm-KV1H6F<br>
> Get "[http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F<http://127.0.1.1:7023/svchealth/KV1H6F%5d(http:/127.0.1.1:7023/svchealth/KV1H6F>)": dial tcp 127.0.1.1:7023: connect: connection refused<br>
>
>
> connect-adapter-r8Q91b<br>
> Get "[http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b<http://127.0.1.1:8001/svchealth/r8Q91b%5d(http:/127.0.1.1:8001/svchealth/r8Q91b>)": dial tcp 127.0.1.1:8001: connect: connection refused<br>
>
>
> connect-adapter-iiot-IJjKCP<br>
> Get "[http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP<http://127.0.1.1:8002/svchealth/IJjKCP%5d(http:/127.0.1.1:8002/svchealth/IJjKCP>)": dial tcp 127.0.1.1:8002: connect: connection refused<br>
> ```<br>
>
> Greetings<br>
> Florian<br>
>
>
> Am Montag, dem 31.10.2022 um 10:34 +0100 schrieb Florian Micklich:<br>
> > Hi Philipp,<br><br>
> >
> > so to get clear. I have two .env variables.<br><br>
> >
> > in development/.env [1] I have SP_HOST=host.docker.internal by default. Due Linux I have to change this to my local ip (?)<br><br>
> >
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=6009<br><br>
> > SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > ``` <br><br>
> >
> >
> > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br>
> >
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=7023<br><br>
> > #SP_HOST=host.docker.internal<br><br>
> > #SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > SP_COUCHDB_HOST=localhost<br><br>
> > SP_JMS_HOST=localhost<br><br>
> > SP_JMS_PORT=61616<br><br>
> > ``` <br><br>
> >
> >
> > Is this settings correct so far?<br><br>
> > But I have still the same behavior in consul.<br><br>
> >
> >
> > My logs looks like this after starting the debugger:<br><br>
> >
> > ``` <br><br>
> > /home/micklich/.sdkman/candidates/java/11.0.17-zulu/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50461,suspend=y,server=n -javaagent:/home/micklich/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /tmp/classpath115376425.jar org.apache.streampipes.extensions.all.jvm.AllExtensionsInit<br><br>
> > Connected to the target VM, address: '127.0.0.1:50461', transport: 'socket'<br><br>
> > 10:29:46.290 [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br><br>
> > 10:29:46.294 [main] INFO org.apache.streampipes.commons.networking.Networking - Using port from provided environment variable SP_PORT: 7023<br><br>
> > 10:29:46.313 [main] INFO org.apache.streampipes.container.init.DeclarersSingleton - Registering 11 configs in key/value store<br><br>
> > 10:29:46.319 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available...<br><br>
> > 10:29:46.327 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Successfully connected to Consul<br><br>
> > 10:29:47.283 [OkHttp [[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))...<[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))...<http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "core" (index=2994), request duration: 200 ms<br><br>
> > 10:29:47.298 [OkHttp [[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))...<[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))...<http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3009), request duration: 7 ms<br><br>
> > 10:29:47.563 [main] INFO org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery - Successfully registered service at Consul: org.apache.streampipes.extensions.all.jvm-8jUycO<br><br>
> > 10:29:47.580 [OkHttp [[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))...<[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))...<http://localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...%3c%5bhttp:/localhost:8500/%5d(http:/localhost:8500/)%5d(http:/localhost:8500/%5d(http:/localhost:8500/))...>>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3092), request duration: 280 ms<br><br>
> >  _______ __                              ______ __<br><br>>
> > >     __|  |_.----.-----.---.-.--------.|   __ \__|.-----.-----.-----.<br><br>
> > > __     |   _|   _|  -__|  _  |        ||    __/  ||  _  |  -__|__ --|<br><br>
> > > _______|____|__| |_____|___._|__|__|__||___|  |__||   __|_____|_____|<br><br>
> >                                                    |__|<br><br>
> > ** StreamPipes Extensions Container **<br><br>
> >
> > 2022-10-31 10:29:48.215  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Starting AllExtensionsInit using Java 11.0.17 on homebase with PID 23495 (/home/micklich/streampipes/incubator-streampipes/streampipes-extensions/streampipes-extensions-all-jvm/target/classes started by micklich in /home/micklich/streampipes/incubator-streampipes)<br><br>
> > 2022-10-31 10:29:48.217  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : No active profile set, falling back to 1 default profile: "default"<br><br>
> > 2022-10-31 10:29:49.140  WARN 23495 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used<br><br>
> > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext<br><br>
> > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 908 ms<br><br>
> > 2022-10-31 10:29:49.455  INFO 23495 --- [           main] s.s.c.a.w.c.WebSecurityConfigurerAdapter : Configured anonymous access for this service, consider providing an authentication option.<br><br>
> > 2022-10-31 10:29:49.498  INFO 23495 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@dc59ec2, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d969330, org.springframework.security.web.header.HeaderWriterFilter@2094bf3d, org.springframework.security.web.authentication.logout.LogoutFilter@66020d69, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c8f4bc7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7d66a126, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@375084c9, org.springframework.security.web.session.SessionManagementFilter@7f6b7426, org.springframework.security.web.access.ExceptionTranslationFilter@57a667c8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6bb4cc0e]<br><br>
> > 2022-10-31 10:29:49.698  INFO 23495 --- [           main] io.undertow                              : starting server: Undertow - 2.2.17.Final<br><br>
> > 2022-10-31 10:29:49.709  INFO 23495 --- [           main] org.xnio                                 : XNIO version 3.8.6.Final<br><br>
> > 2022-10-31 10:29:49.722  INFO 23495 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final<br><br>
> > 2022-10-31 10:29:49.809  INFO 23495 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final<br><br>
> > 2022-10-31 10:29:49.856  INFO 23495 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 7023 (http)<br><br>
> > 2022-10-31 10:29:49.868  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Started AllExtensionsInit in 2.154 seconds (JVM running for 4.293)<br><br>
> > 2022-10-31 10:29:49.935  INFO 23495 --- [           main] o.a.s.commons.networking.Networking      : Using auto-discovered IP: 127.0.1.1<br><br>
> > 2022-10-31 10:29:50.304  INFO 23495 --- [           main] c.c.w.i.ConnectWorkerRegistrationService : Successfully connected to master. Worker is now running.<br><br>
> > ``` <br><br>
> >
> >
> > Greetings<br><br>
> >
> >
> >
> > [1] [[https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env))<br<[https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)>><br<https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)%3e%3e%3cbr>>
> >
> > [2] [[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))<br<[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)>><br<https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))%3cbr%3c%5bhttps:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)%3e%3e%3cbr>>
> >
> >
> >
> >
> > Am Montag, dem 31.10.2022 um 08:21 +0000 schrieb Philipp Zehnder:<br><br>>
> > > Hi Florian,<br><br><br>
> > >
> > > can you try to remove the SP_HOST from the environment variables.<br><br><br>
> > > We now use auto discovery to get the IP address. Auto discovery is used when no SP_HOST variable is set.<br><br><br>
> > >
> > > To see if it is working you can check the logs. A message should appear stating that auto discovery is being used. E.g.:<br><br><br>
> > > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.0.56<br><br><br>
> > >
> > > If this does not work, please send the logs so we can check what is going wrong.<br><br><br>
> > >
> > > Cheers,<br><br><br>
> > > Philipp<br><br><br>
> > >
> > >
> > >
> > > Von: Florian Micklich <[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org)))><br><br><br>
> > > Datum: Samstag, 29. Oktober 2022 um 18:47<br><br><br>
> > > An: [[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))) <[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))><br><br><br>
> > > Betreff: yet another IntelliJ problem<br><br><br>
> > > Hi all,<br><br><br>
> > >
> > > I have again a small develop problem due moving setup to a new computer.<br><br><br>
> > > Breakpoints and log output do not create any actions in intelij (I set them in the processor in the onEvent method)<br><br><br>
> > >
> > > The CLI is running and is also representative in consul (org.apache.streampipes.extensions.all.jvm-zeOgsy)<br><br><br>
> > >
> > > 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:<br><br><br>
> > >
> > >
> > > ```<br><br><br>
> > > Get "[[[http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)<[http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh<http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%3c%5bhttp:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh>)>))": dial tcp 127.0.1.1:7023: connect: connection refused<br><br><br>
> > > ``<br><br><br>
> > >
> > > My env looks like this and I set SP_HOST to my local IP address as mentioned here [1] due I use Linux.<br><br><br>
> > >
> > > ```<br><br><br>
> > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br>
> > > SP_PORT=7023<br><br><br>
> > > SP_HOST=192.168.178.100<br><br><br>
> > > SP_DEBUG=true<br><br><br>
> > > SP_COUCHDB_HOST=localhost<br><br><br>
> > > SP_JMS_HOST=localhost<br><br><br>
> > > SP_JMS_PORT=61616<br><br><br>
> > > SP_DATA_LAKE_HOST=localhost<br><br><br>
> > > SP_DATA_LAKE_PORT=8086<br><br><br>
> > > SP_BACKEND_HOST=localhost<br><br><br>
> > > SP_BACKEND_PORT=8030<br><br><br>
> > > ``<br><br><br>
> > >
> > > If I call [[[http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)<[http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/<http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%3c%5bhttp:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/>)>)) I guess that I see the elements from the CLI but why is it refused?<br><br><br>
> > >
> > > Any suggestion what to do?<br><br><br>
> > >
> > > Greetings<br><br><br>
> > > Florian<br><br><br>
> > >
> > > [1] [[[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))<br><br<[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)>><br<https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))%3cbr%3e%3cbr%3c%5bhttps:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)%3e%3e%3cbr>>

Re: yet another IntelliJ problem

Posted by Florian Micklich <mi...@apache.org>.
Hi Philipp,

yes I changed it in here [1].
I tried a couple of settings

from
* hostname like `SP_HOST=homebase`
* IP like `SP_HOST=homebase`
* Docker Host IP `SP_HOST=172.17.0.1`

Here [2] I reverted it as you mentioned.

> > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br>
> > 
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=7023<br><br>
> > #SP_HOST=host.docker.internal<br><br>
> > #SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > SP_COUCHDB_HOST=localhost<br><br>
> > SP_JMS_HOST=localhost<br><br>
> > SP_JMS_PORT=61616<br><br>
> > ``` <br><br>
> > 

Are there any other files or plugins I missed?

Greetings
Florian

[1] https://github.com/apache/incubator-streampipes/blob/dev/development/.env
[2] https://github.com/apache/incubator-streampipes/blob/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development/env


Am Freitag, dem 11.11.2022 um 13:26 +0000 schrieb Philipp Zehnder:
> Hi Florian,<br>
> 
> can you check if the env variable SP_HOST is set correctly to the IP address of you machine?<br>
> Because the logs say that auto discovery is used, usually with SP_HOST it should state that the provided IP address is used instead.<br>
> 
> 
> 
> Cheers,<br>
> 
> Philipp<br>
> 
> 
> 
> 
> Von: Florian Micklich <[micklich@apache.org](mailto:micklich@apache.org)><br>
> Datum: Freitag, 11. November 2022 um 13:31<br>
> An: [dev@streampipes.apache.org](mailto:dev@streampipes.apache.org) <[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)><br>
> Betreff: Re: yet another IntelliJ problem<br>
> Hi,<br>
> 
> is anyone using a Linux system as well and has working running setup to share?<br>
> Still got the problem with CLI and IntelliJ.<br>
> 
> I think the main problem is the auto-discovered IP and (my guess) Linux can't use host.docker.internal compared to windows and mac by default.<br>
> 
> 
> ```<br>
> [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br>
> That's why consul comes up with following error messages:<br>
> 
> org-apache-streampipes-pe-all-jvm-KV1H6F<br>
> Get "[http://127.0.1.1:7023/svchealth/KV1H6F](http://127.0.1.1:7023/svchealth/KV1H6F)": dial tcp 127.0.1.1:7023: connect: connection refused<br>
> 
> 
> connect-adapter-r8Q91b<br>
> Get "[http://127.0.1.1:8001/svchealth/r8Q91b](http://127.0.1.1:8001/svchealth/r8Q91b)": dial tcp 127.0.1.1:8001: connect: connection refused<br>
> 
> 
> connect-adapter-iiot-IJjKCP<br>
> Get "[http://127.0.1.1:8002/svchealth/IJjKCP](http://127.0.1.1:8002/svchealth/IJjKCP)": dial tcp 127.0.1.1:8002: connect: connection refused<br>
> ```<br>
> 
> Greetings<br>
> Florian<br>
> 
> 
> Am Montag, dem 31.10.2022 um 10:34 +0100 schrieb Florian Micklich:<br>
> > Hi Philipp,<br><br>
> > 
> > so to get clear. I have two .env variables.<br><br>
> > 
> > in development/.env [1] I have SP_HOST=host.docker.internal by default. Due Linux I have to change this to my local ip (?)<br><br>
> > 
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=6009<br><br>
> > SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > ``` <br><br>
> > 
> > 
> > In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br><br>
> > 
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=7023<br><br>
> > #SP_HOST=host.docker.internal<br><br>
> > #SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > SP_COUCHDB_HOST=localhost<br><br>
> > SP_JMS_HOST=localhost<br><br>
> > SP_JMS_PORT=61616<br><br>
> > ``` <br><br>
> > 
> > 
> > Is this settings correct so far?<br><br>
> > But I have still the same behavior in consul.<br><br>
> > 
> > 
> > My logs looks like this after starting the debugger:<br><br>
> > 
> > ``` <br><br>
> > /home/micklich/.sdkman/candidates/java/11.0.17-zulu/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50461,suspend=y,server=n -javaagent:/home/micklich/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /tmp/classpath115376425.jar org.apache.streampipes.extensions.all.jvm.AllExtensionsInit<br><br>
> > Connected to the target VM, address: '127.0.0.1:50461', transport: 'socket'<br><br>
> > 10:29:46.290 [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br><br>
> > 10:29:46.294 [main] INFO org.apache.streampipes.commons.networking.Networking - Using port from provided environment variable SP_PORT: 7023<br><br>
> > 10:29:46.313 [main] INFO org.apache.streampipes.container.init.DeclarersSingleton - Registering 11 configs in key/value store<br><br>
> > 10:29:46.319 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available...<br><br>
> > 10:29:46.327 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Successfully connected to Consul<br><br>
> > 10:29:47.283 [OkHttp [[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))...<[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))...>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "core" (index=2994), request duration: 200 ms<br><br>
> > 10:29:47.298 [OkHttp [[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))...<[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))...>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3009), request duration: 7 ms<br><br>
> > 10:29:47.563 [main] INFO org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery - Successfully registered service at Consul: org.apache.streampipes.extensions.all.jvm-8jUycO<br><br>
> > 10:29:47.580 [OkHttp [[http://localhost:8500/](http://localhost:8500/)](http://localhost:8500/](http://localhost:8500/))...<[http://localhost:8500/%5d(http:/localhost:8500/)](http://localhost:8500/%5d(http:/localhost:8500/))...>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3092), request duration: 280 ms<br><br>
> >  _______ __                              ______ __<br><br>> 
> > >     __|  |_.----.-----.---.-.--------.|   __ \__|.-----.-----.-----.<br><br>
> > > __     |   _|   _|  -__|  _  |        ||    __/  ||  _  |  -__|__ --|<br><br>
> > > _______|____|__| |_____|___._|__|__|__||___|  |__||   __|_____|_____|<br><br>
> >                                                    |__|<br><br>
> > ** StreamPipes Extensions Container **<br><br>
> > 
> > 2022-10-31 10:29:48.215  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Starting AllExtensionsInit using Java 11.0.17 on homebase with PID 23495 (/home/micklich/streampipes/incubator-streampipes/streampipes-extensions/streampipes-extensions-all-jvm/target/classes started by micklich in /home/micklich/streampipes/incubator-streampipes)<br><br>
> > 2022-10-31 10:29:48.217  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : No active profile set, falling back to 1 default profile: "default"<br><br>
> > 2022-10-31 10:29:49.140  WARN 23495 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used<br><br>
> > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext<br><br>
> > 2022-10-31 10:29:49.161  INFO 23495 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 908 ms<br><br>
> > 2022-10-31 10:29:49.455  INFO 23495 --- [           main] s.s.c.a.w.c.WebSecurityConfigurerAdapter : Configured anonymous access for this service, consider providing an authentication option.<br><br>
> > 2022-10-31 10:29:49.498  INFO 23495 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@dc59ec2, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d969330, org.springframework.security.web.header.HeaderWriterFilter@2094bf3d, org.springframework.security.web.authentication.logout.LogoutFilter@66020d69, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c8f4bc7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7d66a126, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@375084c9, org.springframework.security.web.session.SessionManagementFilter@7f6b7426, org.springframework.security.web.access.ExceptionTranslationFilter@57a667c8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6bb4cc0e]<br><br>
> > 2022-10-31 10:29:49.698  INFO 23495 --- [           main] io.undertow                              : starting server: Undertow - 2.2.17.Final<br><br>
> > 2022-10-31 10:29:49.709  INFO 23495 --- [           main] org.xnio                                 : XNIO version 3.8.6.Final<br><br>
> > 2022-10-31 10:29:49.722  INFO 23495 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final<br><br>
> > 2022-10-31 10:29:49.809  INFO 23495 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final<br><br>
> > 2022-10-31 10:29:49.856  INFO 23495 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 7023 (http)<br><br>
> > 2022-10-31 10:29:49.868  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Started AllExtensionsInit in 2.154 seconds (JVM running for 4.293)<br><br>
> > 2022-10-31 10:29:49.935  INFO 23495 --- [           main] o.a.s.commons.networking.Networking      : Using auto-discovered IP: 127.0.1.1<br><br>
> > 2022-10-31 10:29:50.304  INFO 23495 --- [           main] c.c.w.i.ConnectWorkerRegistrationService : Successfully connected to master. Worker is now running.<br><br>
> > ``` <br><br>
> > 
> > 
> > Greetings<br><br>
> > 
> > 
> > 
> > [1] [[https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)](https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env))<br<[https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr](https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr)>><br>
> > 
> > [2] [[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development))<br<[https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr)>><br>
> > 
> > 
> > 
> > 
> > Am Montag, dem 31.10.2022 um 08:21 +0000 schrieb Philipp Zehnder:<br><br>> 
> > > Hi Florian,<br><br><br>
> > > 
> > > can you try to remove the SP_HOST from the environment variables.<br><br><br>
> > > We now use auto discovery to get the IP address. Auto discovery is used when no SP_HOST variable is set.<br><br><br>
> > > 
> > > To see if it is working you can check the logs. A message should appear stating that auto discovery is being used. E.g.:<br><br><br>
> > > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.0.56<br><br><br>
> > > 
> > > If this does not work, please send the logs so we can check what is going wrong.<br><br><br>
> > > 
> > > Cheers,<br><br><br>
> > > Philipp<br><br><br>
> > > 
> > > 
> > > 
> > > Von: Florian Micklich <[[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))](mailto:[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org)))><br><br><br>
> > > Datum: Samstag, 29. Oktober 2022 um 18:47<br><br><br>
> > > An: [[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))) <[[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))](mailto:[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)))><br><br><br>
> > > Betreff: yet another IntelliJ problem<br><br><br>
> > > Hi all,<br><br><br>
> > > 
> > > I have again a small develop problem due moving setup to a new computer.<br><br><br>
> > > Breakpoints and log output do not create any actions in intelij (I set them in the processor in the onEvent method)<br><br><br>
> > > 
> > > The CLI is running and is also representative in consul (org.apache.streampipes.extensions.all.jvm-zeOgsy)<br><br><br>
> > > 
> > > 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:<br><br><br>
> > > 
> > > 
> > > ```<br><br><br>
> > > Get "[[[http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)<[http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)>))": dial tcp 127.0.1.1:7023: connect: connection refused<br><br><br>
> > > ``<br><br><br>
> > > 
> > > My env looks like this and I set SP_HOST to my local IP address as mentioned here [1] due I use Linux.<br><br><br>
> > > 
> > > ```<br><br><br>
> > > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br><br>
> > > SP_PORT=7023<br><br><br>
> > > SP_HOST=192.168.178.100<br><br><br>
> > > SP_DEBUG=true<br><br><br>
> > > SP_COUCHDB_HOST=localhost<br><br><br>
> > > SP_JMS_HOST=localhost<br><br><br>
> > > SP_JMS_PORT=61616<br><br><br>
> > > SP_DATA_LAKE_HOST=localhost<br><br><br>
> > > SP_DATA_LAKE_PORT=8086<br><br><br>
> > > SP_BACKEND_HOST=localhost<br><br><br>
> > > SP_BACKEND_PORT=8030<br><br><br>
> > > ``<br><br><br>
> > > 
> > > If I call [[[http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)<[http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/](http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/)>)) I guess that I see the elements from the CLI but why is it refused?<br><br><br>
> > > 
> > > Any suggestion what to do?<br><br><br>
> > > 
> > > Greetings<br><br><br>
> > > Florian<br><br><br>
> > > 
> > > [1] [[[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)))<br><br<[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr)>><br>

AW: yet another IntelliJ problem

Posted by Philipp Zehnder <ph...@bytefabrik.ai>.
Hi Florian,

can you check if the env variable SP_HOST is set correctly to the IP address of you machine?
Because the logs say that auto discovery is used, usually with SP_HOST it should state that the provided IP address is used instead.



Cheers,

Philipp




Von: Florian Micklich <mi...@apache.org>
Datum: Freitag, 11. November 2022 um 13:31
An: dev@streampipes.apache.org <de...@streampipes.apache.org>
Betreff: Re: yet another IntelliJ problem
Hi,

is anyone using a Linux system as well and has working running setup to share?
Still got the problem with CLI and IntelliJ.

I think the main problem is the auto-discovered IP and (my guess) Linux can't use host.docker.internal compared to windows and mac by default.


```
[main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1
That's why consul comes up with following error messages:

org-apache-streampipes-pe-all-jvm-KV1H6F
Get "http://127.0.1.1:7023/svchealth/KV1H6F": dial tcp 127.0.1.1:7023: connect: connection refused


connect-adapter-r8Q91b
Get "http://127.0.1.1:8001/svchealth/r8Q91b": dial tcp 127.0.1.1:8001: connect: connection refused


connect-adapter-iiot-IJjKCP
Get "http://127.0.1.1:8002/svchealth/IJjKCP": dial tcp 127.0.1.1:8002: connect: connection refused
```

Greetings
Florian


Am Montag, dem 31.10.2022 um 10:34 +0100 schrieb Florian Micklich:
> Hi Philipp,<br>
>
> so to get clear. I have two .env variables.<br>
>
> in development/.env [1] I have SP_HOST=host.docker.internal by default. Due Linux I have to change this to my local ip (?)<br>
>
> ```<br>
> # Those parameters are used by IntelliJ to set the default consul parameters for development<br>
> SP_PORT=6009<br>
> SP_HOST=192.168.178.100<br>
> SP_DEBUG=true<br>
> ``` <br>
>
>
> In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br>
>
> ```<br>
> # Those parameters are used by IntelliJ to set the default consul parameters for development<br>
> SP_PORT=7023<br>
> #SP_HOST=host.docker.internal<br>
> #SP_HOST=192.168.178.100<br>
> SP_DEBUG=true<br>
> SP_COUCHDB_HOST=localhost<br>
> SP_JMS_HOST=localhost<br>
> SP_JMS_PORT=61616<br>
> ``` <br>
>
>
> Is this settings correct so far?<br>
> But I have still the same behavior in consul.<br>
>
>
> My logs looks like this after starting the debugger:<br>
>
> ``` <br>
> /home/micklich/.sdkman/candidates/java/11.0.17-zulu/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50461,suspend=y,server=n -javaagent:/home/micklich/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /tmp/classpath115376425.jar org.apache.streampipes.extensions.all.jvm.AllExtensionsInit<br>
> Connected to the target VM, address: '127.0.0.1:50461', transport: 'socket'<br>
> 10:29:46.290 [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br>
> 10:29:46.294 [main] INFO org.apache.streampipes.commons.networking.Networking - Using port from provided environment variable SP_PORT: 7023<br>
> 10:29:46.313 [main] INFO org.apache.streampipes.container.init.DeclarersSingleton - Registering 11 configs in key/value store<br>
> 10:29:46.319 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available...<br>
> 10:29:46.327 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Successfully connected to Consul<br>
> 10:29:47.283 [OkHttp [http://localhost:8500/](http://localhost:8500/)...<http://localhost:8500/%5d(http:/localhost:8500/)...>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "core" (index=2994), request duration: 200 ms<br>
> 10:29:47.298 [OkHttp [http://localhost:8500/](http://localhost:8500/)...<http://localhost:8500/%5d(http:/localhost:8500/)...>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3009), request duration: 7 ms<br>
> 10:29:47.563 [main] INFO org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery - Successfully registered service at Consul: org.apache.streampipes.extensions.all.jvm-8jUycO<br>
> 10:29:47.580 [OkHttp [http://localhost:8500/](http://localhost:8500/)...<http://localhost:8500/%5d(http:/localhost:8500/)...>] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3092), request duration: 280 ms<br>
>  _______ __                              ______ __<br>
> >     __|  |_.----.-----.---.-.--------.|   __ \__|.-----.-----.-----.<br>
> > __     |   _|   _|  -__|  _  |        ||    __/  ||  _  |  -__|__ --|<br>
> > _______|____|__| |_____|___._|__|__|__||___|  |__||   __|_____|_____|<br>
>                                                    |__|<br>
> ** StreamPipes Extensions Container **<br>
>
> 2022-10-31 10:29:48.215  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Starting AllExtensionsInit using Java 11.0.17 on homebase with PID 23495 (/home/micklich/streampipes/incubator-streampipes/streampipes-extensions/streampipes-extensions-all-jvm/target/classes started by micklich in /home/micklich/streampipes/incubator-streampipes)<br>
> 2022-10-31 10:29:48.217  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : No active profile set, falling back to 1 default profile: "default"<br>
> 2022-10-31 10:29:49.140  WARN 23495 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used<br>
> 2022-10-31 10:29:49.161  INFO 23495 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext<br>
> 2022-10-31 10:29:49.161  INFO 23495 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 908 ms<br>
> 2022-10-31 10:29:49.455  INFO 23495 --- [           main] s.s.c.a.w.c.WebSecurityConfigurerAdapter : Configured anonymous access for this service, consider providing an authentication option.<br>
> 2022-10-31 10:29:49.498  INFO 23495 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@dc59ec2, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d969330, org.springframework.security.web.header.HeaderWriterFilter@2094bf3d, org.springframework.security.web.authentication.logout.LogoutFilter@66020d69, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c8f4bc7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7d66a126, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@375084c9, org.springframework.security.web.session.SessionManagementFilter@7f6b7426, org.springframework.security.web.access.ExceptionTranslationFilter@57a667c8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6bb4cc0e]<br>
> 2022-10-31 10:29:49.698  INFO 23495 --- [           main] io.undertow                              : starting server: Undertow - 2.2.17.Final<br>
> 2022-10-31 10:29:49.709  INFO 23495 --- [           main] org.xnio                                 : XNIO version 3.8.6.Final<br>
> 2022-10-31 10:29:49.722  INFO 23495 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final<br>
> 2022-10-31 10:29:49.809  INFO 23495 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final<br>
> 2022-10-31 10:29:49.856  INFO 23495 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 7023 (http)<br>
> 2022-10-31 10:29:49.868  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Started AllExtensionsInit in 2.154 seconds (JVM running for 4.293)<br>
> 2022-10-31 10:29:49.935  INFO 23495 --- [           main] o.a.s.commons.networking.Networking      : Using auto-discovered IP: 127.0.1.1<br>
> 2022-10-31 10:29:50.304  INFO 23495 --- [           main] c.c.w.i.ConnectWorkerRegistrationService : Successfully connected to master. Worker is now running.<br>
> ``` <br>
>
>
> Greetings<br>
>
>
>
> [1] [https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)<br<https://github.com/apache/incubator-streampipes/blob/dev/development/.env%5d(https:/github.com/apache/incubator-streampipes/blob/dev/development/.env)%3cbr>>
>
> [2] [https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)<br<https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development%5d(https:/github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)%3cbr>>
>
>
>
>
> Am Montag, dem 31.10.2022 um 08:21 +0000 schrieb Philipp Zehnder:<br>
> > Hi Florian,<br><br>
> >
> > can you try to remove the SP_HOST from the environment variables.<br><br>
> > We now use auto discovery to get the IP address. Auto discovery is used when no SP_HOST variable is set.<br><br>
> >
> > To see if it is working you can check the logs. A message should appear stating that auto discovery is being used. E.g.:<br><br>
> > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.0.56<br><br>
> >
> > If this does not work, please send the logs so we can check what is going wrong.<br><br>
> >
> > Cheers,<br><br>
> > Philipp<br><br>
> >
> >
> >
> > Von: Florian Micklich <[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))><br><br>
> > Datum: Samstag, 29. Oktober 2022 um 18:47<br><br>
> > An: [[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)) <[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))><br><br>
> > Betreff: yet another IntelliJ problem<br><br>
> > Hi all,<br><br>
> >
> > I have again a small develop problem due moving setup to a new computer.<br><br>
> > Breakpoints and log output do not create any actions in intelij (I set them in the processor in the onEvent method)<br><br>
> >
> > The CLI is running and is also representative in consul (org.apache.streampipes.extensions.all.jvm-zeOgsy)<br><br>
> >
> > 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:<br><br>
> >
> >
> > ```<br><br>
> > Get "[[http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh<http://127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh)%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh%5d(http:/127.0.1.1:7023/svchealth/Fj76Sh>))": dial tcp 127.0.1.1:7023: connect: connection refused<br><br>
> > ``<br><br>
> >
> > My env looks like this and I set SP_HOST to my local IP address as mentioned here [1] due I use Linux.<br><br>
> >
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=7023<br><br>
> > SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > SP_COUCHDB_HOST=localhost<br><br>
> > SP_JMS_HOST=localhost<br><br>
> > SP_JMS_PORT=61616<br><br>
> > SP_DATA_LAKE_HOST=localhost<br><br>
> > SP_DATA_LAKE_PORT=8086<br><br>
> > SP_BACKEND_HOST=localhost<br><br>
> > SP_BACKEND_PORT=8030<br><br>
> > ``<br><br>
> >
> > If I call [[http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/<http://localhost:7023/%5d(http:/localhost:7023/)%5d(http:/localhost:7023/%5d(http:/localhost:7023/>)) I guess that I see the elements from the CLI but why is it refused?<br><br>
> >
> > Any suggestion what to do?<br><br>
> >
> > Greetings<br><br>
> > Florian<br><br>
> >
> > [1] [[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))<br><br<https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions%5d(https:/cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))%3cbr%3e%3cbr>>

Re: yet another IntelliJ problem

Posted by Florian Micklich <mi...@apache.org>.
Hi,

is anyone using a Linux system as well and has working running setup to share?
Still got the problem with CLI and IntelliJ.

I think the main problem is the auto-discovered IP and (my guess) Linux can't use host.docker.internal compared to windows and mac by default.


``` 
[main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1
That's why consul comes up with following error messages:

org-apache-streampipes-pe-all-jvm-KV1H6F
Get "http://127.0.1.1:7023/svchealth/KV1H6F": dial tcp 127.0.1.1:7023: connect: connection refused


connect-adapter-r8Q91b
Get "http://127.0.1.1:8001/svchealth/r8Q91b": dial tcp 127.0.1.1:8001: connect: connection refused


connect-adapter-iiot-IJjKCP
Get "http://127.0.1.1:8002/svchealth/IJjKCP": dial tcp 127.0.1.1:8002: connect: connection refused
``` 

Greetings
Florian


Am Montag, dem 31.10.2022 um 10:34 +0100 schrieb Florian Micklich:
> Hi Philipp,<br>
> 
> so to get clear. I have two .env variables.<br>
> 
> in development/.env [1] I have SP_HOST=host.docker.internal by default. Due Linux I have to change this to my local ip (?)<br>
> 
> ```<br>
> # Those parameters are used by IntelliJ to set the default consul parameters for development<br>
> SP_PORT=6009<br>
> SP_HOST=192.168.178.100<br>
> SP_DEBUG=true<br>
> ``` <br>
> 
> 
> In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.<br>
> 
> ```<br>
> # Those parameters are used by IntelliJ to set the default consul parameters for development<br>
> SP_PORT=7023<br>
> #SP_HOST=host.docker.internal<br>
> #SP_HOST=192.168.178.100<br>
> SP_DEBUG=true<br>
> SP_COUCHDB_HOST=localhost<br>
> SP_JMS_HOST=localhost<br>
> SP_JMS_PORT=61616<br>
> ``` <br>
> 
> 
> Is this settings correct so far?<br>
> But I have still the same behavior in consul.<br>
> 
> 
> My logs looks like this after starting the debugger:<br>
> 
> ``` <br>
> /home/micklich/.sdkman/candidates/java/11.0.17-zulu/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50461,suspend=y,server=n -javaagent:/home/micklich/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /tmp/classpath115376425.jar org.apache.streampipes.extensions.all.jvm.AllExtensionsInit<br>
> Connected to the target VM, address: '127.0.0.1:50461', transport: 'socket'<br>
> 10:29:46.290 [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1<br>
> 10:29:46.294 [main] INFO org.apache.streampipes.commons.networking.Networking - Using port from provided environment variable SP_PORT: 7023<br>
> 10:29:46.313 [main] INFO org.apache.streampipes.container.init.DeclarersSingleton - Registering 11 configs in key/value store<br>
> 10:29:46.319 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available...<br>
> 10:29:46.327 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Successfully connected to Consul<br>
> 10:29:47.283 [OkHttp [http://localhost:8500/](http://localhost:8500/)...] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "core" (index=2994), request duration: 200 ms<br>
> 10:29:47.298 [OkHttp [http://localhost:8500/](http://localhost:8500/)...] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3009), request duration: 7 ms<br>
> 10:29:47.563 [main] INFO org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery - Successfully registered service at Consul: org.apache.streampipes.extensions.all.jvm-8jUycO<br>
> 10:29:47.580 [OkHttp [http://localhost:8500/](http://localhost:8500/)...] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3092), request duration: 280 ms<br>
>  _______ __                              ______ __<br>
> >     __|  |_.----.-----.---.-.--------.|   __ \__|.-----.-----.-----.<br>
> > __     |   _|   _|  -__|  _  |        ||    __/  ||  _  |  -__|__ --|<br>
> > _______|____|__| |_____|___._|__|__|__||___|  |__||   __|_____|_____|<br>
>                                                    |__|<br>
> ** StreamPipes Extensions Container **<br>
> 
> 2022-10-31 10:29:48.215  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Starting AllExtensionsInit using Java 11.0.17 on homebase with PID 23495 (/home/micklich/streampipes/incubator-streampipes/streampipes-extensions/streampipes-extensions-all-jvm/target/classes started by micklich in /home/micklich/streampipes/incubator-streampipes)<br>
> 2022-10-31 10:29:48.217  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : No active profile set, falling back to 1 default profile: "default"<br>
> 2022-10-31 10:29:49.140  WARN 23495 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used<br>
> 2022-10-31 10:29:49.161  INFO 23495 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext<br>
> 2022-10-31 10:29:49.161  INFO 23495 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 908 ms<br>
> 2022-10-31 10:29:49.455  INFO 23495 --- [           main] s.s.c.a.w.c.WebSecurityConfigurerAdapter : Configured anonymous access for this service, consider providing an authentication option.<br>
> 2022-10-31 10:29:49.498  INFO 23495 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@dc59ec2, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d969330, org.springframework.security.web.header.HeaderWriterFilter@2094bf3d, org.springframework.security.web.authentication.logout.LogoutFilter@66020d69, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c8f4bc7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7d66a126, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@375084c9, org.springframework.security.web.session.SessionManagementFilter@7f6b7426, org.springframework.security.web.access.ExceptionTranslationFilter@57a667c8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6bb4cc0e]<br>
> 2022-10-31 10:29:49.698  INFO 23495 --- [           main] io.undertow                              : starting server: Undertow - 2.2.17.Final<br>
> 2022-10-31 10:29:49.709  INFO 23495 --- [           main] org.xnio                                 : XNIO version 3.8.6.Final<br>
> 2022-10-31 10:29:49.722  INFO 23495 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final<br>
> 2022-10-31 10:29:49.809  INFO 23495 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final<br>
> 2022-10-31 10:29:49.856  INFO 23495 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 7023 (http)<br>
> 2022-10-31 10:29:49.868  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Started AllExtensionsInit in 2.154 seconds (JVM running for 4.293)<br>
> 2022-10-31 10:29:49.935  INFO 23495 --- [           main] o.a.s.commons.networking.Networking      : Using auto-discovered IP: 127.0.1.1<br>
> 2022-10-31 10:29:50.304  INFO 23495 --- [           main] c.c.w.i.ConnectWorkerRegistrationService : Successfully connected to master. Worker is now running.<br>
> ``` <br>
> 
> 
> Greetings<br>
> 
> 
> 
> [1] [https://github.com/apache/incubator-streampipes/blob/dev/development/.env](https://github.com/apache/incubator-streampipes/blob/dev/development/.env)<br>
> 
> [2] [https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development](https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development)<br>
> 
> 
> 
> 
> Am Montag, dem 31.10.2022 um 08:21 +0000 schrieb Philipp Zehnder:<br>
> > Hi Florian,<br><br>
> > 
> > can you try to remove the SP_HOST from the environment variables.<br><br>
> > We now use auto discovery to get the IP address. Auto discovery is used when no SP_HOST variable is set.<br><br>
> > 
> > To see if it is working you can check the logs. A message should appear stating that auto discovery is being used. E.g.:<br><br>
> > [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.0.56<br><br>
> > 
> > If this does not work, please send the logs so we can check what is going wrong.<br><br>
> > 
> > Cheers,<br><br>
> > Philipp<br><br>
> > 
> > 
> > 
> > Von: Florian Micklich <[[micklich@apache.org](mailto:micklich@apache.org)](mailto:[micklich@apache.org](mailto:micklich@apache.org))><br><br>
> > Datum: Samstag, 29. Oktober 2022 um 18:47<br><br>
> > An: [[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)) <[[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)](mailto:[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org))><br><br>
> > Betreff: yet another IntelliJ problem<br><br>
> > Hi all,<br><br>
> > 
> > I have again a small develop problem due moving setup to a new computer.<br><br>
> > Breakpoints and log output do not create any actions in intelij (I set them in the processor in the onEvent method)<br><br>
> > 
> > The CLI is running and is also representative in consul (org.apache.streampipes.extensions.all.jvm-zeOgsy)<br><br>
> > 
> > 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:<br><br>
> > 
> > 
> > ```<br><br>
> > Get "[[http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)](http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh))": dial tcp 127.0.1.1:7023: connect: connection refused<br><br>
> > ``<br><br>
> > 
> > My env looks like this and I set SP_HOST to my local IP address as mentioned here [1] due I use Linux.<br><br>
> > 
> > ```<br><br>
> > # Those parameters are used by IntelliJ to set the default consul parameters for development<br><br>
> > SP_PORT=7023<br><br>
> > SP_HOST=192.168.178.100<br><br>
> > SP_DEBUG=true<br><br>
> > SP_COUCHDB_HOST=localhost<br><br>
> > SP_JMS_HOST=localhost<br><br>
> > SP_JMS_PORT=61616<br><br>
> > SP_DATA_LAKE_HOST=localhost<br><br>
> > SP_DATA_LAKE_PORT=8086<br><br>
> > SP_BACKEND_HOST=localhost<br><br>
> > SP_BACKEND_PORT=8030<br><br>
> > ``<br><br>
> > 
> > If I call [[http://localhost:7023/](http://localhost:7023/)](http://localhost:7023/](http://localhost:7023/)) I guess that I see the elements from the CLI but why is it refused?<br><br>
> > 
> > Any suggestion what to do?<br><br>
> > 
> > Greetings<br><br>
> > Florian<br><br>
> > 
> > [1] [[https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions))<br><br>

Re: yet another IntelliJ problem

Posted by Florian Micklich <mi...@apache.org>.
Hi Philipp,

so to get clear. I have two .env variables.

in development/.env [1] I have SP_HOST=host.docker.internal by default. Due Linux I have to change this to my local ip (?)

```
# Those parameters are used by IntelliJ to set the default consul parameters for development
SP_PORT=6009
SP_HOST=192.168.178.100
SP_DEBUG=true
``` 


In streampipes-pipeline-elements-all-jvm/development [2] I removed the SP_HOST as you mentioned.

```
# Those parameters are used by IntelliJ to set the default consul parameters for development
SP_PORT=7023
#SP_HOST=host.docker.internal
#SP_HOST=192.168.178.100
SP_DEBUG=true
SP_COUCHDB_HOST=localhost
SP_JMS_HOST=localhost
SP_JMS_PORT=61616
``` 


Is this settings correct so far?
But I have still the same behavior in consul.


My logs looks like this after starting the debugger:

``` 
/home/micklich/.sdkman/candidates/java/11.0.17-zulu/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50461,suspend=y,server=n -javaagent:/home/micklich/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/plugins/java/lib/rt/debugger-agent.jar=file:/tmp/capture.props -Dfile.encoding=UTF-8 -classpath /tmp/classpath115376425.jar org.apache.streampipes.extensions.all.jvm.AllExtensionsInit
Connected to the target VM, address: '127.0.0.1:50461', transport: 'socket'
10:29:46.290 [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 127.0.1.1
10:29:46.294 [main] INFO org.apache.streampipes.commons.networking.Networking - Using port from provided environment variable SP_PORT: 7023
10:29:46.313 [main] INFO org.apache.streampipes.container.init.DeclarersSingleton - Registering 11 configs in key/value store
10:29:46.319 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available...
10:29:46.327 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Successfully connected to Consul
10:29:47.283 [OkHttp http://localhost:8500/...] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "core" (index=2994), request duration: 200 ms
10:29:47.298 [OkHttp http://localhost:8500/...] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3009), request duration: 7 ms
10:29:47.563 [main] INFO org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery - Successfully registered service at Consul: org.apache.streampipes.extensions.all.jvm-8jUycO
10:29:47.580 [OkHttp http://localhost:8500/...] DEBUG com.orbitz.consul.cache.ConsulCache - Consul cache updated for health.service "ext" (index=3092), request duration: 280 ms
 _______ __                              ______ __
|     __|  |_.----.-----.---.-.--------.|   __ \__|.-----.-----.-----.
|__     |   _|   _|  -__|  _  |        ||    __/  ||  _  |  -__|__ --|
|_______|____|__| |_____|___._|__|__|__||___|  |__||   __|_____|_____|
                                                   |__|
** StreamPipes Extensions Container **

2022-10-31 10:29:48.215  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Starting AllExtensionsInit using Java 11.0.17 on homebase with PID 23495 (/home/micklich/streampipes/incubator-streampipes/streampipes-extensions/streampipes-extensions-all-jvm/target/classes started by micklich in /home/micklich/streampipes/incubator-streampipes)
2022-10-31 10:29:48.217  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : No active profile set, falling back to 1 default profile: "default"
2022-10-31 10:29:49.140  WARN 23495 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
2022-10-31 10:29:49.161  INFO 23495 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2022-10-31 10:29:49.161  INFO 23495 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 908 ms
2022-10-31 10:29:49.455  INFO 23495 --- [           main] s.s.c.a.w.c.WebSecurityConfigurerAdapter : Configured anonymous access for this service, consider providing an authentication option.
2022-10-31 10:29:49.498  INFO 23495 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@dc59ec2, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d969330, org.springframework.security.web.header.HeaderWriterFilter@2094bf3d, org.springframework.security.web.authentication.logout.LogoutFilter@66020d69, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c8f4bc7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7d66a126, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@375084c9, org.springframework.security.web.session.SessionManagementFilter@7f6b7426, org.springframework.security.web.access.ExceptionTranslationFilter@57a667c8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6bb4cc0e]
2022-10-31 10:29:49.698  INFO 23495 --- [           main] io.undertow                              : starting server: Undertow - 2.2.17.Final
2022-10-31 10:29:49.709  INFO 23495 --- [           main] org.xnio                                 : XNIO version 3.8.6.Final
2022-10-31 10:29:49.722  INFO 23495 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final
2022-10-31 10:29:49.809  INFO 23495 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final
2022-10-31 10:29:49.856  INFO 23495 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 7023 (http)
2022-10-31 10:29:49.868  INFO 23495 --- [           main] o.a.s.e.all.jvm.AllExtensionsInit        : Started AllExtensionsInit in 2.154 seconds (JVM running for 4.293)
2022-10-31 10:29:49.935  INFO 23495 --- [           main] o.a.s.commons.networking.Networking      : Using auto-discovered IP: 127.0.1.1
2022-10-31 10:29:50.304  INFO 23495 --- [           main] c.c.w.i.ConnectWorkerRegistrationService : Successfully connected to master. Worker is now running.
``` 


Greetings



[1] https://github.com/apache/incubator-streampipes/blob/dev/development/.env

[2] https://github.com/apache/incubator-streampipes/tree/dev/streampipes-extensions/streampipes-pipeline-elements-all-jvm/development




Am Montag, dem 31.10.2022 um 08:21 +0000 schrieb Philipp Zehnder:
> Hi Florian,<br>
> 
> can you try to remove the SP_HOST from the environment variables.<br>
> We now use auto discovery to get the IP address. Auto discovery is used when no SP_HOST variable is set.<br>
> 
> To see if it is working you can check the logs. A message should appear stating that auto discovery is being used. E.g.:<br>
> [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.0.56<br>
> 
> If this does not work, please send the logs so we can check what is going wrong.<br>
> 
> Cheers,<br>
> Philipp<br>
> 
> 
> 
> Von: Florian Micklich <[micklich@apache.org](mailto:micklich@apache.org)><br>
> Datum: Samstag, 29. Oktober 2022 um 18:47<br>
> An: [dev@streampipes.apache.org](mailto:dev@streampipes.apache.org) <[dev@streampipes.apache.org](mailto:dev@streampipes.apache.org)><br>
> Betreff: yet another IntelliJ problem<br>
> Hi all,<br>
> 
> I have again a small develop problem due moving setup to a new computer.<br>
> Breakpoints and log output do not create any actions in intelij (I set them in the processor in the onEvent method)<br>
> 
> The CLI is running and is also representative in consul (org.apache.streampipes.extensions.all.jvm-zeOgsy)<br>
> 
> 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:<br>
> 
> 
> ```<br>
> Get "[http://127.0.1.1:7023/svchealth/Fj76Sh](http://127.0.1.1:7023/svchealth/Fj76Sh)": dial tcp 127.0.1.1:7023: connect: connection refused<br>
> ``<br>
> 
> My env looks like this and I set SP_HOST to my local IP address as mentioned here [1] due I use Linux.<br>
> 
> ```<br>
> # Those parameters are used by IntelliJ to set the default consul parameters for development<br>
> SP_PORT=7023<br>
> SP_HOST=192.168.178.100<br>
> SP_DEBUG=true<br>
> SP_COUCHDB_HOST=localhost<br>
> SP_JMS_HOST=localhost<br>
> SP_JMS_PORT=61616<br>
> SP_DATA_LAKE_HOST=localhost<br>
> SP_DATA_LAKE_PORT=8086<br>
> SP_BACKEND_HOST=localhost<br>
> SP_BACKEND_PORT=8030<br>
> ``<br>
> 
> If I call [http://localhost:7023/](http://localhost:7023/) I guess that I see the elements from the CLI but why is it refused?<br>
> 
> Any suggestion what to do?<br>
> 
> Greetings<br>
> Florian<br>
> 
> [1] [https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions](https://cwiki.apache.org/confluence/display/STREAMPIPES/Extensions)<br>

AW: yet another IntelliJ problem

Posted by Philipp Zehnder <ph...@bytefabrik.ai>.
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 <mi...@apache.org>
Datum: Samstag, 29. Oktober 2022 um 18:47
An: dev@streampipes.apache.org <de...@streampipes.apache.org>
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