[
https://issues.apache.org/jira/browse/STREAMPIPES-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423769#comment-17423769
]
Dominik Riemer commented on STREAMPIPES-387:
--------------------------------------------
Thanks!
I think that 127.0.1.1 doesn't resolve to your host from inside a Docker
container.
I suggest that you start the Greeter Service with an SP_HOST env variable which
provides an IP or hostname that can be accessed from the backend service
running in Docker.
On Mac and Windows, there is a "host.docker.internal" hostname, but I think
there's no equivalent for Ubuntu.
You can try a 172.x.x.x address as stated here
-[https://stackoverflow.com/questions/48546124/what-is-linux-equivalent-of-host-docker-internal/61001152]
Try to check the IP of the docker0 interface and provide the address as the
SP_HOST variable.
> Split StreamPipes Connect worker into two different services
> ------------------------------------------------------------
>
> Key: STREAMPIPES-387
> URL: https://issues.apache.org/jira/browse/STREAMPIPES-387
> Project: StreamPipes
> Issue Type: Improvement
> Components: Connect
> Reporter: Dominik Riemer
> Priority: Major
> Fix For: 0.69.0
>
> Attachments: Screenshot from 2021-10-04 10-08-15.png, Screenshot from
> 2021-10-04 10-10-59.png, Screenshot from 2021-10-04 10-15-14.png,
> image-2021-10-04-10-08-45-657.png
>
>
> Currently, all adapters that are included in StreamPipes are served from a
> single service. Besides IIoT adapters, there are several adapters that are
> not directly related to IIoT data ingestion, but other sources.
> By splitting the connect modules into an "iiot" module and another module
> that includes all other adapters, users can better decide which adapters are
> relevant for their use case.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)