#[SOLVED] Getting consistent server 500 errors

10 messages · Page 1 of 1 (latest)

vocal crow
#

It was completely fine yesterday. Had this problem for a week before that.

This is the exact error:

Exception has occurred.
AppwriteException (AppwriteException: general_unknown, Server Error (500))
dreamy niche
vocal crow
#

It crashes at rethrow randomly when I make a change that requires updating something in the database.

client_io.dart

try {
        final response = await send(
          method,
          path: path,
          headers: headers,
          params: params,
          responseType: responseType,
          cacheModel: cacheModel,
          cacheKey: cacheKey,
          cacheResponseIdKey: cacheResponseIdKey,
          cacheResponseContainerKey: cacheResponseContainerKey,
        );

        if (getOfflinePersistency()) {
          cacheResponse(
            cacheModel: cacheModel,
            cacheKey: cacheKey,
            cacheResponseIdKey: cacheResponseIdKey,
            request: request,
            response: response,
          );
        }

        return response;
      } on AppwriteException catch (e) {
        if ((e.message != "Network is unreachable" &&
                !(e.message?.contains("Failed host lookup") ?? false)) ||
            !getOfflinePersistency()) {
          rethrow;
        }
        isOnline.value = false;
      } catch (e) {
        throw AppwriteException(e.toString());
      }

This is consistent with cloud.appwrite.io also giving 500 Server Error issue when I get this error in the app. So it's probably an issue on appwrite cloud. But it happens a lot.

#

It's happening right now too. Getting 500 error in app whenever I'm trying to fetch initial data & the cloud is also giving this error.

Is there a quick fix? Should I create a new project?

dreamy niche
vocal crow
#

@dreamy niche it's 6526250564a8784279bf

remote lynx
#

@vocal crow is it solved now? Or are you still facing the error?

#

We had some service degradation on Cloud - #🌩│cloud message

vocal crow
#

It's solved

remote lynx
#

Getting consistent server 500 errors [SOLVED]