Homework 1 forum

CLI test fail on gitlab

 
Picture of Clément Luc Irénée Blaudeau
CLI test fail on gitlab
by Clément Luc Irénée Blaudeau - Saturday, 24 October 2020, 11:11
 
Sometimes (~50% of the time actually), the CLI test fails on gitlab because of the following error:
Error connecting to the Gossiper:  Post "http://127.0.0.1:2001/message": dial tcp 127.0.0.1:2001: connect: connection refused

As advised for homework 0, I use the normal http library, specifically the Post function.
Would you have a clue of what I'm doing wrong ?

Thank you for you help !
Picture of Elie Daou
Re: CLI test fail on gitlab
by Elie Daou - Saturday, 24 October 2020, 17:59
 

Probably the same thing from Homework 0, try adding a timer to the cli sendMsg, as suggested here:

https://moodle.epfl.ch/mod/forum/discuss.php?d=42548