Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Returning 403/404 error with no data for some pools #175

Open
yushih opened this issue Jul 12, 2021 · 3 comments
Open

Returning 403/404 error with no data for some pools #175

yushih opened this issue Jul 12, 2021 · 3 comments

Comments

@yushih
Copy link

yushih commented Jul 12, 2021

As of now:

$ curl -v https://smash.cardano-mainnet.iohk.io/api/v1/metadata/c73186434c6fc6676bd67304d34518fc6fd7d5eaddaf78641b1e7dcf/26bc325d205e6714965ca6ba336ecbf29333c7af9b76b21b59bad2c4ed59bf52
*   Trying 18.158.166.36...
* Connected to smash.cardano-mainnet.iohk.io (18.158.166.36) port 443 (#0)
...
> GET /api/v1/metadata/c73186434c6fc6676bd67304d34518fc6fd7d5eaddaf78641b1e7dcf/26bc325d205e6714965ca6ba336ecbf29333c7af9b76b21b59bad2c4ed59bf52 HTTP/1.1
> Host: smash.cardano-mainnet.iohk.io
> User-Agent: curl/7.47.0
> Accept: */*
> 
< HTTP/1.1 403 Forbidden
< Server: nginx
< Date: Mon, 12 Jul 2021 11:26:23 GMT
< Content-Length: 0
< Connection: keep-alive
< X-Varnish: 207569092 458783
< Age: 329423
< Via: 1.1 varnish (Varnish/6.5)
< x-cache: hit cached
< Vary: Origin
< Access-Control-Allow-Methods: GET, PATCH, OPTIONS
< Access-Control-Allow-Headers: User-Agent,X-Requested-With,Content-Type
< 
$ curl -v https://smash.cardano-mainnet.iohk.io/api/v1/metadata/d264ba622976fe65ed0d194175afe80927e379ac23de5e6c3d42febb/e75a2bf2d6fa50bcc8cf6523592316b9ec582cc6e3a7f4bb47a831c287d165ef
*   Trying 18.158.166.36...
* Connected to smash.cardano-mainnet.iohk.io (18.158.166.36) port 443 (#0)
...
> GET /api/v1/metadata/d264ba622976fe65ed0d194175afe80927e379ac23de5e6c3d42febb/e75a2bf2d6fa50bcc8cf6523592316b9ec582cc6e3a7f4bb47a831c287d165ef HTTP/1.1
> Host: smash.cardano-mainnet.iohk.io
> User-Agent: curl/7.47.0
> Accept: */*
> 
< HTTP/1.1 404 Not Found
< Server: nginx
< Date: Mon, 12 Jul 2021 11:34:16 GMT
< Content-Length: 0
< Connection: keep-alive
< X-Varnish: 207084453 208312326
< Age: 1425
< Via: 1.1 varnish (Varnish/6.5)
< x-cache: hit cached
< Vary: Origin
< Access-Control-Allow-Methods: GET, PATCH, OPTIONS
< Access-Control-Allow-Headers: User-Agent,X-Requested-With,Content-Type
< 

But the metadata are correctly registered: https://cardanoscan.io/pool/c73186434c6fc6676bd67304d34518fc6fd7d5eaddaf78641b1e7dcf?tab=metadata
https://cardanoscan.io/pool/d264ba622976fe65ed0d194175afe80927e379ac23de5e6c3d42febb?tab=metadata

The issue Emurgo/yoroi-frontend#2164 is likely caused by the same problem occurring on Yoroi's SMASH server instance.

@jbgi
Copy link
Contributor

jbgi commented Jul 13, 2021

For the second one (d264ba622976fe65ed0d194175afe80927e379ac23de5e6c3d42febb) the issue seems to be that the metadata url is offline: https://cardanoswiss.ch/wp-content/uploads/2021/02/metadata.json

Investigating the first one.

@woltere
Copy link

woltere commented Aug 28, 2021

@vsubhuman
Copy link

@jbgi , any news for this?

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

No branches or pull requests

4 participants