Skip to content
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

[ERROR] (JSON::GeneratorError) "source sequence is illegal/malformed utf-8" #228

Closed
gbp opened this issue Apr 1, 2019 · 2 comments
Closed
Labels
backlog bug Something isn't working

Comments

@gbp
Copy link
Member

gbp commented Apr 1, 2019

From: https://groups.google.com/a/mysociety.org/forum/#!topic/cron-foi-for-councils/CVQmgIpFjNo

A JSON::GeneratorError occurred in background at 2019-04-01 06:33:15 UTC :
       "enqueued_at"=>1554100395.2388668,
       "error_message"=>"source sequence is illegal/malformed utf-8",
       "error_class"=>"JSON::GeneratorError",
       "failed_at"=>1554084000.690861,
       "retry_count"=>9,
       "retried_at"=>1554093586.5809407},
     :jobstr=>
      "{\"class\":\"ImportDisclosureLogWorker\",\"args\":[\"all\"],\"queue\":\"default\",\"retry\":true,\"jid\":\"ffd2bc803deff506a6dc7830\",\"created_at\":1554084000.2772253,\"enqueued_at\":1554100395.2388668,\"error_message\":\"source sequence is illegal/malformed utf-8\",\"error_class\":\"JSON::GeneratorError\",\"failed_at\":1554084000.690861,\"retry_count\":9,\"retried_at\":1554093586.5809407}"}}

These occurred before and it seems to be invalid characters in the JSON return from the API. See: https://groups.google.com/a/mysociety.org/forum/#!searchin/clientsupport-council-foi/json%7Csort:date/clientsupport-council-foi/HnrNVojRxnE/cm5uuhy9CQAJ

@gbp gbp added the bug Something isn't working label Apr 1, 2019
@garethrees
Copy link
Member

Staging site at least, but yeah I checked the sidekiq queue and it looks like it'll continue to retry. Worth getting in touch with Infreemation I think.

@garethrees
Copy link
Member

Closing in favour of #326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants