Username: 
Password: 
Restrict session to IP 

wechall command failing with Connection refused on Bandit

Global Rank: 7535
Totalscore: 1653
Posts: 2
Thanks: 3
UpVotes: 3
Registered: 19d 16h
Taiguara_Cin_ufpe`s Avatar
Last Seen: 11d 1m
The User is Offline
wechall command failing with Connection refused on Bandit
Google/translate2Thank You!2Good Post!0Bad Post! link
Hi!

I'm trying to register my Bandit progress on WeChall, but the wechall command on the Bandit warbox is failing. My WECHALLUSER and WECHALLTOKEN are set correctly (I'm not getting an "Invalid Token" or "unknown user!" message — it never reaches the service). When I run wechall, I get:

Traceback (most recent call last):
File "/usr/local/bin/wechall", line 37, in <module>
ssl_sock.connect((host, port))
File "/usr/lib/python3.14/ssl.py", line 1405, in connect
self._real_connect(addr, False)
File "/usr/lib/python3.14/ssl.py", line 1392, in _real_connect
super().connect(addr)
ConnectionRefusedError: [Errno 111] Connection refused

It looks like the script can't establish an SSL connection to the WeChall server (connection refused), which seems to be on the server/service side rather than my configuration. This has been happening consistently over several hours.

Is the WeChall endpoint that the Bandit wechall script connects to currently down, or is there an IP/port mapping issue on the WeChall side? Any help would be appreciated.

Thanks!
Global Rank: 7535
Totalscore: 1653
Posts: 2
Thanks: 3
UpVotes: 3
Registered: 19d 16h
Taiguara_Cin_ufpe`s Avatar
Last Seen: 11d 1m
The User is Offline
RE: wechall command failing with Connection refused on Bandit
Google/translate1Thank You!1Good Post!0Bad Post! link
Same Connection refused error here (Errno 111, SSL connect fails before reaching the service). A few others in the OTW Discord are reporting the exact same thing over the last day. The likely cause came up there: OverTheWire did a redeployment over the weekend, and per an OTW staff member the warbox's IP address probably changed — so WeChall's servers may still be pointing at the old IP, which is why the connection is refused before it ever reaches the service. Looks like it needs WeChall's side to update the new IP. Anyone able to confirm / push that update?
Global Rank: 6
Totalscore: 607410
Posts: 374
Thanks: 398
UpVotes: 408
Registered: 17y 6h







Last Seen: 14s
The User is Online
RE: wechall command failing with Connection refused on Bandit
Google/translate0Thank You!0Good Post!0Bad Post! link

I can reproduce the issue, though I think it's a network problem on OTW's side, since

  • a) the service is running, and
  • b) I can connect to it from outside, gettng the expected reply: ERROR Connected from unknown Warbox!

Just raised the issue in OTW's IRC. It seems they updated some network stuff, IP addresses changed etc., which might be related to this issue.

Global Rank: 3073
Totalscore: 7576
Posts: 8
Thanks: 2
UpVotes: 2
Registered: 19d 10h
pauluZ`s Avatar
Last Seen: 22h 54m
The User is Offline
RE: wechall command failing with Connection refused on Bandit
Google/translate1Thank You!0Good Post!0Bad Post! link
It seems the problem has been resolved!
feicuijade, pauluZ, quangntenemy, TheHiveMind, Z, balicocat, Ge0, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, fpombal, csuquvq, Psycho01010 have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 95 times.