Vex-Cogs icon indicating copy to clipboard operation
Vex-Cogs copied to clipboard

api.vexcodes.com Cloudflare Tunnel Error

Open tigattack opened this issue 4 months ago • 2 comments

What cog is this bug report for?

betteruptime

What versions are you running?

Versions                      
                ╷         ╷         ╷              
                │ Current │ Latest  │ Up to date?  
╶───────────────┼─────────┼─────────┼─────────────╴
  This Cog      │ 2.1.5   │ Unknown │ 🟢           
  Bundled Utils │ 38d9a6f │ Unknown │ 🟢           
  Red           │ 3.5.22  │ Unknown │ 🟢           
                ╵         ╵         ╵

Describe the bug

api.vexcodes.com returns Cloudflare Tunnel Error 1033. This causes the log below. Not a problem, just FYI.

If there's an error, paste it here

[2025-09-10 00:32:54] [DEBUG] red.vex-utils: Something went wrong checking if betteruptime cog is up to date. See below.
Traceback (most recent call last):
  File "/redbot/data/cogs/CogManager/cogs/betteruptime/vexutils/meta.py", line 184, in out_of_date_check
    vers = await _get_latest_vers(cogname)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/redbot/data/cogs/CogManager/cogs/betteruptime/vexutils/meta.py", line 218, in _get_latest_vers
    data = await r.json()
           ^^^^^^^^^^^^^^
  File "/redbot/.local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1176, in json
    raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://api.vexcodes.com/v2/vers/betteruptime')

tigattack avatar Sep 10 '25 00:09 tigattack

Thanks for the report.

This only appears when debug level logging has been manually enabled and, as you say, doesn't affect the functionality.

Vexed01 avatar Sep 10 '25 15:09 Vexed01

Yep, just letting you know 👍

tigattack avatar Sep 10 '25 18:09 tigattack