dshunter107 commented on issue #1975:
URL: https://github.com/apache/streampipes/issues/1975#issuecomment-1742253601
I was using the CLI before doing the docker-compose file. I was trying to
work on the main branch at the time. I then download the 0.92.0 release version
from the website and tried the docker-compose from those files.
Here is the beginnning of the log file for streampipes-backend:
2023-10-01 20:12:33 2023-10-02T00:12:32.978Z INFO --- [ main]
o.a.s.commons.networking.Networking : Using auto-discovered IP: 172.31.0.7
2023-10-01 20:12:33 2023-10-02T00:12:33.025Z INFO --- [ main]
o.a.s.commons.networking.Networking : Using default port: 8030
2023-10-01 20:12:33 2023-10-02T00:12:33.101Z INFO --- [ main]
o.a.s.s.consul.ConsulProvider : Checking if consul is available on
host consul and port 8500
2023-10-01 20:12:33 2023-10-02T00:12:33.354Z INFO --- [ main]
o.a.s.s.consul.ConsulProvider : Successfully connected to Consul on
host consul
2023-10-01 20:12:38 2023-10-02T00:12:38.672Z INFO --- [ main]
o.a.s.s.consul.SpConsulServiceDiscovery : Successfully registered service at
Consul: core-DwrAvK
2023-10-01 20:12:42 _______ __ ______ __
2023-10-01 20:12:42 | __| |_.----.-----.---.-.--------.| __
\__|.-----.-----.-----.
2023-10-01 20:12:42 |__ | _| _| -__| _ | || __/ || _
| -__|__ --|
2023-10-01 20:12:42 |_______|____|__| |_____|___._|__|__|__||___| |__||
__|_____|_____|
2023-10-01 20:12:42 |__|
2023-10-01 20:12:42 ** StreamPipes Core **
2023-10-01 20:12:42
2023-10-01 20:12:44 2023-10-02T00:12:44.041Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Starting
StreamPipesBackendApplication v0.92.0 using Java 17.0.7 with PID 1
(/streampipes-backend.jar started by root in /)
2023-10-01 20:12:44 2023-10-02T00:12:44.061Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : No active profile set, falling back
to 1 default profile: "default"
2023-10-01 20:13:07 2023-10-02T00:13:07.273Z INFO 1 --- [ main]
o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s):
8030 (http)
2023-10-01 20:13:07 2023-10-02T00:13:07.466Z INFO 1 --- [ main]
o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-10-01 20:13:07 2023-10-02T00:13:07.469Z INFO 1 --- [ main]
o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache
Tomcat/10.1.8]
2023-10-01 20:13:08 2023-10-02T00:13:08.062Z INFO 1 --- [ main]
o.a.c.c.C.[.[.[/streampipes-backend] : Initializing Spring embedded
WebApplicationContext
2023-10-01 20:13:08 2023-10-02T00:13:08.076Z INFO 1 --- [ main]
w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext:
initialization completed in 22287 ms
2023-10-01 20:13:11 2023-10-02T00:13:11.776Z INFO 1 --- [ main]
o.a.s.s.core.StreamPipesEnvChecker : Checking and updating environment
variables...
2023-10-01 20:13:13 2023-10-02T00:13:13.141Z 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-10-01 20:13:13 2023-10-02T00:13:13.146Z INFO 1 --- [ main]
o.a.s.s.core.StreamPipesEnvChecker : Updating local auth config with
signing mode HMAC
2023-10-01 20:13:13 2023-10-02T00:13:13.326Z INFO 1 --- [ main]
o.a.s.s.c.utils.CouchDbViewGenerator : Checking if generic database
genericstorage exists...
2023-10-01 20:13:14 2023-10-02T00:13:14.182Z INFO 1 --- [ main]
o.a.s.s.c.utils.CouchDbViewGenerator : Database genericstorage already
present
2023-10-01 20:13:14 2023-10-02T00:13:14.228Z INFO 1 --- [ main]
o.a.s.s.c.migrations.MigrationsHandler : Checking for required migrations...
2023-10-01 20:13:16 2023-10-02T00:13:16.300Z INFO 1 --- [ main]
o.a.s.s.c.migrations.MigrationsHandler : All migrations completed.
2023-10-01 20:13:16 2023-10-02T00:13:16.320Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Pipeline health check will run every
60 seconds
2023-10-01 20:13:16 2023-10-02T00:13:16.362Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Extensions logs will be fetched
every 60 seconds
2023-10-01 20:13:19 2023-10-02T00:13:19.364Z INFO 1 --- [ main]
o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path
resource [static/index.html]
2023-10-01 20:13:20 2023-10-02T00:13:20.237Z INFO 1 --- [ main]
o.s.s.web.DefaultSecurityFilterChain : Will secure any request with
[org.springframework.security.web.session.DisableEncodeUrlFilter@6ad6fa53,
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@55ea2d70,
org.springframework.security.web.context.SecurityContextHolderFilter@469d003c,
org.springframework.security.web.header.HeaderWriterFilter@5a101b1c,
org.springframework.web.filter.CorsFilter@5e742e4,
org.springframework.security.web.authentication.logout.LogoutFilter@757529a4,
org.apache.streampipes.rest.filter.TokenAuthenticationFilter@175acfb2,
org.springframework.security.web.savedrequest.RequestCacheAwareFilter@57bd2029,
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@203dd56b,
org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4a03bb68,
org.springframework.security.web.session.SessionManagementFilter@
29f0802c,
org.springframework.security.web.access.ExceptionTranslationFilter@1f12e153,
org.springframework.security.web.access.intercept.AuthorizationFilter@69cac930]
2023-10-01 20:13:21 2023-10-02T00:13:21.305Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Checking for orphaned pipelines...
2023-10-01 20:13:21 2023-10-02T00:13:21.444Z INFO 1 --- [ main]
o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8030
(http) with context path '/streampipes-backend'
2023-10-01 20:13:21 2023-10-02T00:13:21.476Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Found 0 orphaned pipelines
2023-10-01 20:13:21 2023-10-02T00:13:21.480Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Checking for gracefully shut down
pipelines to be restarted...
2023-10-01 20:13:21 2023-10-02T00:13:21.523Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : Found 0 pipelines that we are
attempting to restart...
2023-10-01 20:13:21 2023-10-02T00:13:21.526Z INFO 1 --- [pool-1-thread-1]
o.a.s.s.c.StreamPipesBackendApplication : No more pipelines to restore...
2023-10-01 20:13:21 2023-10-02T00:13:21.578Z INFO 1 --- [ main]
o.a.s.s.c.StreamPipesBackendApplication : Started
StreamPipesBackendApplication in 41.94 seconds (process running for 60.649)
After this errors were thrown. I believe that the backend should point to
localhost, as I am not sure what the current address is. I think I saw on the
cli that this was a common issue and that I need to manually change the ip
address. I will look into the manual to see what I need to do. Any advise in
the meantime would also be appreciated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]