bug#42548: Cuirass 504 errors

2020-07-26 Thread Mathieu Othacehe
Hello, Back from holidays, perfect time to fix some Cuirass issues :) The Cuirass web interface frequently serves 504 errors for all requests, requiring a service restart on berlin. Having a look to /var/log/cuirass-web.log it seems that we have indeed multiple things going wrong. A first prob

bug#42548: Cuirass 504 errors

2020-07-27 Thread zimoun
Hi Mathieu, On Sun, 26 Jul 2020 at 18:10, Mathieu Othacehe wrote: > A second issue is caused when a build product download is started, then > aborted. In that case, sendfile throws an exception or enters an endless > loop. What do you mean by “build product download is started, then aborted”?

bug#42548: Cuirass 504 errors

2020-07-28 Thread Mathieu Othacehe
Hey zimoun, > What do you mean by “build product download is started, then aborted”? Here I mean clicking on the downloadable image here[1] and then hit "cancel" when the download popup appears, or the abort button later on, when the download is started. Thanks, Mathieu [1]: https://ci.guix.

bug#42548: Cuirass 504 errors

2020-07-28 Thread zimoun
Hi Mathieu, On Tue, 28 Jul 2020 at 09:32, Mathieu Othacehe wrote: > Here I mean clicking on the downloadable image here[1] and then hit > "cancel" when the download popup appears, or the abort button later on, > when the download is started. Ah that’ annoying indeed. :-) And does it mess Cuira

bug#42548: Cuirass 504 errors

2020-07-28 Thread Mathieu Othacehe
> And does it mess Cuirass if the connection is lost e.g. down the > network? Not sure yet, I also found this message: --8<---cut here---start->8--- Uncaught exception in fiber ##f: In ice-9/boot-9.scm: 1736:10 5 (with-exception-handler _ _ #:unwind? _ # _

bug#42548: Cuirass 504 errors

2020-07-30 Thread Mathieu Othacehe
Hey, > A second issue is caused when a build product download is started, then > aborted. In that case, sendfile throws an exception or enters an endless > loop. Ok, so I found a couple of errors here. First, I noticed that it was not possible to download simultaneously two build products, beca

bug#42548: Cuirass 504 errors

2020-08-04 Thread Mathieu Othacehe
Hello, > that suggests that we try to write something to a closed file. > > To be investigated :) Ok, so I have a better grasp on what's going on. Cuirass web server is receiving some requests such as "/builds/1234)" which were not rejected, but worst, caused SQL queries such as "select * from

bug#42548: Cuirass 504 errors

2020-08-06 Thread Mathieu Othacehe
Hello, > I'm still waiting a few days before closing this issue. No issues so far, closing this one. Mathieu