Mailinglist Archive: opensuse-buildservice (276 mails)
| < Previous | Next > |
Re: Re: [opensuse-buildservice] lost sync with server
- From: Denis Pynkin <denis_pynkin@xxxxxxxx>
- Date: Mon, 19 Mar 2012 17:26:57 +0300
- Message-id: <190318209.faEiP4Oq1u@alien.t-linux.by>
On Monday 19 March 2012 15:03:33 Adrian Schröter wrote:
The problem is in get/post methods.
With newer POST method all parameters from http-request body are ignored and
backend always receives only "/lastevents" string cutted by api without any
additional parameters. So backend always answer 'lost sync with server' to
slave OBS instance. The problem disappeared if 'pass_to_backend' is called
without parameter 'path'.
I am not sure if my fix is done in right way but it works.
--
Best Regards,
Denis Pynkin
Senior software developer
EPAM Systems
Minsk office, Belarus
GMT+2 (Standard) / GMT+3 (Daylight)
Office phone: +375 (17) 389-0100
Office fax: +375 (17) 268-6699
Mobile phone: +375 (29) 134-0065
E-mail: Denis_Pynkin@xxxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
I do not see how your patch makes a difference. Could you please debug it a
bit deeper and explain exactly what got lost where ?
The problem is in get/post methods.
With newer POST method all parameters from http-request body are ignored and
backend always receives only "/lastevents" string cutted by api without any
additional parameters. So backend always answer 'lost sync with server' to
slave OBS instance. The problem disappeared if 'pass_to_backend' is called
without parameter 'path'.
I am not sure if my fix is done in right way but it works.
--
Best Regards,
Denis Pynkin
Senior software developer
EPAM Systems
Minsk office, Belarus
GMT+2 (Standard) / GMT+3 (Daylight)
Office phone: +375 (17) 389-0100
Office fax: +375 (17) 268-6699
Mobile phone: +375 (29) 134-0065
E-mail: Denis_Pynkin@xxxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
| < Previous | Next > |