TDuckCloud / tduck-platform

为企业提供「免费」表单问卷能力,「开箱即用」快速赋能业务 A questionnaire system that can be privatized and deployed - 填鸭表单问卷系统(tduck-survey-form)
https://www.tduckcloud.com
MIT License
1.04k stars 140 forks source link

使用docker-compose部署后无法访问呀 #14

Open fungaegis opened 1 year ago

fungaegis commented 1 year ago

部署后访问报 502 无访问日志

tduck-platform  | 
tduck-platform  |   .   ____          _            __ _ _
tduck-platform  |  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
tduck-platform  | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
tduck-platform  |  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
tduck-platform  |   '  |____| .__|_| |_|_| |_\__, | / / / /
tduck-platform  |  =========|_|==============|___/=/_/_/_/
tduck-platform  |  :: Spring Boot ::                (v2.7.8)
tduck-platform  | 
tduck-platform  | 2023-04-14 15:09:13.527  INFO 9 --- [           main] com.tduck.cloud.api.TduckApiApplication  : Starting TduckApiApplication using Java 1.8.0_272 on bf7cbaa2d908 with PID 9 (/application/BOOT-INF/classes started by root in /application)
tduck-platform  | 2023-04-14 15:09:13.539 DEBUG 9 --- [           main] com.tduck.cloud.api.TduckApiApplication  : Running with Spring Boot v2.7.8, Spring v5.3.25
tduck-platform  | 2023-04-14 15:09:13.540  INFO 9 --- [           main] com.tduck.cloud.api.TduckApiApplication  : The following 1 profile is active: "prod"
tduck-platform  | 2023-04-14 15:09:13.568  INFO 9 --- [kground-preinit] o.h.validator.internal.util.Version      : HV000001: Hibernate Validator 6.2.5.Final
tduck-platform  | 2023-04-14 15:09:15.321  INFO 9 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.
tduck-platform  | 2023-04-14 15:09:15.346  INFO 9 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 0 MongoDB repository interfaces.
tduck-platform  | 2023-04-14 15:09:16.356  INFO 9 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8999 (http)
tduck-platform  | 2023-04-14 15:09:16.370  INFO 9 --- [           main] o.a.coyote.http11.Http11NioProtocol      : Initializing ProtocolHandler ["http-nio-8999"]
tduck-platform  | 2023-04-14 15:09:16.371  INFO 9 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
tduck-platform  | 2023-04-14 15:09:16.373  INFO 9 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.71]
tduck-platform  | 2023-04-14 15:09:16.475  INFO 9 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
tduck-platform  | 2023-04-14 15:09:16.476  INFO 9 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2805 ms
tduck-platform  | 2023-04-14 15:09:16.736  WARN 9 --- [           main] n.sf.ehcache.config.CacheConfiguration   : Cache 'eternal_cache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'eternal_cache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
tduck-platform  |  _ _   |_  _ _|_. ___ _ |    _ 
tduck-platform  | | | |\/|_)(_| | |_\  |_)||_|_\ 
tduck-platform  |      /               |         
tduck-platform  |                         3.5.3 
tduck-platform  | 2023-04-14 15:09:18.944  INFO 9 --- [           main] com.zaxxer.hikari.HikariDataSource       : DatebookHikariCP - Starting...
tduck-platform  | 2023-04-14 15:09:19.205  INFO 9 --- [           main] com.zaxxer.hikari.HikariDataSource       : DatebookHikariCP - Start completed.
tduck-platform  | 2023-04-14 15:09:19.214 DEBUG 9 --- [           main] c.t.c.e.m.SysEnvConfigMapper.selectList  : ==>  Preparing: SELECT id,env_key,env_value,create_time,update_time FROM sys_env_config
tduck-platform  | 2023-04-14 15:09:19.241 DEBUG 9 --- [           main] c.t.c.e.m.SysEnvConfigMapper.selectList  : ==> Parameters: 
tduck-platform  | 2023-04-14 15:09:19.372 DEBUG 9 --- [           main] c.t.c.e.m.SysEnvConfigMapper.selectList  : <==      Total: 2
tduck-platform  | 2023-04-14 15:09:20.165  INFO 9 --- [           main] .a.c.c.AjCaptchaServiceAutoConfiguration : 自定义配置项:
tduck-platform  | AjCaptchaProperties{type=DEFAULT, jigsaw='', picClick='', waterMark='tduck', waterFont='WenQuanZhengHei.ttf', fontType='WenQuanZhengHei.ttf', slipOffset='5', aesStatus=true, interferenceOptions='0', cacheNumber='1000', timingClear='180', cacheType=local, reqFrequencyLimitEnable=false, reqGetLockLimit=5, reqGetLockSeconds=300, reqGetMinuteLimit=100, reqCheckMinuteLimit=100, reqVerifyMinuteLimit=100}
tduck-platform  | 2023-04-14 15:09:20.169  INFO 9 --- [           main] c.a.c.s.impl.CaptchaServiceFactory       : supported-captchaCache-service:[local]
tduck-platform  | 2023-04-14 15:09:20.175  INFO 9 --- [           main] c.a.c.s.impl.CaptchaServiceFactory       : supported-captchaTypes-service:[clickWord, default, blockPuzzle]
tduck-platform  | 2023-04-14 15:09:20.200  INFO 9 --- [           main] com.anji.captcha.util.ImageUtils         : 初始化底图:[SLIDING_BLOCK=[Ljava.lang.String;@30517a57, ORIGINAL=[Ljava.lang.String;@3dde5f38, PIC_CLICK=[Ljava.lang.String;@79ad1774]
tduck-platform  | 2023-04-14 15:09:20.201  INFO 9 --- [           main] c.a.c.s.i.ClickWordCaptchaServiceImpl    : --->>>初始化验证码底图<<<---clickWord
tduck-platform  | 2023-04-14 15:09:20.374  INFO 9 --- [           main] c.a.c.s.i.ClickWordCaptchaServiceImpl    : 初始化local缓存...
tduck-platform  | 2023-04-14 15:09:20.493  INFO 9 --- [           main] com.anji.captcha.util.ImageUtils         : 初始化底图:[SLIDING_BLOCK=[Ljava.lang.String;@33a47707, ORIGINAL=[Ljava.lang.String;@4d290757, PIC_CLICK=[Ljava.lang.String;@720a1fd0]
tduck-platform  | 2023-04-14 15:09:20.495  INFO 9 --- [           main] c.a.c.s.i.BlockPuzzleCaptchaServiceImpl  : --->>>初始化验证码底图<<<---blockPuzzle
tduck-platform  | 2023-04-14 15:09:20.575  INFO 9 --- [           main] c.a.c.s.i.BlockPuzzleCaptchaServiceImpl  : 初始化local缓存...
tduck-platform  | 2023-04-14 15:09:20.834  INFO 9 --- [           main] c.tduck.cloud.api.config.JacksonConfig   : 初始化 jackson 配置
tduck-platform  | 2023-04-14 15:09:20.959  INFO 9 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [static/index.html]
tduck-platform  | 2023-04-14 15:09:21.162 ERROR 9 --- [           main] c.t.c.storage.cloud.OssStorageFactory    : 更新存储配置失败:null
tduck-platform  | 2023-04-14 15:09:23.152  INFO 9 --- [           main] o.a.coyote.http11.Http11NioProtocol      : Starting ProtocolHandler ["http-nio-8999"]
tduck-platform  | 2023-04-14 15:09:23.185  INFO 9 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8999 (http) with context path ''
tduck-platform  | 2023-04-14 15:09:23.209  INFO 9 --- [           main] com.tduck.cloud.api.TduckApiApplication  : Started TduckApiApplication in 10.366 seconds (JVM running for 10.822)
tduck-mysql     | 2023-04-14 14:10:20+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1.el8 started.
tduck-mysql     | 2023-04-14 14:10:20+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
tduck-mysql     | 2023-04-14 14:10:20+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1.el8 started.
tduck-mysql     | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
tduck-mysql     | 2023-04-14T06:10:21.174903Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
tduck-mysql     | 2023-04-14T06:10:21.176340Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
tduck-mysql     | 2023-04-14T06:10:21.176374Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 1
tduck-mysql     | 2023-04-14T06:10:21.182663Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
tduck-mysql     | 2023-04-14T06:10:23.525901Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
tduck-mysql     | 2023-04-14T06:10:24.646375Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
tduck-mysql     | 2023-04-14T06:10:24.646610Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
tduck-mysql     | 2023-04-14T06:10:24.749448Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
tduck-mysql     | 2023-04-14T06:10:24.787622Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
tduck-mysql     | 2023-04-14T06:10:24.787883Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
tduck-mysql     | 2023-04-14T07:08:30.309381Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.32).
tduck-mysql     | 2023-04-14T07:08:32.310562Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 24  user: 'root'.
tduck-mysql     | 2023-04-14T07:08:32.311031Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 25  user: 'root'.
tduck-mysql     | 2023-04-14T07:08:32.311717Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 26  user: 'root'.
tduck-mysql     | 2023-04-14T07:08:32.312211Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 27  user: 'root'.
tduck-mysql     | 2023-04-14T07:08:32.312629Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 21  user: 'root'.
tduck-mysql     | 2023-04-14T07:08:32.312903Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 22  user: 'root'.
tduck-mysql     | 2023-04-14T07:08:32.313388Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 23  user: 'root'.
tduck-mysql     | 2023-04-14T07:08:34.007348Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.
tduck-mysql     | 2023-04-14 15:08:36+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1.el8 started.
tduck-mysql     | 2023-04-14 15:08:36+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
tduck-mysql     | 2023-04-14 15:08:36+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1.el8 started.
tduck-mysql     | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
tduck-mysql     | 2023-04-14T07:08:36.640496Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
tduck-mysql     | 2023-04-14T07:08:36.641872Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
tduck-mysql     | 2023-04-14T07:08:36.641903Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 1
tduck-mysql     | 2023-04-14T07:08:36.710657Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
tduck-mysql     | 2023-04-14T07:08:38.112355Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
tduck-mysql     | 2023-04-14T07:08:39.256039Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
tduck-mysql     | 2023-04-14T07:08:39.256233Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
tduck-mysql     | 2023-04-14T07:08:39.389391Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
tduck-mysql     | 2023-04-14T07:08:39.410490Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
tduck-mysql     | 2023-04-14T07:08:39.410632Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
nigulasifenhongma commented 1 year ago

f12看请求状态,后台日志

fungaegis commented 1 year ago

f12看请求状态,后台日志

抱歉 是我的乌龙了, 排查了很久后面发现是某链路网络防火墙拉闸了 谢谢作者大大