Skip to content

api.vexcodes.com Cloudflare Tunnel Error #153

@tigattack

Description

@tigattack

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions