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

你好,这个错误能看一下吗 #18

Open
jun-alt opened this issue Jul 17, 2024 · 8 comments
Open

你好,这个错误能看一下吗 #18

jun-alt opened this issue Jul 17, 2024 · 8 comments

Comments

@jun-alt
Copy link

jun-alt commented Jul 17, 2024

Uploading 微信图片_20240717161802.png…

控制台一直这个报错,而且为什么我登录之后点击电影会弹出{"code":401,"msg":"需要登录后操作"}

@junweizeng
Copy link
Owner

你好,把图片重新上传一下,图片是空的。

@jun-alt
Copy link
Author

jun-alt commented Jul 17, 2024

Uploading 444.png…

@junweizeng
Copy link
Owner

image

上传的还是空的图片,你等系统预览成功后,comment才会看到。

@jun-alt
Copy link
Author

jun-alt commented Jul 17, 2024

WebSocketClient.js:16 WebSocket connection to 'ws://localhost:85/ws' failed: Invalid frame header就是这个错误

@junweizeng
Copy link
Owner

我找到这个错误原因是:
client(vue) 和 server(Spring) 和 websocket 版本不兼容 (参考:https://velog.io/@blessole/%EC%98%A4%EB%A5%98-Vue.js-WebSocket-connection-to-wsws-failed-Invalid-frame-headerhttps://github.com/socketio/socket.io/issues/4039#issuecomment-892350723)

看下通过下面方法能否解决问题:https://blog.csdn.net/The_more_more/article/details/124417478

@jun-alt
Copy link
Author

jun-alt commented Jul 17, 2024

好的,我看看能不能解决,谢谢

@jun-alt
Copy link
Author

jun-alt commented Jul 22, 2024

444444
你好,请问为什么我登录之后,点击电影之后还是会输出这个,是需要设置用户状态的字段吗,而且这个路径不是不需要拦截的吗

@junweizeng
Copy link
Owner

请问你找到问题所在了?

正常情况下应该不需要登录也可以查看电影详情信息的,只是不可以评论。

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