coze-dev / coze-dev/coze-studio
when run as sample , can not register or login
- Dominant language
- TypeScript
- Stars
- 21.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
when run as sample, can not register or login,
and the network response 502.
and I found the docker pod coze-server stoped.
I check the docker log, show as below:
'''
goroutine 1 [running]:
main.main()
/app/main.go:55 +0x8c
2025/10/15 17:12:11.810932 main.go:111: [Info] load env file: .env
2025/10/15 17:12:11.811790 main.go:132: [Info] log level: debug
�panic: InitializeInfra failed, err=init tos client failed, err=init minio client failed check bucket opencoze exist failed 502 Bad Gateway
'''
Contributor guide
Research direction
Start with main.go at the reported startup path (lines 55, 111, and 132) and inspect the InitializeInfra failure shown in the Docker logs. Reproduce the sample startup and trace the TOS/MinIO client initialization and the check for the opencoze bucket; done means the coze-server pod stays running and registration and login no longer return 502.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100