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

猫猫围栏注册服务运行成功后无法打开网页 #27

Closed
tangzhongsi opened this issue Oct 9, 2021 · 2 comments
Closed

猫猫围栏注册服务运行成功后无法打开网页 #27

tangzhongsi opened this issue Oct 9, 2021 · 2 comments

Comments

@tangzhongsi
Copy link

tangzhongsi commented Oct 9, 2021

运行环境:win11 wsl2 ubuntu2004

运行状态如下

2021-10-09 16:03:35.197 | INFO     | cat_finder.redis_proxy:__init__:24 - init redis pool...
2021-10-09 16:03:35.197 | INFO     | cat_finder.det:__init__:21 - loading YOLOX detection...
2021-10-09 16:03:39.074 | INFO     | cat_finder.det:__init__:36 -  YOLOX loaded.
2021-10-09 16:03:39.074 | INFO     | cat_finder.reid_image:__init__:22 - loading Image Reid...
2021-10-09 16:03:39.283 | DEBUG    | warehouse.reid_alignedreid.lite:inference:60 - ReID infer time: 0.0719s
2021-10-09 16:03:39.284 | INFO     | cat_finder.reid_image:__init__:31 - Image Reid loaded.

使用cURL发送post请求可以得到结果,但是浏览器无法打开网页
image

@tangzhongsi tangzhongsi changed the title 猫猫围栏成功后无法打开网页 猫猫围栏注册服务运行成功后无法打开网页 Oct 9, 2021
@tpoisonooo
Copy link
Collaborator

tpoisonooo commented Oct 9, 2021

cURL 和浏览器点开本质上都是发 HTTP 请求...所以很可能 ip 用错了。

  1. 浏览器是在 host 主机打开的,使用的 ip 应该是 wsl 虚拟机的 ip,文档里写了

image

  1. 地址是 http://ip:port/docs ,带 docs 路径了么

@tangzhongsi
Copy link
Author

是我忘记带docs路径了,感谢指导!

@tpoisonooo tpoisonooo pinned this issue Mar 1, 2022
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

2 participants