[Buildbot-devel] HTTPStep timeout doesn't work
Yasser LEBON
yasser.lebon at gmail.com
Mon May 5 14:25:20 UTC 2014
The issue has been resolved. I had
os.environ['http_proxy']='http_proxy://proxy:3128' in my code and It works
after removing this line.
2014-04-30 14:25 GMT+02:00 Yasser LEBON <yasser.lebon at gmail.com>:
> I don't encouter this problem when using Curl with the same request
> directly from command line. So, apparently there is a difference behaviour
> between txrequests and curl. I will try also also httpbin.
>
> Thanks for your answer
>
>
> 2014-04-30 11:33 GMT+02:00 Benoît Allard <benoit.allard at greenbone.net>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 04/30/2014 11:21 AM, Yasser LEBON wrote:
>> > I have already tried to increase timeout parameter but I still get
>> > the same error and I don't set the timeout anywhere. Here's the
>> > output:
>> >
>> > <HTML><HEAD> <TITLE>Network Error</TITLE> </HEAD> <BODY>
>> > <blockquote> <TABLE border=0 cellPadding=1 width="80%"> <TR><TD>
>> > <FONT face="Helvetica"> <big>Network Error (tcp_error)</big> <BR>
>> > <BR> </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica"> A
>> > communication error occurred: "" </FONT> </TD></TR> <TR><TD> <FONT
>> > face="Helvetica"> The Web Server may be down, too busy, or
>> > experiencing other problems preventing it from responding to
>> > requests. You may wish to try again at a later time. </FONT>
>> > </TD></TR> <TR><TD> </TD></TR> </TABLE> </blockquote> </FONT>
>> > </BODY></HTML>
>> >
>>
>> This is not a timeout, this is the server refusing to answer to your
>> request. You should check the validity of your API request, or the
>> availability of the server. Maybe try sending your request to httpbin,
>> to validate that what get sent is what you expect ...
>>
>> Regards,
>> Ben
>>
>> - --
>> Benoît Allard (B30A05B0)|Greenbone Networks GmbH|http://greenbone.net
>> Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
>> Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.12 (GNU/Linux)
>> Comment: Using GnuPG with Icedove - http://www.enigmail.net/
>>
>> iQEcBAEBAgAGBQJTYMNbAAoJEHZCfVOzCgWwcf0H/2AdwSTprHZLwqi98NVmtWbA
>> GNcA47g2plnc/+Vfn7EFO2uSNMSGXeTuU3T13Hd1WW3dwkqS8D8UHp9TsTsX7myP
>> spXhUR7XPYRfSeR0LScdmn8d8A/YtlsFe2e8j7j7lLKij33fOuvREEO3IcLOyyc6
>> NB+lv8Wm+enDRVkov1HsJvRnzYaLjv8sdZSjk5cneCYWDQvCHOAvqf6+CfcUNNg4
>> m5f227gp25EFNC1nadqSbjpRS7uOzKT0DPH0tjQ7EBD5/BzaI5/DQSl5o9J7xyNN
>> OfpirNjpSg3P9hUqDOVTeTI5nIJZwj/mnPf/Fiiq1ElLEAK0vcV9Phb5Lshc4+0=
>> =+d1T
>> -----END PGP SIGNATURE-----
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140505/b8096a81/attachment.html>
More information about the devel
mailing list