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

打包到服务器上,定时任务点“立即执行“报错 #204

Closed
18612962616 opened this issue Oct 31, 2022 · 5 comments
Closed

打包到服务器上,定时任务点“立即执行“报错 #204

18612962616 opened this issue Oct 31, 2022 · 5 comments

Comments

@18612962616
Copy link

版本号:3.4.3
问题描述:打包到服务器上,定时任务点“立即执行“报错

服务器上前后端均为https,本地开发环境均为http,本地开发执行定时任务没问题,服务器上报此错,请问该修改哪里?

截图&代码:

微信图片_20221031173806
微信图片_20221031173810

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

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
@zhangdaiscott
Copy link
Member

这个错误是websocket的,跟定时任务没关系

HTTPS站点使用WebSocket的常见错误及解决方案
http://t.zoukankan.com/bkhdd-p-13224251.html

@18612962616
Copy link
Author

修改了nginx配置 websocket请求不报错了 配置如下
微信图片_20221031190816

但执行定时任务还是报另一个错(本地不报错)
微信图片_20221031190821

@zhangdaiscott
Copy link
Member

前面补上斜杠
image

@zhangdaiscott
Copy link
Member

修改了

@18612962616
Copy link
Author

可以了 多谢

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