jeecgboot / JeecgBoot

🔥「企业级低代码平台」前后端分离架构SpringBoot 2.x/3.x,SpringCloud,Ant Design&Vue3,Mybatis,Shiro,JWT。强大的代码生成器让前后端代码一键生成,无需写任何代码! 引领新的开发模式,引入AI模型能力 OnlineCoding->代码生成->手工MERGE,帮助Java项目解决70%重复工作,让开发更关注业务,既能快速提高效率,帮助公司节省成本,同时又不失灵活性。
http://www.jeecg.com
Apache License 2.0
40.7k stars 14.85k forks source link

[vite] http proxy error: Error: socket hang up #6613

Closed zhangwei900808 closed 1 year ago

zhangwei900808 commented 1 year ago
版本号:

"name": "jeecgboot-vue3", "version": "3.4.3",

问题描述:

接口请求10次有8次失败,报proxy error,而且同事windows没问题,就mac有这个问题

截图&代码:
 ERROR  10:58:04 AM [vite] http proxy error:                                                                                                                                                                                                                   10:58:04
Error: socket hang up
    at connResetException (internal/errors.js:628:14)
    at Socket.socketCloseListener (_http_client.js:449:25)
    at Socket.emit (events.js:387:35)
    at TCP.<anonymous> (net.js:675:12) (x2)

友情提示(为了提高issue处理效率):

zhangwei900808 commented 1 year ago

我换3.4.4,之后报

 ERROR  11:34:26 AM [vite] http proxy error at /sys/annountCement/listByUser?pageSize=5&_t=1677555200574:                                                                                                                                                      11:34:26

Error: connect ECONNREFUSED 172.16.0.102:18080
zhangdaiscott commented 1 year ago

这种问题的确不清楚

zhangwei900808 commented 1 year ago

@zhangdaiscott 换windows没问题,mac有这个问题

zhangdaiscott commented 1 year ago

后台服务是你本地吗