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

🐛 [Bug]: @opentiny_vue.js?v=c06cc1cd:135985 WebSocket connection to 'ws://localhost:27199/' failed: #2924

Open
MonkeysKing-6657 opened this issue Feb 19, 2025 · 1 comment

Comments

@MonkeysKing-6657
Copy link

Version

^3.21.2

Vue Version

^3.5.13

Link to minimal reproduction

使用pnpm vite(6.1.0),不知道为啥?

Image

Step to reproduce

就正常按需引入 自定义主题后

What is expected

No response

What is actually happening

No response

What is your project name

Any additional comments (optional)

No response

Copy link

It seems like you're experiencing an issue with a WebSocket connection failure in your project using opentiny/tiny-vue. The error message indicates a failure to connect to ws://localhost:27199/. This could be due to several reasons, such as the WebSocket server not running, incorrect server address, or network issues.

Here are a few steps you can take to troubleshoot this issue:

  1. Check WebSocket Server: Ensure that the WebSocket server is running on localhost at port 27199. If it's not running, start the server.

  2. Verify Server Address: Double-check that the WebSocket server address is correct in your code. It should match the address where your server is running.

  3. Network Configuration: Make sure there are no network issues or firewall settings blocking the connection to the WebSocket server.

  4. Browser Console: Check the browser console for any additional error messages that might provide more context about the failure.

  5. Dependencies: Ensure all dependencies are correctly installed and up-to-date, especially those related to WebSocket handling.

If you've checked these and the issue persists, it might be helpful to provide more details about your setup or any additional error messages you encounter. If you need further assistance, feel free to ask!

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

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

1 participant