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

"Discover communities" is not loading or loading exteremely slowly #20092

Closed
churik opened this issue May 17, 2024 · 9 comments · Fixed by #20198
Closed

"Discover communities" is not loading or loading exteremely slowly #20092

churik opened this issue May 17, 2024 · 9 comments · Fixed by #20198

Comments

@churik
Copy link
Member

churik commented May 17, 2024

Bug Report

Problem

The issue is not reproducible on status-desktop, so need investigation how it is loaded on desktop side;
it is reproducible on latest ststus-go version (in #20060)

If it gets loaded once, it stays in the curated communities directory.

Expected behavior

can see communities

Actual behavior

image

Reproduction

  1. Create new account
  2. Open Discover communities

Additional Information

  • Status version: nightly 17/05
  • Operating System: Android, iOS

Logs: logs (83).zip

ERROR[05-16|15:00:21.027|github.com/status-im/status-go/protocol/messenger_curated_communities.go:49]                                       failed to get curated communities from contract error="fallback failed with 'Post \"https://optimism-goerli.infura.io/v3/40ec14d9d9384d52b7fbcfecdde4e2c0\": dial tcp: lookup optimism-goerli.infura.io: no such host'. run error was 'Post \"https://optimism-goerli.infura.io/v3/40ec14d9d9384d52b7fbcfecdde4e2c0\": dial tcp: lookup optimism-goerli.infura.io: no such host'"
@flexsurfer
Copy link
Member

can't repro in the latest develop

@churik
Copy link
Member Author

churik commented May 23, 2024

@flexsurfer

Reproducible for me on fresh profiles on the latest nightly.
As I mentioned, it is reproducible for new users usually and if it was opened and loaded once, after that the issue will be not reproducible.

IMG_6629.MP4

@yqrashawn yqrashawn self-assigned this May 24, 2024
@yqrashawn
Copy link
Member

yqrashawn commented May 24, 2024

The domain optimism-goerli.infura.io is no longer live
infura deprecated goerli and switched to sepolia https://www.infura.io/blog/post/deprecation-notice-for-all-infura-supported-goerli-endpoints

Image

@yqrashawn
Copy link
Member

status-go code where chooses optimism goerli for curated communities query

directory contract address on different networks (only op mainnet and goerli) https://github.com/status-im/status-go/blob/4a1a29b6a5ccf5e87ee9f3ff956904d8d3e5d2fb/contracts/directory/address.go#L13

question:

  • deploy this contact on op sepolia

    • who is responsible for deploying this contract
  • or use rpc server from other provider for op goerli

    • I saw there's grove.city, so we can use that one?

@churik
Copy link
Member Author

churik commented May 24, 2024

@yqrashawn thank you for taking this!
Maybe the best people to ask are the desktop team, as it is working on their side?

@cammellos
Copy link
Member

@churik @yqrashawn from what I can see, it should work if testnet mode is not enabled, is that correct?

@churik
Copy link
Member Author

churik commented May 24, 2024

@cammellos unfortunately, it doesn't really depend on that

On nightly Testnet is disabled by default, and issue is still there

@yqrashawn
Copy link
Member

Current behavior

  • create account
  • turn off testnet mode and login
  • discover community infinite loading
  • logout then login
  • discover community showing status community

@yqrashawn
Copy link
Member

mainnet
daily relay limit
ERROR[05-28|01:45:59.280|github.com/status-im/status-go/protocol/messenger_curated_communities.go:49] failed to get curated communities from contract error="fallback failed with '401 Unauthorized: project id required in the url\n'. run error was 'endpoint xxxxxx has passed its daily relay limit'"

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

Successfully merging a pull request may close this issue.

4 participants