-
Notifications
You must be signed in to change notification settings - Fork 147
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
bug: pushd
error: VAPID_PRIVATE_KEY
: InvalidPadding
#122
Comments
the decoder requires that the generated key has no padding. I suspect that the generated keys have padding - we've seen this issue on our end at Upryzing and, taking a look, our key (which was generated with the script) does have padding. I'll test removing it in a bit and see if that fixes the issue |
yup. removing the padding fixes this issue. now getting a different error which is with our configuration, but the original issue has gone |
I'm assuming the fix is to remove the padding when generating the keys so cc @insertish |
Can you give an example how you fixed it in the script? |
I didn't tweak the script, but in our |
generate_config.sh would generate keys with base64 = padding which would crash pushd
./generate_config.sh was not stripping base64 padding (=) which would lead to pushd crashing
my pr should automate this, sorry for the brevity, i still encounter other issues |
Closing as should be resolved by #126 which is now merged. |
What happened?
Error description
When I run
docker compose up -d
I get the following in thepushd
logs:As far as I understand, the issue is related to
vapid
private key: when I change it in theRevolt.toml
, the error message also changes. The keys are generated using the./generate_config.sh
script.Environment
OS: Debian 12
Docker version 27.4.1, build b9d17ea
Docker Compose version v2.32.1
Arch: amd64 (x86_64)
Maybe important: I don't use domain names. I only use IP address.
Steps to reproduce
Following
README.md
:./generate_config.sh 123.123.123.123
(my IP address is different).docker compose up -d
.Expected
All the services start and the pages
https://123.123.123.123/*
are accessible.Actual behavior
pushd
service does not load and keeps restarting with the error message presented above.UPD 2025-01-08
I have also tried with domain name and using Ubuntu 24.04 as in the instructions. The error is the same,
The text was updated successfully, but these errors were encountered: