Jump to content

Errors when setting up the Lobby Bots.


LogicXPlaysYT
 Share

Recommended Posts

Hi,

When I set up the lobbybots, I get the following errors:

2025-07-23T15:14:25+0200 ERROR No appropriate login method. 2025-07-23T15:14:25+0200 ERROR Can't log in. Aborting reconnects.

I’ve checked my ejabberd config and confirmed the user credentials are correct, but the bot still fails to log in.

Could someone please advise how to fix this issue?

Thanks in advance!

Best regards,
LogicXPlaysYT

  • Like 1
Link to comment
Share on other sites

In general the instructions in https://github.com/0ad/lobby-bots should still work, although I haven't set up a multiplayer lobby using them in quite a while as using https://github.com/0ad/lobby-infrastructure/ is just much more comfortable.

Regarding your specific error, I can only guess based on the limited information you provided, but somebody had the same problem in the past using SleekXMPP (the predecessor of Slixmpp currently used by the bots): https://github.com/fritzy/SleekXMPP/issues/250. So my guess is you try to connect without TLS encryption, which Slixmpp doesn't allow with PLAIN authentication out of the box.

  • Thanks 1
Link to comment
Share on other sites

To start the bots I used command: 'python -m xpartamupp.bot_start -l admin -p logic -n HostTracker -r arena -m localhost --no-verify' , I've also tried this one: 'python -m xpartamupp.bot_start' but both of the commands give the error: 

'2025-07-24T12:46:42+0200 ERROR    No appropriate login method.'
'2025-07-24T12:46:42+0200 ERROR    Can't log in. Aborting reconnects.'

Does this mean I'll have to buy a domain first ( because now I'm using localhost ) create a TLS encryption and try it again?

 

Link to comment
Share on other sites

7 hours ago, LogicXPlaysYT said:

Does this mean I'll have to buy a domain first ( because now I'm using localhost ) create a TLS encryption and try it again?

No, you don't have to buy anything. You can continue to run it on localhost and create a self-signed TLS certificate as well. See the instructions at https://github.com/0ad/lobby-bots?tab=readme-ov-file#choice-b-self-signed-certificate.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...