awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

android.net.ConnectivityManager$TooManyRequestsException #376

Closed sandipgh19 closed 2 years ago

sandipgh19 commented 2 years ago

Caused by android.net.ConnectivityManager$TooManyRequestsException at android.net.ConnectivityManager.convertServiceException(ConnectivityManager.java:3226) at android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:3445) at android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:3759) at android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:3741) at com.amazonaws.mobileconnectors.appsync.ConnectivityWatcher.registerNetworkCallback(ConnectivityWatcher.java:68) at com.amazonaws.mobileconnectors.appsync.ConnectivityWatcher.register(ConnectivityWatcher.java:35) at com.amazonaws.mobileconnectors.appsync.AppSyncOfflineMutationManager.<init>(AppSyncOfflineMutationManager.java:86) at com.amazonaws.mobileconnectors.appsync.AWSAppSyncClient.<init>(AWSAppSyncClient.java:209) at com.amazonaws.mobileconnectors.appsync.AWSAppSyncClient.<init>(AWSAppSyncClient.java:69) at com.amazonaws.mobileconnectors.appsync.AWSAppSyncClient$Builder.build(AWSAppSyncClient.java:675))

sandipgh19 commented 2 years ago

Any Update on this?

sunnyeverestek commented 2 years ago

Still getting in version AppSync SDK Version 3.3.0

ekmwilson commented 2 years ago

My team is seeing the same issue in our Crash reporting.

tbartley commented 1 year ago

I do not believe this issue to be fixed. We still see it with version 3.3.2 per this comment on the fix: https://github.com/awslabs/aws-mobile-appsync-sdk-android/pull/387#issuecomment-1287619218

rovedashcam commented 1 year ago

@tbartley I am also getting same exception any luck to get this solution even i posted this question here https://stackoverflow.com/questions/75079780/android-net-connectivitymanagertoomanyrequestsexception-in-android-while-networ but still not solution found .

CyprienRicque commented 1 year ago

I am facing the same issue using Amplify Datastore

rovedashcam commented 1 year ago

Hi , I just want to know before explaining this are you using in VLC media library or any preview thing in your APP?

On Thu, Apr 27, 2023 at 11:23 PM Cyprien Ricque @.***> wrote:

I am facing the same issue using Amplify Datastore

— Reply to this email directly, view it on GitHub https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/376#issuecomment-1526099255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYALJMOLJMO6GQE3JQ6UG5DXDKXAHANCNFSM5IQEHSJA . You are receiving this because you commented.Message ID: @.***>

CyprienRicque commented 1 year ago

Hi, I am only displaying images using coil.compose.AsyncImage from their urls These images have nothing to do with AWS

mahdit8 commented 1 year ago

Hi, I am only displaying images using coil.compose.AsyncImage from their urls These images have nothing to do with AWS

I see the same issue even with Coil. I'm still working on it to see what is the best solution!