Programming

Thursday 21 March 2019, 15:32  #1
Programming - Go back to college - Looking up your hostname
NCollig
  • 3 posts

Hi,

I’m trying to solve the first programming challenge in python. While I think I got the connection right, based on other examples I found, no matter what I try, I keep getting the same response back:

"’:irc.hackerzvoice.net NOTICE Auth :*** Looking up your hostname...\r\n’"

Any idea why that is, what is means and a hint to get it right?

Thank you.

NC

Friday 22 March 2019, 09:35  #2
Programming - Go back to college - Looking up your hostname
NCollig
  • 3 posts

Ok so it seems a firewall might have been part of the issue, I switched network, now on irc.connect I receive:

"b’:irc.hackerzvoice.net NOTICE Auth :*** Looking up your hostname...\r\n:irc.hackerzvoice.net NOTICE Auth :*** Found your hostname (X.X.X.X.static.edpnet.net) — cached\r\n’".

Then I send "NICK ..." and there I receive:

"b’ERROR :Closing link: (unknown@X.X.X.X.static.edpnet.net) [Registration timeout]\r\n’"

Any idea why I get a registration timeout?

Thanks a lot for any advice.

NC

Tuesday 2 April 2019, 21:05  #3
Programming - Go back to college - Looking up your hostname
OleNoob
  • 4 posts

After JOIN it is sometimes needed to pauze for 1 or 2 seconds.

Sunday 9 June 2019, 02:06  #4
Programming - Go back to college - Looking up your hostname
bleak
  • 1 posts

I don’t know if you still require help but maybe another person will run into the same. I did at least :)
OleNoob is right you need to try some pauses at different places.
But not while registration itself, that has to be performed pretty quick.
If you only send NICK you will not register properly.
Take a look at the RFC 2812 (https://tools.ietf.org/html/rfc2812...) to see all the required and optional parameters to send while registration process.
Also use the correct escape sequences as descripted in the RFC.
I hope this is helpful