[GH-ISSUE #575] Import from JSON not always working with MySQL #376

Closed
opened 2026-03-03 01:28:32 +03:00 by kerem · 2 comments
Owner

Originally created by @fabicodes on GitHub (Aug 16, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/575

I think this is a similar issue https://github.com/diesel-rs/diesel/issues/1181
I am running
bitwardenrs/server-mysql@sha256:874906c654b7e150e96a119111720fef81fab90af6ec87898eaef8f948514d2e
using the bitwardenrs/server-mysql:latest tag
Version: 1.9.1-27c23b60

[2019-08-16 04:40:24][rocket::rocket][INFO] POST /api/ciphers/import application/json; charset=utf-8:,
[2019-08-16 04:40:57][rocket::rocket][INFO] GET /api/sync?excludeDomains=true application/json:,
[2019-08-16 04:40:57][_][INFO] Matched: GET /api/sync?<data..> (sync),
thread '<unnamed>' panicked at 'Error loading ciphers: DeserializationError("Numeric overflow/underflow occurred")', src/libcore/result.rs:1051:5

Same JSON File works fine with the current non-MySQL build

Originally created by @fabicodes on GitHub (Aug 16, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/575 I think this is a similar issue https://github.com/diesel-rs/diesel/issues/1181 I am running `bitwardenrs/server-mysql@sha256:874906c654b7e150e96a119111720fef81fab90af6ec87898eaef8f948514d2e` using the `bitwardenrs/server-mysql:latest` tag `Version: 1.9.1-27c23b60` ```[2019-08-16 04:40:24][_][INFO] Matched: POST /api/ciphers/import (post_ciphers_import), [2019-08-16 04:40:24][rocket::rocket][INFO] POST /api/ciphers/import application/json; charset=utf-8:, [2019-08-16 04:40:57][rocket::rocket][INFO] GET /api/sync?excludeDomains=true application/json:, [2019-08-16 04:40:57][_][INFO] Matched: GET /api/sync?<data..> (sync), thread '<unnamed>' panicked at 'Error loading ciphers: DeserializationError("Numeric overflow/underflow occurred")', src/libcore/result.rs:1051:5 ``` Same JSON File works fine with the current non-MySQL build
kerem closed this issue 2026-03-03 01:28:32 +03:00
Author
Owner

@dani-garcia commented on GitHub (Aug 18, 2019):

Hmm not sure what column could be overflowing, most of the integers should have values under 10 or so. The only ones I can think that are bigger are the attachments file sizes and the number of iterations for the users password, but both should be well under the 32 bit max.

<!-- gh-comment-id:522341168 --> @dani-garcia commented on GitHub (Aug 18, 2019): Hmm not sure what column could be overflowing, most of the integers should have values under 10 or so. The only ones I can think that are bigger are the attachments file sizes and the number of iterations for the users password, but both should be well under the 32 bit max.
Author
Owner

@dani-garcia commented on GitHub (May 13, 2020):

Closed due to inactivity.

<!-- gh-comment-id:628275759 --> @dani-garcia commented on GitHub (May 13, 2020): Closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#376
No description provided.