brookshi / Hitchhiker

a Restful Api test tool
http://www.hitchhiker-api.com
Other
2.19k stars 402 forks source link

安装包安装HITCHHIKER,将HITCHHIKER_APP_HOST修改为本机IP,但注册仍继续报错Failed to fetch ! #249

Closed zhangfeng91 closed 5 years ago

zhangfeng91 commented 5 years ago

1. bug描述:安装包安装HITCHHIKER,安装成功后,注册失败,报错Failed to fetch ! 后来将HITCHHIKER_APP_HOST修改为本机IP,但注册仍继续报错Failed to fetch ! 2. Environment (环境):

3.控制台报错,浏览器控制台报错信息如下: WebSocket connection to 'ws://localhost:8282/stresstest' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED value @ stress.ts:37 (anonymous) @ stress.ts:61 stress.ts:64 Stress test server error Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …} socket.onerror @ stress.ts:64 stress.ts:59 Socket closed, stress test server error

brookshi commented 5 years ago

嗯,是由于之前用了localhost,已经修改到js文件中,后面再修改不起作用了。这块有待改进。 可以用安装包覆盖下,重新走下安装流程,用ip

zhangfeng91 commented 5 years ago

嗯嗯,按你说的覆盖安装已经可以了。多谢!