Mqtt shows Unsupported operation: default SecurityContext getter in Flutter web application

Hello @Resma ,

Thank you for the outreach!

Could you please confirm if this is a HiveMQ Cloud broker, or a self-managed broker that we are looking to connect to? If using a HiveMQ Cloud broker, it is important to keep in mind that TLS/SSL connections are required, and it does not appear that we are providing a certificate here for the connecting client.

Are you able to successfully connect to the broker from a test client, such as the MQTT CLI tool, or the Web Client?

Additionally, our HiveMQ Cloud server certificate can be obtained from our Frequently Asked Questions section here on the community forum.

Aaron from the HiveMQ Team