Thanks for your response , I've already seen this library but i don't want you use it because i want a custom solution. My code is similar to the code of the library but I get EOFError (end of file reached) when i send the http request .Maybe the response is causing the error . I want to know if my code is a wright approach to communicating with my chain ,so that i cant change the code if is wrong or to change some multichain parameters if thats the problem.Thank you.