Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

针对docker-compose运行过程中发现超时的问题 #628

Open
wuchenchina opened this issue Aug 14, 2024 · 0 comments
Open

针对docker-compose运行过程中发现超时的问题 #628

wuchenchina opened this issue Aug 14, 2024 · 0 comments

Comments

@wuchenchina
Copy link

执行docker compose logs -f后截取到的日志如下

hitokoto_api  |  hitokoto v1.7.1 © 2024 All Rights Reserved.     Powered by teng-koa 
hitokoto_api  | 
hitokoto_api  |  我们一路奋战,不是为了改变世界,而是为了不让世界改变我们。 
hitokoto_api  | 2024-08-14T07:20:35.153Z [35] - error: RequestError: read ECONNRESET
hitokoto_api  |     at ClientRequest.<anonymous> (/usr/src/app/node_modules/.store/got-npm-11.8.6-89e7cd5d67/package/dist/source/core/index.js:970:111)
hitokoto_api  |     at Object.onceWrapper (node:events:629:26)
hitokoto_api  |     at ClientRequest.emit (node:events:526:35)
hitokoto_api  |     at origin.emit (/usr/src/app/node_modules/.store/@szmarczak-http-timer-npm-4.0.6-6ace00d82d/package/dist/source/index.js:43:20)
hitokoto_api  |     at TLSSocket.socketErrorListener (node:_http_client:495:9)
hitokoto_api  |     at TLSSocket.emit (node:events:514:28)
hitokoto_api  |     at emitErrorNT (node:internal/streams/destroy:151:8)
hitokoto_api  |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
hitokoto_api  |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
hitokoto_api  |     at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
hitokoto_api  | 2024-08-14T07:20:35.159Z [35] - error: [init] error was thrown while initializing, processes exiting.
hitokoto_api  | 2024-08-14T07:20:35.162Z [35] - error: [core] received exit code: 1, process will be destroyed.
hitokoto_api  | 2024-08-14T07:20:35.163Z [35] - info: [core] Web server is shut down, Bye!
hitokoto_api exited with code 0

不清楚可不可以在docker-compose.yaml中增加proxy段?(个人拙见)或许使用代理就行了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant