GitHub user RuneRoven added a comment to the discussion: error with nginx while 
running on kubernetes

i a running k3OS with k3s 
![image](https://user-images.githubusercontent.com/112306429/219137447-72d88b9a-c447-4f64-8f0c-a06615ff795e.png)
when trying to find elements it just keeps loading and backend throws error:

        at 
org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:261)
        ... 91 common frames omitted

2023-02-15T19:55:19.486Z ERROR 1 --- [nio-8030-exec-4] 
[.[.[.a.s.s.c.StreamPipesResourceConfig] : Servlet.service() for servlet 
[org.apache.streampipes.service.core.StreamPipesResourceConfig] in context with 
path [/streampipes-backend] threw exception [java.lang.NullPointerException: 
Cannot invoke "String.length()" because "this.input" is null] with root cause

java.lang.NullPointerException: Cannot invoke "String.length()" because 
"this.input" is null
        at java.base/java.net.URI$Parser.parse(Unknown Source)
        at java.base/java.net.URI.<init>(Unknown Source)
        at java.base/java.net.URI.create(Unknown Source)
        at org.apache.http.client.fluent.Request.Get(Request.java:86)

and from extensions pod i get:

Caused by: org.apache.http.ProtocolException: Target host is not specified
        at 
org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
        at 
org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
        at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
        ... 22 common frames omitted

2023-02-15T19:57:39.602Z  INFO 1 --- [           main] 
s.s.e.c.ConnectWorkerRegistrationService : Retrying in 5 seconds
2023-02-15T19:57:48.252Z ERROR 1 --- [           main] 
o.a.s.s.e.connect.ConnectRestClient      : Could not register adapter at url - 
is a 'StreamPipes Core' service running?

org.apache.streampipes.commons.exceptions.SpRuntimeException: Could not connect 
to the StreamPipes API - please check that StreamPipes is available
        at 
org.apache.streampipes.client.http.HttpRequest.executeRequest(HttpRequest.java:111)
        at 
org.apache.streampipes.client.api.AbstractClientApi.post(AbstractClientApi.java:46)
        at 
org.apache.streampipes.client.api.AdminApi.registerAdapters(AdminApi.java:36)



GitHub link: 
https://github.com/apache/streampipes/discussions/1225#discussioncomment-4987523

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to