New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't delete/timeout jobs via Web UI #281
Comments
Interesting. Usually in the various language bindings the |
Hey @dlecocq The PHP binding is (https://github.com/pdffiller/qless-php) which doesn't use a submodule, but we're currently using v3.8.1 which includes this version of the Qless Lua: https://github.com/pdffiller/qless-php/blob/v3.8.1/src/qless-core/qless.lua. Just to clarify: the php binding is working fine, both to queue jobs, pull them and then either complete/cancel etc. Edit: sorry, forgot the URL. |
Thanks! Even though the PHP bindings are working fine, something that can cause problems is having too-far-mismatched SHAs for Is that error trace what shows up in the UI? Or is that the contents of the response of the 500-ing API call? What's particularly confusing is that the stack trace doesn't even reference qless after the essentially the launch of the server. |
So I think a version of that stack trace may have been included in the XHR response to the call from clicking the buttons, but I actually got it from the console output of - so either direct output if it's run directly, or e.g. using From some other searching this exact error (and often with traces that reference Sinatra) come up all over the place, GH, SO, etc. It seems unlikely it's related to Qless directly, so I guess I'll keep searching for the solution. |
Yeah, though it seemed odd that some buttons worked and some didn't. My first inclination when seeing an error with |
At a guess it seems like it's related to sinatra/sinatra#1517, and because I was assigning the |
Ok, followup: its not related to our custom boot script, it affects the default |
Ok, yup, I 'solved' the issue by installing Ruby 2.6 from the Brightbox repo. This definitely seems to be caused by sinatra/sinatra#1514, but despite merging the fix 5 months ago, they haven't made a release since then, so not much that can be done from your point of view, but I guess at least now this issue will show up if anyone else gets the same behaviour. I'm gonna close this now, because I don't see any practical steps you can take to resolve it anyway. |
When trying to use the 'delete', 'timeout', 'untrack' or 'move' buttons in the Web UI for a job, the HTTP request it makes returns a HTTP 500 error, and both the html response, and the console for the server show the error
Note that 'track' seems to work as expected.
The stack trace for the error is below, as is the content of the 'boot' script we're using (called from systemd) in place of the shipping
qless-web.rb
.Error output:
Boot script:
Ruby isn't my bread and butter, we're using a PHP port of Qless within our application, but the Web UI (barring this issue) gives us a simple way to view/control the queues.
The text was updated successfully, but these errors were encountered: