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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...