vicalloy/outline-docker-compose

502报错,nginx一直connect() failed

Closed this issue · 1 comments

2023/03/28 12:22:50 [error] 28#28: *1 connect() failed (113: No route to host) while connecting to upstream, client: 39.189.44.242, server: , request: "GET / HTTP/1.1", upstream: "http://172.27.0.7:3000/", host: "152.136.132.109:4488"
39.189.44.242 - - [28/Mar/2023:12:22:50 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54" "-"
2023/03/28 12:22:53 [error] 28#28: *1 connect() failed (113: No route to host) while connecting to upstream, client: 39.189.44.242, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.27.0.7:3000/favicon.ico", host: "152.136.132.109:4488", referrer: "http://152.136.132.109:4488/"
39.189.44.242 - - [28/Mar/2023:12:22:53 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://152.136.132.109:4488/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54" "-"

outline日志

yarn run v1.22.18
$ sequelize db:migrate --env production-ssl-disabled

�[4mSequelize CLI [Node: 16.14.2, CLI: 6.4.1, ORM: 6.20.1]�[24m

Loaded configuration file "server/config/database.json".
Using environment "production-ssl-disabled".
No migrations were executed, database schema was already up to date.
Done in 2.36s.
yarn run v1.22.18
$ node ./build/server/index.js
{"label":"lifecycle","level":"info","message":"Note: Restricting process count to 1 due to use of collaborative service"}
{"label":"lifecycle","level":"info","message":"\nIs your team enjoying Outline? Consider supporting future development by sponsoring the project:\n\nhttps://github.com/sponsors/outline\n"}
�[31mERROR:�[39m The server does not support SSL connections
error Command failed with exit code 1.
{"level":"warn","message":"Command failed: yarn sequelize db:migrate:status\n\u001b[31mERROR:\u001b[39m The server does not support SSL connections\nerror Command failed with exit code 1.\n"}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.18
$ sequelize db:migrate --env production-ssl-disabled

�[4mSequelize CLI [Node: 16.14.2, CLI: 6.4.1, ORM: 6.20.1]�[24m

Loaded configuration file "server/config/database.json".
Using environment "production-ssl-disabled".
No migrations were executed, database schema was already up to date.
Done in 1.12s.
yarn run v1.22.18
$ node ./build/server/index.js
{"label":"lifecycle","level":"info","message":"Note: Restricting process count to 1 due to use of collaborative service"}
{"label":"lifecycle","level":"info","message":"\nIs your team enjoying Outline? Consider supporting future development by sponsoring the project:\n\nhttps://github.com/sponsors/outline\n"}
�[31mERROR:�[39m The server does not support SSL connections
error Command failed with exit code 1.
{"level":"warn","message":"Command failed: yarn sequelize db:migrate:status\n\u001b[31mERROR:\u001b[39m The server does not support SSL connections\nerror Command failed with exit code 1.\n"}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.18
$ sequelize db:migrate --env production-ssl-disabled

�[4mSequelize CLI [Node: 16.14.2, CLI: 6.4.1, ORM: 6.20.1]�[24m

Loaded configuration file "server/config/database.json".
Using environment "production-ssl-disabled".
No migrations were executed, database schema was already up to date.
Done in 1.14s.
yarn run v1.22.18
$ node ./build/server/index.js
{"label":"lifecycle","level":"info","message":"Note: Restricting process count to 1 due to use of collaborative service"}
{"label":"lifecycle","level":"info","message":"\nIs your team enjoying Outline? Consider supporting future development by sponsoring the project:\n\nhttps://github.com/sponsors/outline\n"}
�[31mERROR:�[39m The server does not support SSL connections
error Command failed with exit code 1.
{"level":"warn","message":"Command failed: yarn sequelize db:migrate:status\n\u001b[31mERROR:\u001b[39m The server does not support SSL connections\nerror Command failed with exit code 1.\n"}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.