Skip to content

Troubleshooting

Kozejin edited this page Mar 4, 2024 · 2 revisions

These are just some trouble shooting issues that people have. I will be posting the fixes here.

ModuleNotFoundError: No module named 'pkg_resources'

This issue is caused by setup tools not properly being installed with Python.

python -m pip install setuptools

JSONDecodeError: Expecting ','

You messed up your config.json. You will need to overlook it and see where the , is missing or added to break it. You can always contact me to take a look.

Unable to get local issuer certificate

Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')] This issue is a little more complicated to solve. There are several ways to resolve this and everyone's issue is different.

  1. The first thing to try is upgrading the certifi package.
python -m pip install --upgrade certifi
  1. If first option doesn't work, follow this short guide to manually install the certificates.
    • Go to start, type Microsoft Edge, and run as administrator.
    • Go to discord, and click on the padlock icon next to the domain.
    • Click Connection is Secure, then the little Show Certificate icon.
    • Inside the Certificate Viewer: discord.com, click on Details.
    • In the Details tab click Baltimore CyberTrust Root, export the Baltimore CyberTrust Root.crt and run it.
    • You will install the certificate then try launching the bot again and it should succeed.

Failed to decode base64

You enabled the PalGuard RCONbase64 and now need base64 rcon protocol. This is currently a work in progress. You'll need to contact me over discord or in my support server to get access to this new protocol.