Closed mde2017 closed 1 month ago
Hello @mde2017,
Something is wrong with the TB configuration, but not the mobile app itself. Could you add details on how to reproduce it? To which TB instance you're trying to log in?
Hello @ybeshkarov,
thanks for your response.
I also do not assume that this is the issue with the mobile app. However, it would be good to know how the app communicates with ThingsBoard when establishing a connection and whether anything else needs to be enabled here, e.g. with regard to the firewall etc.
ThingsBoard is set up in a private data center and only the Web UI is enabled for external access. The network is rather restrictive.
Well, honestly the communication is pretty straightforward. It's just HTTP requests like GET, POST, etc. Nothing special happening there.
Not sure it will be useful for you but we using this package for it https://pub.dev/packages/dio.
For me, it looks like something is wrong with the SSL certificate you have on the TB instance you trying to log in. But it's just an assumption.
@mde2017
Hello,
if you still have an issue I've added a solution there https://github.com/thingsboard/flutter_thingsboard_pe_app/issues/164#issuecomment-2399522173
Error when scanning the QR code with the message HandshakeException: Handshake Error (see attached screenshot)
First assumption was: SSL certificate chain must be set up for ThingsBoard. After consultation with our IT infrastructure, it would now be important to know how the app establishes the connection to ThingsBoard Web and what is required for the connection. ThingsBoard Web is located behind the firewall, which is unknown to the app; the proxy handles the allocation. Data that the app tries to exchange is intercepted.
Can you tell how to overcome this issue?