GitHub user RuneRoven added a comment to the discussion: error with nginx while
running on kubernetes
22:05:48.233 [main] INFO org.apache.streampipes.commons.networking.Networking -
Using auto-discovered IP: 10.42.0.99
22:05:48.531 [main] INFO org.apache.streampipes.commons.networking.Networking -
Using default port: 8030
22:05:49.362 [main] INFO
org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul
is available on host consul and port 8500
22:06:02.731 [main] INFO
org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Could not connect
to Consul instance...
22:06:02.731 [main] INFO
org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Retrying in 1 second
....
....
22:09:01.958 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host:
consul:8500[\r][\n]"
22:09:01.959 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Connection: Keep-Alive[\r][\n]"
22:09:01.959 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"User-Agent: Apache-HttpClient/4.5.13 (Java/17.0.6)[\r][\n]"
22:09:01.959 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Accept-Encoding: gzip,deflate[\r][\n]"
22:09:01.959 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]"
22:09:01.959 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"{"ID":"core-qw7Uj9","Name":"core","Tags":["sys:core","sys:connect-master","sys:streampipes-client"],"Address":"http://10.42.0.99","Port":8030,"EnableTagOverride":true,"Check":{"Interval":"10s","HTTP":"http://10.42.0.99:8030/streampipes-backend/api/svchealth/qw7Uj9","DeregisterCriticalServiceAfter":"120s","Status":"passing"}}"
22:09:02.141 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1
200 OK[\r][\n]"
22:09:02.141 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Vary:
Accept-Encoding[\r][\n]"
22:09:02.142 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"X-Consul-Default-Acl-Policy: allow[\r][\n]"
22:09:02.142 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Mon,
06 Feb 2023 22:09:02 GMT[\r][\n]"
22:09:02.142 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"Content-Length: 0[\r][\n]"
22:09:02.142 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]"
22:09:02.564 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1
200 OK
22:09:02.655 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Vary:
Accept-Encoding
22:09:02.833 [main] DEBUG org.apache.http.headers - http-outgoing-0 <<
X-Consul-Default-Acl-Policy: allow
22:09:02.834 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date:
Mon, 06 Feb 2023 22:09:02 GMT
22:09:02.834 [main] DEBUG org.apache.http.headers - http-outgoing-0 <<
Content-Length: 0
22:09:03.166 [main] DEBUG org.apache.http.impl.execchain.MainClientExec -
Connection can be kept alive indefinitely
22:09:03.442 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id:
0][route: {}->http://consul:8500] can be kept alive indefinitely
22:09:03.443 [main] DEBUG
org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0:
set socket timeout to 0
22:09:03.453 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection
released: [id: 0][route: {}->http://consul:8500][total available: 1; route
allocated: 1 of 500; total allocated: 1 of 1000]
22:09:04.227 [main] INFO
org.apache.streampipes.svcdiscovery.consul.SpConsulServiceDiscovery -
Successfully registered service at Consul: core-qw7Uj9
_______ __ ______ __
| __| |_.----.-----.---.-.--------.| __ \__|.-----.-----.-----.
|__ | _| _| -__| _ | || __/ || _ | -__|__ --|
|_______|____|__| |_____|___._|__|__|__||___| |__|| __|_____|_____|
|__|
** StreamPipes Core **
2023-02-06T22:10:36.007Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Starting
StreamPipesBackendApplication v0.91.0-SNAPSHOT using Java 17.0.6 with PID 1
(/streampipes-backend.jar started by root in /)
2023-02-06T22:10:36.043Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : No active profile set, falling back
to 1 default profile: "default"
2023-02-06T22:13:38.327Z INFO 1 --- [ main]
o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s):
8030 (http)
2023-02-06T22:13:39.815Z INFO 1 --- [ main]
o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-02-06T22:13:39.880Z INFO 1 --- [ main]
o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache
Tomcat/10.1.4]
2023-02-06T22:13:50.181Z INFO 1 --- [ main]
o.a.c.c.C.[.[.[/streampipes-backend] : Initializing Spring embedded
WebApplicationContext
2023-02-06T22:13:50.379Z INFO 1 --- [ main]
w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext:
initialization completed in 175899 ms
2023-02-06T22:14:09.346Z INFO 1 --- [ main]
o.a.s.s.core.StreamPipesEnvChecker : Checking and updating environment
variables...
2023-02-06T22:14:12.073Z INFO 1 --- [ main]
o.a.s.s.core.StreamPipesEnvChecker : No JWT signing mode provided (using
default settings), consult the docs to learn how to provide JWT settings
2023-02-06T22:14:12.074Z INFO 1 --- [ main]
o.a.s.s.core.StreamPipesEnvChecker : Updating local auth config with
signing mode HMAC
2023-02-06T22:14:13.105Z INFO 1 --- [ main]
o.a.s.s.c.utils.CouchDbViewGenerator : Checking if generic database
genericstorage exists...
2023-02-06T22:14:19.802Z INFO 1 --- [ main]
o.a.s.s.c.utils.CouchDbViewGenerator : Database genericstorage already
present
2023-02-06T22:14:20.309Z INFO 1 --- [ main]
o.a.s.s.c.migrations.MigrationsHandler : Checking for required migrations...
2023-02-06T22:14:42.317Z INFO 1 --- [ main]
o.a.s.s.c.migrations.MigrationsHandler : All migrations completed.
2023-02-06T22:14:42.402Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Pipeline health check will run every
60 seconds
2023-02-06T22:14:43.058Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Extensions logs will be fetched
every 60 seconds
2023-02-06T22:14:47.376Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Checking for orphaned pipelines...
2023-02-06T22:14:49.608Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Found 0 orphaned pipelines
2023-02-06T22:14:49.668Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Checking for gracefully shut down
pipelines to be restarted...
2023-02-06T22:14:50.039Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Found 0 pipelines that we are
attempting to restart...
2023-02-06T22:14:50.077Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : No more pipelines to restore...
2023-02-06T22:15:37.856Z INFO 1 --- [ main]
o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path
resource [static/index.html]
2023-02-06T22:15:46.770Z INFO 1 --- [ main]
o.s.s.web.DefaultSecurityFilterChain : Will secure any request with
[org.springframework.security.web.session.DisableEncodeUrlFilter@1b32cd16,
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4bdcaf36,
org.springframework.security.web.context.SecurityContextHolderFilter@267bbe1a,
org.springframework.security.web.header.HeaderWriterFilter@759d81f3,
org.springframework.web.filter.CorsFilter@61d01788,
org.springframework.security.web.authentication.logout.LogoutFilter@1d3e6d34,
org.apache.streampipes.rest.filter.TokenAuthenticationFilter@2b9b7f1f,
org.springframework.security.web.savedrequest.RequestCacheAwareFilter@389562d6,
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5a101b1c,
org.springframework.security.web.authentication.AnonymousAuthenticationFilter@264c5d07,
org.springframework.security.web.session.SessionManagementFilter@5a4c638d,
org.springfr
amework.security.web.access.ExceptionTranslationFilter@22101c80,
org.springframework.security.web.access.intercept.AuthorizationFilter@40021799]
2023-02-06T22:15:54.795Z INFO 1 --- [ main]
o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8030
(http) with context path '/streampipes-backend'
2023-02-06T22:15:55.073Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Started
StreamPipesBackendApplication in 389.614 seconds (process running for 627.853)
GitHub link:
https://github.com/apache/streampipes/discussions/1225#discussioncomment-4887345
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]