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

Error message + room list empty #220

Closed
krille-chan opened this issue Jul 15, 2023 · 2 comments
Closed

Error message + room list empty #220

krille-chan opened this issue Jul 15, 2023 · 2 comments
Labels
stale The item is going to be closed soon because of inactivity

Comments

@krille-chan
Copy link
Owner

Description

I see a spinner with "no connection to the server" (usually first) or "Oops, something went wrong..." at the bottom.

I see a chat list with only placeholders and spinners, and Spaces at the bottom.

This happens with all added accounts, except one account which is registered at a server that's not accessible.
No spaces are shown for this account.

I think this has happened with the 1.0 release.

I would expect to see all chats for all accounts.

The account with the offline homeserver shows

FormatException: Unexpected character (at character 1) 
<DOCTYPE html>
^

in the device list.

The logs show "Successfully connected as with " although the server is offline for one account.

To Reproduce

I can reproduce it by opening the app, however I will describe the circumstances which may have led to my situtation.

  1. I added the second and third account asap after multiple accounts were possible, they reset sometimes, but with some guidance I managed to keep them.
  2. The first account in the account list and added to the app is the one with the dead server.

Additional information:

  • Device: Fairphone 3+
  • OS and OS version: Android 10
  • Installed version of FluffyChat: 1.1.0
  • (Android only) Which store are you using: Play Store
  • (Android only) Are Google Services available: Yes
  • Log:
# [INFO] Initialize client FluffyChat android-1-<number1>
# [DEBUG] Open FluffyBox...
# [INFO] Initialize client FluffyChat android-1-<number1><other numbers with dashes>
# [DEBUG] Open FluffyBox...
# [INFO] Initialize client FluffyChat android-1-<number1><other numbers with dashes>
# [DEBUG] Open FluffyBox...
# [DEBUG] FluffyBox is ready
# [DEBUG] FluffyBox is ready
# [DEBUG] FluffyBox is ready
# [INFO] Successfully connected as <account1> with <server1>
# [INFO] Successfully connected as <account2> with <server2>
# [INFO] Successfully connected as <account3> with <server3>

# [ERROR] Error during processing events - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^ 
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405) 
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1272) 
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937) 
#3 _parseJson (dart:convert-patch/convert_patch.dart:40) 
#4 JsonDecoder.convert (dart:convert/json.dart:506) 
#5 JsonCodec.decode (dart:convert/json.dart:157) 
#6 MatrixApi.unexpectedResponse (package:matrix_api_lite/src/matrix_api.dart:53) 
#7 Api.defineFilter (package:matrix_api_lite/src/generated/api.dart:3961) <asynchronous suspension> 
#8 Client._checkSyncFilter (package:matrix/src/client.dart:1222) <asynchronous suspension> 
#9 Client._innerSync (package:matrix/src/client.dart:1238) <asynchronous suspension> 
#10 Client._sync (package:matrix/src/client.dart:1212) <asynchronous suspension>

# [ERROR] Capture exception - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^ 
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405) 
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1272) 
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937) 
#3 _parseJson (dart:convert-patch/convert_patch.dart:40) 
#4 JsonDecoder.convert (dart:convert/json.dart:506) 
#5 JsonCodec.decode (dart:convert/json.dart:157) 
#6 MatrixApi.unexpectedResponse (package:matrix_api_lite/src/matrix_api.dart:53) 
#7 Api.defineFilter (package:matrix_api_lite/src/generated/api.dart:3961) <asynchronous suspension> 
#8 Client._checkSyncFilter (package:matrix/src/client.dart:1222) <asynchronous suspension> 
#9 Client._innerSync (package:matrix/src/client.dart:1238) <asynchronous suspension> 
#10 Client._sync (package:matrix/src/client.dart:1212) <asynchronous suspension>

# [WARNING] Something went wrong: - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^

# [WARNING] Something went wrong: - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^

# [ERROR] Capture exception - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^ 
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405) 
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1272) 
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937) 
#3 _parseJson (dart:convert-patch/convert_patch.dart:40) 
#4 JsonDecoder.convert (dart:convert/json.dart:506) 
#5 JsonCodec.decode (dart:convert/json.dart:157) 
#6 MatrixApi.unexpectedResponse (package:matrix_api_lite/src/matrix_api.dart:53) 
#7 Api.defineFilter (package:matrix_api_lite/src/generated/api.dart:3961) <asynchronous suspension> 
#8 Client._checkSyncFilter (package:matrix/src/client.dart:1222) <asynchronous suspension> 
#9 Client._innerSync (package:matrix/src/client.dart:1238) <asynchronous suspension> 
#10 Client._sync (package:matrix/src/client.dart:1212) <asynchronous suspension>

# [ERROR] Capture exception - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^ 
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405) 
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1272) 
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937) 
#3 _parseJson (dart:convert-patch/convert_patch.dart:40) 
#4 JsonDecoder.convert (dart:convert/json.dart:506) 
#5 JsonCodec.decode (dart:convert/json.dart:157) 
#6 MatrixApi.unexpectedResponse (package:matrix_api_lite/src/matrix_api.dart:53) 
#7 Api.defineFilter (package:matrix_api_lite/src/generated/api.dart:3961) <asynchronous suspension> 
#8 Client._checkSyncFilter (package:matrix/src/client.dart:1222) <asynchronous suspension> 
#9 Client._innerSync (package:matrix/src/client.dart:1238) <asynchronous suspension> 
#10 Client._sync (package:matrix/src/client.dart:1212) <asynchronous suspension>

# [ERROR] Capture exception - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^ 
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405) 
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1272) 
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937) 
#3 _parseJson (dart:convert-patch/convert_patch.dart:40) 
#4 JsonDecoder.convert (dart:convert/json.dart:506) 
#5 JsonCodec.decode (dart:convert/json.dart:157) 
#6 MatrixApi.unexpectedResponse (package:matrix_api_lite/src/matrix_api.dart:53) 
#7 Api.defineFilter (package:matrix_api_lite/src/generated/api.dart:3961) <asynchronous suspension> 
#8 Client._checkSyncFilter (package:matrix/src/client.dart:1222) <asynchronous suspension> 
#9 Client._innerSync (package:matrix/src/client.dart:1238) <asynchronous suspension> 
#10 Client._sync (package:matrix/src/client.dart:1212) <asynchronous suspension>

# [WARNING] Something went wrong: - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^

# [WARNING] Something went wrong: - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^

# [WARNING] [Push] Unable to request pushers - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^

# [INFO] Need to set new pusher

# [ERROR] [Push] Unable to set pushers - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^ 
#0 MatrixApi.request (package:matrix_api_lite/src/matrix_api.dart:143) <asynchronous suspension> 
#1 MatrixApi.postPusher (package:matrix_api_lite/src/matrix_api.dart:182) <asynchronous suspension> 
#2 BackgroundPush.setupPusher (package:fluffychat/utils/background_push.dart:193) <asynchronous suspension> 
#3 BackgroundPush.setupFirebase (package:fluffychat/utils/background_push.dart:279) <asynchronous suspension> 
#4 BackgroundPush.setupPush (package:fluffychat/utils/background_push.dart:227) <asynchronous suspension>


# [ERROR] Error during processing events - FormatException: Unexpected character (at character 1) 
<!DOCTYPE html> 
^
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405) 
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1272)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937) 
#3 _parseJson (dart:convert-patch/convert_patch.dart:40) 
#4 JsonDecoder.convert (dart:convert/json.dart:506) 
#5 JsonCodec.decode (dart:convert/json.dart:157) #6 MatrixApi.unexpectedResponse (package:matrix_api_lite/src/matrix_api.dart:53) 
#7 Api.defineFilter (package:matrix_api_lite/src/generated/api.dart:3961) <asynchronous suspension> 
#8 Client._checkSyncFilter (package:matrix/src/client.dart:1222) <asynchronous suspension> 
#9 Client._innerSync (package:matrix/src/client.dart:1238) <asynchronous suspension> 
#10 Client._sync (package:matrix/src/client.dart:1212) <asynchronous suspension>
.
.
.
Copy link

github-actions bot commented Mar 6, 2024

This issue is stale because it has been open for 120 days with no activity.

@github-actions github-actions bot added the stale The item is going to be closed soon because of inactivity label Mar 6, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale The item is going to be closed soon because of inactivity
Projects
None yet
Development

No branches or pull requests

1 participant