Skip to content

decrypt error while trying to connect periphery to core (outbound) #1396

@diegovilar

Description

@diegovilar

I'm trying to connect a Periphery agent to Core (both using docker).

Configured PERIPHERY_CORE_ADDRESS, PERIPHERY_ONBOARDING_KEY and PERIPHERY_CONNECT_AS on Periphery side.

Core is behind a reverse proxy (Traefik), both https and http (for testing only).

When I start Periphery, I get this on the it's logs:

INFO PeripheryStartup: Komodo Periphery version: v2.1.2
(...)
INFO PeripheryStartup: Public Key: MCow**********************=
INFO PeripheryStartup:StartCoreConnection{address="https://komodo.lab"}: Initiating outbound connection to wss://komodo.lab/ws/periphery?server=sesrv77
DEBUG [CORE AUTH] Zero trust identifiers host="komodo.lab" query="server=sesrv77" sec_websocket_accept="M8qeoqppLi0A4nnHK5UEWQ32B2M="
ERROR Onboarding failed: [Client] Failed to read handshake_m2: decrypt error

And on Core's logs:

DEBUG Server sesrv77 failed to onboard | [Server] Failed to get handshake_m3: Decoded error message over Core-Periphery communication channel: [Client] Failed to read handshake_m2: decrypt error

Tried to use http instead of https to connect to Core, but the same thing happens.

Ideas, anyone?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions