Skip to content

API returning 524 on some inscriptions #30

Description

@whoabuddy

First reported yesterday, still trying to identify the pattern / root cause.

Problem

Certain inscriptions are not loading, the connection stays open until a 524 error is returned. So far it seems to be some of the more recent ones, e.g.

When queried with curl each returns after ~1-2min:

<html>
<head><title>524 Origin Time-out</title></head>
<body bgcolor="white">
<center><h1>524 Origin Time-out</h1></center>
<hr><center>cloudflare-nginx</center>
</body>
</html>

Certain inscriptions are still loading, but seems to be hit or miss. This one seems to work:
https://inscribe.news/api/data/568287

But this lower number one does not:
https://inscribe.news/api/info/25000

But this one does?
https://inscribe.news/api/info/25

Fix Attempts

  • tried redeploying the site, still seeing the same issue after.
  • manually inspected the function logs, no errors
  • manually inspected the KV data, seems consistent

Next Steps

  • remove non-V2 KV references, then redeploy site (part of Some cleanup and additions #29)
  • KV -> durable object conversion for promise race condition
  • verify traffic with indexer temporarily paused
  • add banner to loading page - we're working on it!

2023/04/30 1600: issue appears resolved with no additional actions, further testing ongoing, suspect it's a problem with indexer and high-volume traffic

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions