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

[dev] Broken with "Error fetching dapps" #16

Open
jakubgs opened this issue Nov 6, 2019 · 5 comments
Open

[dev] Broken with "Error fetching dapps" #16

jakubgs opened this issue Nov 6, 2019 · 5 comments

Comments

@jakubgs
Copy link
Collaborator

jakubgs commented Nov 6, 2019

Currently after clearing the IndexedDB from my browser I'm getting this error on https://dev.dap.ps/:

error Error: Error fetching dapps. Details: Returned values aren't valid, did it run Out of Gas?
    at f.<anonymous> (discover-service.js:102)
    at h (runtime.js:45)
    at Generator._invoke (runtime.js:264)
    at Generator.t.<computed> [as throw] (runtime.js:98)
    at n (asyncToGenerator.js:3)
    at u (asyncToGenerator.js:29)

The did it run Out of Gas? part makes me wonder.

Not sure what's that about, but I can see the API returning just fine from /metadata/all:

 $ curl -s https://dev.dap.ps/metadata/all | jq
{
  "Qmf7qAjiruKxnErF33tVr9CVFDLGoPLR92bevpjos5RFdt": {
    "details": {
      "name": "Mobile Moving",
      "url": "https://hard.life",
      "description": "Weekend tests on the go",
      "category": "SOCIAL_NETWORKS",
      "image": "https://dev.dap.ps/metadata/image/QmRRPqUyA8nAwx6PVf3c8MemQS2JNpgxBknaG11h7EXdNU",
      "dateAdded": 1565431027125,
      "uploader": "0x5f3371793285920351344a1eaaaa48d45e600652"
    },
    "status": "APPROVED",
    "_id": "5d4e94f6947c14649ed9d70a",
    "compressedMetadata": "0xd8d13539c2c77d5f7eafa37394dcf6474be2ad953a2db754a02ebcfcc6efbba9",
    "email": "[email protected]",
    "hash": "Qmf7qAjiruKxnErF33tVr9CVFDLGoPLR92bevpjos5RFdt",
    "__v": 0
  },
...(omitted)...

Any ideas @andytudhope ?

@andytudhope
Copy link
Collaborator

As in my email - this is most likely because your MetaMask/Status was not connected to Ropsten.

@jakubgs
Copy link
Collaborator Author

jakubgs commented Nov 7, 2019

@andytudhope I actually have MetaMask disabled right now in my browser.
The weird thing is that https://prod.dap.ps/ loads fine for me, but https://dev.dap.ps/ does not.
I'll look into it later today.

@jakubgs
Copy link
Collaborator Author

jakubgs commented Nov 7, 2019

This might be related to dap-ps/discover#16.

@jakubgs
Copy link
Collaborator Author

jakubgs commented Nov 7, 2019

If I re-enable MetaMask extension in my browser instead I get this error:

inpage.js:1 Uncaught Error: MetaMask detected another web3.
     MetaMask will not work reliably with another web3 extension.
     This usually happens if you have two MetaMasks installed,
     or MetaMask and another web3 extension. Please remove one
     and try again.
    at Object.<anonymous> (inpage.js:1)
    at Object.2../createStandardProvider (inpage.js:1)
    at i (inpage.js:1)
    at t (inpage.js:1)
    at inpage.js:1

@andytudhope
Copy link
Collaborator

The issue is definitely related to #16, although your latest comment is some issue in your own browser, not with the site.

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

No branches or pull requests

2 participants