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

DB Migration Gets Failed #1446

Closed
chahmedejaz opened this issue Nov 5, 2023 · 0 comments · Fixed by #1592
Closed

DB Migration Gets Failed #1446

chahmedejaz opened this issue Nov 5, 2023 · 0 comments · Fixed by #1592
Labels
bug Issues containing bug reports

Comments

@chahmedejaz
Copy link
Contributor

Steps to reproduce the problem

  1. Migrate the database

Expected behaviour

Migration should be successful

Actual behaviour

Migration gets failed

Detailed description

vapid_keypair = Webpush.generate_key.to_hash

The above line throws the following error:
image

This is a known Webpush issue which is supposed to be fixed in this.

I'm not sure whether we should handle this here. Howoever, for the fix we might add some dummy private and public keys like:

vapid_keypair = {public_key: Random.uuid, private_key: Random.uuid}

Specifications

Ruby 3.2.2
Node 18.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues containing bug reports
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant