[opensuse-buildservice] Buildinfo timeout issue on api.o.o
Hi, when posting a "larger" file to the _buildinfo route on api.o.o I get a strange timeout error: marcus@linux:~> dd if=/dev/zero of=./foo bs=1 count=250K 256000+0 records in 256000+0 records out 256000 bytes (256 kB) copied, 0.444089 s, 576 kB/s marcus@linux:~> curl -u Marcus_H -H "Content-Type: application/octet-stream" \ -X POST -T foo \ https://api.opensuse.org/build/openSUSE:Tools/FOO/BAR/_repository/_buildinfo Enter host password for user 'Marcus_H': <status code="timeout_error"> <summary>Timeout::Error</summary> </status> marcus@linux:~> A "smaller" file works as expected: marcus@linux:~> dd if=/dev/zero of=./foo bs=1 count=50K 51200+0 records in 51200+0 records out 51200 bytes (51 kB) copied, 0.0936674 s, 547 kB/s marcus@linux:~> curl -u Marcus_H -H "Content-Type: application/octet-stream" \ -X POST -T foo \ https://api.opensuse.org/build/openSUSE:Tools/FOO/BAR/_repository/_buildinfo Enter host password for user 'Marcus_H': <status code="not_found"> <summary><status code="404"> <summary>project 'openSUSE:Tools' has no repository 'FOO'</summary> <details>404 project 'openSUSE:Tools' has no repository 'FOO'</details> </status> </summary> </status> marcus@linux:~> I suspect there occurs an error when the api tries to contact the srcserver, but the Timeout::Error hides the actual exception (see Suse::Backend.put_or_post in lib/opensuse/backend.rb). Currently, I'm not able to reproduce this with a local instance (using git master). Any ideas? Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Monday 22 June 2015, 23:49:51 wrote Marcus Hüwe: ...
I suspect there occurs an error when the api tries to contact the srcserver, but the Timeout::Error hides the actual exception (see Suse::Backend.put_or_post in lib/opensuse/backend.rb). Currently, I'm not able to reproduce this with a local instance (using git master).
Any ideas?
Just briefly checking (not much time atm), but the problem is inside the api in any case. The source server get not even asked, but the api is returning 408 directly. Feel free to create a github issue for me about this ... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tuesday 23 June 2015, 09:40:58 wrote Adrian Schröter:
On Monday 22 June 2015, 23:49:51 wrote Marcus Hüwe: ...
I suspect there occurs an error when the api tries to contact the srcserver, but the Timeout::Error hides the actual exception (see Suse::Backend.put_or_post in lib/opensuse/backend.rb). Currently, I'm not able to reproduce this with a local instance (using git master).
Any ideas?
Just briefly checking (not much time atm), but the problem is inside the api in any case. The source server get not even asked, but the api is returning 408 directly.
Feel free to create a github issue for me about this ...
just guessing, mod_xforward might be guilty... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2015-06-23 09:42:20 +0200, Adrian Schröter wrote:
On Tuesday 23 June 2015, 09:40:58 wrote Adrian Schröter:
On Monday 22 June 2015, 23:49:51 wrote Marcus Hüwe: ...
I suspect there occurs an error when the api tries to contact the srcserver, but the Timeout::Error hides the actual exception (see Suse::Backend.put_or_post in lib/opensuse/backend.rb). Currently, I'm not able to reproduce this with a local instance (using git master).
Any ideas?
Just briefly checking (not much time atm), but the problem is inside the api in any case. The source server get not even asked, but the api is returning 408 directly.
Feel free to create a github issue for me about this ...
just guessing, mod_xforward might be guilty...
Hmm mod_xforward should not be involved when doing a (_buildinfo) POST request to the backend (or did I miss something?). However, I just installed apache2, enabled mod_xforward etc. and I still cannot reproduce it locally:/ Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Marcus Hüwe