Comments (8)
Interesting. Usually in the various language bindings the qless-core
repo is included as a submodule. If the same with PHP bindings, what SHA is it at? Alternatively, link to the PHP bindings?
from qless.
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.
Edit2: clarify more specifically the version of the binding (and thus Lua) we're using
from qless.
Thanks! Even though the PHP bindings are working fine, something that can cause problems is having too-far-mismatched SHAs for qless-core
between the language bindings and the qless
UI. However, that doesn't appear to be the case.
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.
from qless.
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 journalctl
when it runs under systemd.
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.
from qless.
Yeah, though it seemed odd that some buttons worked and some didn't. My first inclination when seeing an error with dup
in a server was that it was related to dup(2)
, but apparently dup
is a different thing in Ruby.
from qless.
At a guess it seems like it's related to sinatra/sinatra#1517, and because I was assigning the :ssl_params
key to a hash when required, and nil
when not.
from qless.
Ok, followup: its not related to our custom boot script, it affects the default qless-web
script too
from qless.
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.
from qless.
Related Issues (20)
- Forking worker unable to gracefully exit HOT 2
- InvalidByteSequenceError HOT 2
- Fast way to clear queue HOT 1
- Redis Cluster support HOT 1
- `Qless::Queue#peek` not returning correct results for recurring jobs HOT 5
- After sending pause signal (USR2) SerialWorker performs a job before it actually pauses
- RubyGem executables now go in exe HOT 1
- Custom JID option is not recognized when provided as string HOT 2
- Do not use CDN versions of JavaScript scripts HOT 6
- Lua Script Error on Redis 3.2 HOT 3
- other bindings
- Process SIGINT as SIGQUIT
- Incorrect documentation about signal handlers
- Floods of automated messages HOT 2
- Problems running web UI on startup HOT 4
- Purge old failed jobs HOT 1
- Get queue count outside of UI HOT 6
- Web App uses ~40 connections for a single request?? HOT 1
- Fails on redis 6.2.7 and redis 7.0 due to global lua tables becoming read only
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qless.