Uploaded image for project: 'Mojang Web Services'
  1. Mojang Web Services
  2. WEB-6780

Texture webserver sometimes returns HTTP 520

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • Icon: Normal Normal
    • Other
    • None

      When trying to fetch a PNG from textures.minecraft.net with Cloudflare Workers, you sometimes get a 520 HTTP status code. This is the status code that Cloudflare gives to subrequests that return an empty, unknown or unexpected response. 

      You can test this in the Cloudflare Workers playground. I made a snippet available here on the playground where you can click Send at the top right to trigger the worker. You will see if the request for a skin texture was successful after that.

      It might work fine, the subrequest to textures.minecraft.net returns HTTP status 200 and the PNG. However, if you try a few more times you will see that the subrequest will return HTTP status 520.

            Unassigned Unassigned
            plotzes plotzes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: