Skip to content

Bot issue #24

Description

@sultanberisa

I am hosting the server in a special environment on a work server, here is docker log from bot:

root@fridvmafub01:/home/sultanb# docker logs cs2_battle_bot
CS2 Battle Bot: 2024-10-14 11:30:50,315 | DEBUG | main.py:91 | Connected to Redis: True
Starting listening events
CS2 Battle Bot: 2024-10-14 11:30:53,055 | DEBUG | main.py:21 | We have logged in as CS2 Battle Bot#5365
root@fridvmafub01:/home/sultanb# docker logs cs2_battle_bot
CS2 Battle Bot: 2024-10-14 11:30:50,315 | DEBUG | main.py:91 | Connected to Redis: True
Starting listening events
CS2 Battle Bot: 2024-10-14 11:30:53,055 | DEBUG | main.py:21 | We have logged in as CS2 Battle Bot#5365
CS2 Battle Bot: 2024-10-14 11:31:14,493 | DEBUG | settings.py:41 | Request event hook: GET http://localhost:8000/api/guilds/1220012213193146458/
CS2 Battle Bot: 2024-10-14 11:31:14,508 | ERROR | main.py:75 | ApplicationCommandInvokeError('Application Command raised an exception: ConnectError: All connection attempts failed')
CS2 Battle Bot: 2024-10-14 11:31:14,508 | ERROR | main.py:76 | Application Command raised an exception: ConnectError: All connection attempts failed

2024-10-14_13h32_46

Since im using a direct IP to access it (ipv4), it might be failing due to it tryng to use localhost instead. anywhere i can hardcode the ipv4 so it tries to use http://iphere:8000/apiblablabla?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions