You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the cause of this problem and that of issue 27 are the same.
This is because the dart client does not recognize the changed Asset model(Asset_profile) in the process of parsing the allowedPermission json received through the API, resulting in an exception, and forced logout when the exception occurs.
Try to change the version of thingsboard_pe_client from 1.0.4 to 1.0.5 in pubspec.yaml and recompile the project.
I got a following messages.
E/FrameEvents(15376): updateAcquireFence: Did not find frame.
D/EGL_emulation(15376): app_time_stats: avg=162.49ms min=100.26ms max=394.59ms count=7
D/EGL_emulation(15376): app_time_stats: avg=161.49ms min=86.15ms max=409.14ms count=7
I/flutter (15376): ERROR ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (15376): ERROR │ ThingsboardError: message: [Session expired!], errorCode: 11, status: null
I/flutter (15376): ERROR │ #0 toThingsboardError
package:thingsboard_pe_client/…/error/_thingsboard_error_handler_io.dart:89
I/flutter (15376): ERROR │ #1 HttpInterceptor._handleError
package:thingsboard_pe_client/…/interceptor/http_interceptor.dart:201
I/flutter (15376): ERROR │ #2 HttpInterceptor._refreshTokenAndRetry
package:thingsboard_pe_client/…/interceptor/http_interceptor.dart:142
I/flutter (15376): ERROR │
I/flutter (15376): ERROR │
I/flutter (15376): ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (15376): ERROR │ #0 ThingsboardClient.get
package:thingsboard_pe_client/src/thingsboard_client_base.dart:250
I/flutter (15376): ERROR │ #1
I/flutter (15376): ERROR │ #2 WhiteLabelingService.getWhiteLabelParams
package:thingsboard_pe_client/…/service/white_labeling_service.dart:28
I/flutter (15376): ERROR │ #3
I/flutter (15376): ERROR │ #4 WlService._loadUserWhiteLabelingParams
package:thingsboard_app/…/services/wl_service.dart:252
I/flutter (15376): ERROR │ #5
I/flutter (15376): ERROR │ #6 WlService.updateWhiteLabeling
package:thingsboard_app/…/services/wl_service.dart:169
I/flutter (15376): ERROR │ #7
I/flutter (15376): ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (15376): ERROR │ ⛔ Error: ThingsboardError: message: [Session expired!], errorCode: 11, status: null
I/flutter (15376): ERROR │ ⛔ #0 toThingsboardError
package:thingsboard_pe_client/…/error/_thingsboard_error_handler_io.dart:89
I/flutter (15376): ERROR │ ⛔ #1 HttpInterceptor._handleError
package:thingsboard_pe_client/…/interceptor/http_interceptor.dart:201
I/flutter (15376): ERROR │ ⛔ #2 HttpInterceptor._refreshTokenAndRetry
package:thingsboard_pe_client/…/interceptor/http_interceptor.dart:142
I/flutter (15376): ERROR │ ⛔
I/flutter (15376): ERROR │ ⛔
I/flutter (15376): ERROR └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
The text was updated successfully, but these errors were encountered: