-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
Integration Test fails with MySQL Backend #238
Comments
Problem is that the string being stored is ~400 bytes long. Example: {"kty":"RSA","n":"rmsgmYJp_U6ASW00hbBJErub94XngAshncQK02_TeAP0Cps2gXZGaUGQ7wCTU2cLktlxDA5zOFKGOz1GkHYrjG65-uQV65m3cfnAYyqQVfLFgyyc_UgcqEjIxrXd8aqVX-C574JHsz_tl5SuI-r-lmt6bckIZ07vGRkAcq5oIDWoEaGg0Rki-vR2w264QFIpODwfCeKHsW-khg2M9ll43C9TF3Z_UESk_rYVNoVhymx0eA1ghCTpx5zZbzZN5AMBu-v9cmmu_YVph1jBvKTphZidJSBP1WupSq5EwwWIcyL0WZ3_Nbv4s-dyNsoHuWeCAs6vuB4d5MXOjvyiE2k10w","e":"AAEAAQ"}``` |
This column needs to be lengthened, and explicitly defined as a HASH-type index to avoid the performance penalties associated with the extremely common |
- Added SQL debug logging (SA option: "SQLDebug") - Added timestamps to the log prints to stdout - Ignore *.pem in test/js - Modified start.sh to support environment overrides for BOULDER_CONFIG, like the AMQP mode - Changed boulder-test-config to open the server on the loopback device, so as to not cause firewall prompts on each integration test run for those of us being restrictive - Renamed "key" column to "jwk" in DB, to avoid keyword conflict - Set MaxLength on "jwk" column to 512
Another failure: |
To fix that failure, we need to append ?parseTime=true to the dbName URI. That should probably be done programmatically rather than rely on the config file, as it's a requirement for the application as a whole. |
Issue #238 - MySql column width too narrow
As #241 is closed, closing this issue. |
[AUDIT] Internal error - Error creating new registration - Error 1406: Data too long for column 'key' at row 1
Happens when using MariaDB as the SA's backing store.
The text was updated successfully, but these errors were encountered: