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

Flutter Web Error :Error: Unsupported operation: default SecurityContext getter #14

Closed
tongweizj opened this issue Sep 14, 2021 · 1 comment

Comments

@tongweizj
Copy link

Hi,

I got a error in Flutter Web in mqtt5_client!

May I have a help to solve this issue?
截屏2021-09-14 下午10 37 40

@shamblett
Copy link
Owner

If you are using Flutter Web you should be using mqtt_browser_client, not the server client. Secure sockets are not supported in the browser, you only have ws or wss websockets. Please read the documentation.

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