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

Unable to connect 'thingsboard.cloud' #26

Open
ockum12 opened this issue Dec 13, 2022 · 2 comments
Open

Unable to connect 'thingsboard.cloud' #26

ockum12 opened this issue Dec 13, 2022 · 2 comments

Comments

@ockum12
Copy link

ockum12 commented Dec 13, 2022

I got a ERROR messge.
I/flutter (12221): ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (12221): ERROR │ ⛔ Error: ThingsboardError: message: [Unable to connect], errorCode: 2, status: null
I/flutter (12221): ERROR │ ⛔ #0 toThingsboardError (package:thingsboard_pe_client/src/error/_thingsboard_error_handler_io.dart:89:18)
I/flutter (12221): ERROR │ ⛔ #1 HttpInterceptor.onError (package:thingsboard_pe_client/src/interceptor/http_interceptor.dart:104:19)
I/flutter (12221): ERROR │ ⛔ #2 DioMixin.fetch._errorInterceptorWrapper... (package:dio/src/dio_mixin.dart:574:28)
I/flutter (12221): ERROR │ ⛔ #3 DioMixin.checkIfNeedEnqueue (package:dio/src/dio_mixin.dart:789:22)
I/flutter (12221): ERROR │ ⛔ #4 DioMixin.fetch._errorInterceptorWrapper.. (package:dio/src/dio_mixin.dart:572:22)
I/flutter (12221): ERROR │ ⛔ #5 new Future. (dart:async/future.dart:253:37)
I/flutter (12221): ERROR │ ⛔ #6 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
I/flutter (12221): ERROR │ ⛔ #7 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
I/flutter (12221): ERROR │ ⛔ #8 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
I/flutter (12221): ERROR │ ⛔ #9 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
I/flutter (12221): ERROR │ ⛔
I/flutter (12221): ERROR └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
My app_constants.dart is
abstract class ThingsboardAppConstants {
static final thingsBoardApiEndpoint = 'https://thingsboard.cloud';

static final thingsboardOAuth2CallbackUrlScheme ='org.thingsboard.pe.app.auth';

/// Not for production (only for debugging)
static final thingsboardOAuth2AppSecret = '';

/// Not for production (only for debugging)
static final thingsboardSignUpAppSecret = '';
}

Do I need more setup on 'thingsboard.cloud'?

@ockum12 ockum12 changed the title Unable to connect 'thingsboard.cluod' Unable to connect 'thingsboard.cloud' Dec 13, 2022
@ezeroldan24
Copy link

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

@JuliusHarald
Copy link

JuliusHarald commented Feb 8, 2023

Any updates on this?

UPDATE:
Nevermind, I had the same error in my flutter app, which uses thingsboard_pe_client. My Problem was, that I forgot to give Internet permission to the app

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

3 participants