Skip to content

Client connections fail after PSK rotation on wormhole server despite correct WireGuard configuration #100

@blafry

Description

@blafry

📋 Description

After rotating the PSK (Pre-Shared Key) on the wormhole server and restarting it, all previously connected client infrastructures were disconnected. When clients attempted to reconnect to the wormhole server, they received an "invalid PSK" error message, even though their WireGuard configuration was correct and unchanged.

🔄 Steps to Reproduce

  1. Rotate PSK on the wormhole server
  2. Restart the wormhole server
  3. Observe that all previously connected clients are disconnected
  4. Attempt to reconnect from client side with existing (old) PSK configuration
  5. Connection fails with invalid PSK error

✅ Expected Behavior

Clients should:

  • Continue to work with their existing WireGuard configuration

❌ Actual Behavior

Clients receive invalid PSK error despite having correct WireGuard configuration. Connection only succeeds after manually updating the PSK on the client side to match the new server PSK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions