Skip to content

[BUG] 启动后提示network error when attempting to fetch resource #28

@harris2015

Description

@harris2015

Describe the bug

在注册的时候 提示报错

Image

To Reproduce

Steps to reproduce the behavior:

  1. git clone https://github.com/jd-opensource/JoySafeter.git
  2. 修改deploy下面的env文件
Image
  1. 按照下面的命令:
  2. --------------方案二 【手动】-----------
    cd deploy

#1.编译镜像
sh deploy.sh build --all
#2.初始化 环境变量
cp ../frontend/env.example ../frontend/.env
cp ../backend/env.example ../backend/.env
#重要!!配置TAVILY_API_KEY 搜索所用key (自行注册)https://www.tavily.com/
echo 'TAVILY_API_KEY=tvly-*' >> ../backend/.env

#3.初始化数据库
docker compose --profile init up
#4.启动服务
docker compose -f docker-compose.yml up
6. 访问注册 就提示最上面的报错

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • OS: [centos 7.9]
  • Browser: [e.g., Chrome 120, Safari 17]
  • Python version: [e.g., 3.12.1]
  • Node.js version: [e.g., 20.10.0]
  • Project version: [e.g., 0.1.0]

Additional context

Add any other context about the problem here.

Logs

Paste any relevant log output here

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions