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

Mobile page is stuck on spinning GI logo #2122

Open
taoeffect opened this issue Jun 26, 2024 · 0 comments
Open

Mobile page is stuck on spinning GI logo #2122

taoeffect opened this issue Jun 26, 2024 · 0 comments

Comments

@taoeffect
Copy link
Member

Problem

Accessing the testing site sometimes results in a spinning GI logo:

Screenshot 2024-06-26 at 10 42 37 AM

Following these Android debugging instructions to get the logs from Brave I obtained these logs. Notice there are no errors or even warnings here!

db.js:99 [SBP WARN]: registering unsafe selector: 'chelonia/db/get' (remember to lock after overwriting)
sbp/selectors/register @ module.mjs:50
u @ module.mjs:29
(anonymous) @ db.js:99
Show 2 more frames
Show less
db.js:99 [SBP WARN]: registering unsafe selector: 'chelonia/db/set' (remember to lock after overwriting)
sbp/selectors/register @ module.mjs:50
u @ module.mjs:29
(anonymous) @ db.js:99
Show 2 more frames
Show less
db.js:99 [SBP WARN]: registering unsafe selector: 'chelonia/db/delete' (remember to lock after overwriting)
sbp/selectors/register @ module.mjs:50
u @ module.mjs:29
(anonymous) @ db.js:99
Show 2 more frames
Show less
main.js:49 GI_VERSION: 0.5.5
main.js:50 CONTRACTS_VERSION: 0.5.5
main.js:51 LIGHTWEIGHT_CLIENT: true
main.js:52 NODE_ENV: production
main.js:89 [sbp] chelonia/configure [{…}]
chelonia.js:325 [chelonia] preloading manifests: (3) ['gi.contracts/chatroom', 'gi.contracts/group', 'gi.contracts/identity']
main.js:89 [sbp] chelonia/private/loadManifest (2) ['gi.contracts/chatroom', 'z9brRu3VGgda7CQewoT83KLH4Xx63oZkpnVcBrREy4MoRML2zmVW']
main.js:89 [sbp] chelonia/private/verifyManifestSignature (3) ['gi.contracts/chatroom', 'z9brRu3VGgda7CQewoT83KLH4Xx63oZkpnVcBrREy4MoRML2zmVW', {…}]
internals.js:211 [chelonia] verifying signature for z9brRu3VGgda7CQewoT83KLH4Xx63oZkpnVcBrREy4MoRML2zmVW (named gi.contracts/chatroom) for the first time
internals.js:231 [chelonia] successful signature verification for z9brRu3VGgda7CQewoT83KLH4Xx63oZkpnVcBrREy4MoRML2zmVW (named gi.contracts/chatroom) using z2DrjgbCDg34SaBhFjNEF45AVodCUu7QwcFBksz3BDgN4BekrdN. The following key IDs will now be trusted for this contract name ['z2DrjgbCDg34SaBhFjNEF45AVodCUu7QwcFBksz3BDgN4BekrdN']
internals.js:260 [chelonia] loading contract 'chatroom-slim.js'@'0.5.5' from manifest: z9brRu3VGgda7CQewoT83KLH4Xx63oZkpnVcBrREy4MoRML2zmVW
main.js:89 [sbp] chelonia/defineContract [{…}]
main.js:89 [sbp] okTurtles.events/emit (2) ['contract-registered', {…}]
main.js:89 [sbp] chelonia/config []
state.js:598 registering getters for 'gi.contracts/chatroom' (z9brRu3VGgda7CQewoT83KLH4Xx63oZkpnVcBrREy4MoRML2zmVW)
main.js:89 [sbp] chelonia/private/loadManifest (2) ['gi.contracts/group', 'z9brRu3VG7mpjZJ2AyR3JF4UcdjrJEcFAae2GRhNAjE58QoqTS1h']
main.js:89 [sbp] chelonia/private/verifyManifestSignature (3) ['gi.contracts/group', 'z9brRu3VG7mpjZJ2AyR3JF4UcdjrJEcFAae2GRhNAjE58QoqTS1h', {…}]
internals.js:211 [chelonia] verifying signature for z9brRu3VG7mpjZJ2AyR3JF4UcdjrJEcFAae2GRhNAjE58QoqTS1h (named gi.contracts/group) for the first time
internals.js:231 [chelonia] successful signature verification for z9brRu3VG7mpjZJ2AyR3JF4UcdjrJEcFAae2GRhNAjE58QoqTS1h (named gi.contracts/group) using z2DrjgbCDg34SaBhFjNEF45AVodCUu7QwcFBksz3BDgN4BekrdN. The following key IDs will now be trusted for this contract name ['z2DrjgbCDg34SaBhFjNEF45AVodCUu7QwcFBksz3BDgN4BekrdN']
internals.js:260 [chelonia] loading contract 'group-slim.js'@'0.5.5' from manifest: z9brRu3VG7mpjZJ2AyR3JF4UcdjrJEcFAae2GRhNAjE58QoqTS1h
main.js:89 [sbp] chelonia/defineContract [{…}]
main.js:89 [sbp] okTurtles.events/emit (2) ['contract-registered', {…}]
main.js:89 [sbp] chelonia/config []
state.js:598 registering getters for 'gi.contracts/group' (z9brRu3VG7mpjZJ2AyR3JF4UcdjrJEcFAae2GRhNAjE58QoqTS1h)
main.js:89 [sbp] chelonia/private/loadManifest (2) ['gi.contracts/identity', 'z9brRu3VWtUpctgm3ZzajExpo7J3WvSbWfnKdkT72hEg1qMvyHDG']
main.js:89 [sbp] chelonia/private/verifyManifestSignature (3) ['gi.contracts/identity', 'z9brRu3VWtUpctgm3ZzajExpo7J3WvSbWfnKdkT72hEg1qMvyHDG', {…}]
internals.js:211 [chelonia] verifying signature for z9brRu3VWtUpctgm3ZzajExpo7J3WvSbWfnKdkT72hEg1qMvyHDG (named gi.contracts/identity) for the first time
internals.js:231 [chelonia] successful signature verification for z9brRu3VWtUpctgm3ZzajExpo7J3WvSbWfnKdkT72hEg1qMvyHDG (named gi.contracts/identity) using z2DrjgbCDg34SaBhFjNEF45AVodCUu7QwcFBksz3BDgN4BekrdN. The following key IDs will now be trusted for this contract name ['z2DrjgbCDg34SaBhFjNEF45AVodCUu7QwcFBksz3BDgN4BekrdN']
internals.js:260 [chelonia] loading contract 'identity-slim.js'@'0.5.5' from manifest: z9brRu3VWtUpctgm3ZzajExpo7J3WvSbWfnKdkT72hEg1qMvyHDG
main.js:89 [sbp] chelonia/defineContract [{…}]
main.js:89 [sbp] okTurtles.events/emit (2) ['contract-registered', {…}]
main.js:89 [sbp] chelonia/config []
state.js:598 registering getters for 'gi.contracts/identity' (z9brRu3VWtUpctgm3ZzajExpo7J3WvSbWfnKdkT72hEg1qMvyHDG)
main.js:89 [sbp] chelonia/connect [{…}]
main.js:89 [sbp] chelonia/private/startClockSync []
main.js:89 [sbp] okTurtles.events/on (2) ['contracts-modified', ƒ]
main.js:89 [sbp] translations/init ['en-US']
main.js:89 [sbp] service-workers/setup []
pubsub.js:349 [pubsub] Event: open
main.js:89 [sbp] okTurtles.events/emit (2) ['pubsub-reconnection-succeeded', {…}]
pubsub.js:378 [pubsub] Connection re-established
main.js:220 VERSION_INFO received: {ourVersion: '0.5.5', theirVersion: '0.5.5', ourContractsVersion: '0.5.5', theirContractsVersion: '0.5.5'}

It's unclear to me how or why this is happening.

Sometimes refreshing the page makes everything work just fine, and then I can't reproduce this spinning GI logo issue.

It's like Vue.js gets stuck sometimes and it's not clear why.

Solution

Not sure. Maybe add more console.debug or console.info statements to help figure this out.

Is anyone able to reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant