Comments (5)
I’ve never seen this. I suspect we’ll need to see the actual job payload to diagnose.
from sidekiq.
These are the job args.
108949587, 43342709, 521298525, 2778
from sidekiq.
Tracked it down. This is due to this change.
This is the backtrace that was created before the change and can no longer be read by the new code.
"eJwdy00OwiAQBtCrGDZujERjXPQqxoxQPmV0WugM2Ov78/bv4kKt/lmi+Qe3\n3KNX1B6FLVPtIqRYOqzRmjGTtdBAEWOZYDRKMST65r3G4XgeeN7cKvRedNq6\
nnROO3jjhxQtNnJJgDQpv0DfUr7mkPs/cfvlw+ucxiGzd9QPLSDft\n"
from sidekiq.
Looks like we should have used m
rather than m0
as the unpack directive?
https://github.com/ruby/base64/blob/9669a7d3b0e3b9a739969404daf58f912c58c6b3/lib/base64.rb#L242
from sidekiq.
It was using lax encoding/decoding previously, I changed it to strict on request.
It may be safe to simply switch back to that: while a lax encoded string raises on strict decoding, the opposite direction works just fine:
Base64.decode64(Base64.strict_encode64("abc"))
# => "abc"
Base64.strict_decode64(Base64.encode64("abc"))
# => <internal:pack>:29:in `unpack1': invalid base64 (ArgumentError)
I however haven't tested this further than the above example.
from sidekiq.
Related Issues (20)
- Batches wrapping unique_for jobs completing before jobs have run HOT 5
- "Error fetching job" after upgrade to Sidekiq 7 HOT 8
- Worker not running in schedule.rb HOT 7
- Sidekiq::Limiter.unlimited does not comply with signature of other limiters
- Jobs Stuck in Enqueue state (Enqueued Actionmailer) HOT 20
- Current attributes lost after inline execution HOT 2
- Child batches with enqueued jobs don't prevent parent batches from completing HOT 8
- `sidekiq-pro` gem 7.2.1 not found in the repository HOT 1
- Add splash logo on startup when using a custom log formatter HOT 2
- Job payload inconsistently persisted through retries HOT 3
- delete_by_class returns zero and doesn't remove any jobs HOT 1
- sidekiq-ent not found when running bin/rails on Ruby 3.3.2 HOT 5
- Dependency on the `logger` gem which will be removed in Ruby 3.5 HOT 2
- QUESTION: Is it possible to customize UI? HOT 3
- sidekiq-ent: unknown keyword: :cluster_safe (ArgumentError) HOT 2
- Error with rack 3.1.0 HOT 3
- Language selector in footer hides web body content HOT 1
- Sidekiq Pro 7.2.0 does not support dogstatsd-ruby versions less than v5 HOT 2
- Ghost callbacks spam the retry set? HOT 8
- Nested batches fire in a wrong order in testing mode
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 sidekiq.