connect icon indicating copy to clipboard operation
connect copied to clipboard

While connecting to leather wallet it's giving me private key length is not valid (it only happens on react build hosted on server,works fine local )

Open HEGADE opened this issue 1 year ago • 1 comments

*Describe the bug

Environment: Development environment deployed using Docker on a Digital Ocean droplet. Frontend is a React build.

Expected Behavior: When connecting the wallet to the frontend using stacks.js , the connection should be successful, regardless of whether the frontend is running locally or served from the server itself.

Actual Behavior: Local Frontend: wallet gets connected successfully

Server-Hosted Frontend: fails with the error message " Error during auth request Error: Improperly formatted private-key. Private-key byte length should be 32 or 33. Length provided: 390".

Request for Assistance I'd appreciate any help or insights into further troubleshooting this "private key has no valid length" error that specifically occurs when running the React build from the server.

image

Desktop (please complete the following information):

  • Browser [chrome]
  • Version [Latest]

HEGADE avatar Feb 15 '24 07:02 HEGADE

This seems to have been fixed when switching http to https for the site hosting Connect. This issue will be used to investigate more and figure out if it's possible to fix this.

janniks avatar Feb 26 '24 13:02 janniks