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

Session expired! on Login Page #29

Open
ockum12 opened this issue Dec 27, 2022 · 3 comments
Open

Session expired! on Login Page #29

ockum12 opened this issue Dec 27, 2022 · 3 comments

Comments

@ockum12
Copy link

ockum12 commented Dec 27, 2022

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 └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

@ezeroldan24
Copy link

I have the same problem, did you find a solution?

@Seungkoo
Copy link

Seungkoo commented Dec 27, 2022

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.

@badril1978
Copy link

works for me.. same as in issue #27

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

4 participants