Project

General

Profile

Actions

Bug #14018

closed

Sidekiq rejects output of Marshal.dump

Added by zheka (Eugene Mirkin) about 7 years ago. Updated almost 6 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
[ruby-core:83308]

Description

I encountered this bug when using ActiveJob in Rails. Here is what happens...

parcel = Marshal.dump(1508129809) # => "\x04\bl+\a\x11<\xE4Y"
MyJob.perform_later(parcel) # this is where the error happens (as the parcel is being prepared for the send-off)

When I use the built-in Rails 5 queue adapter, everything works fine. If, however, I switch to Sidekiq, I get this:
Encoding::UndefinedConversionError ("\xE4" from ASCII-8BIT to UTF-8)

Actions #2

Updated by naruse (Yui NARUSE) almost 6 years ago

  • Status changed from Open to Third Party's Issue
Actions

Also available in: Atom PDF

Like0
Like0Like0