Skip to content

Super Secret password with special characters not accepted and blocking startup of HARP #103

@forestvogo

Description

@forestvogo

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Setup HaRP via Docker image
  2. User super secret special character password <HP_SHARED_KEY=:RCyLII"9fxOeNic=P8'>

Expected behaviour

Error message regarding wrong / incompatible password used.
OR
Support special characters in password
OR
give hint about legit special characters in password

Actual behaviour

  1. HaRP Docker Container fails starting up as shown below in the log extract
  2. As log shows below the character <'> is missing and maybe <"> has it's problems as well or something needs to be escaped?

Server configuration

Docker Container HaRP v0.4.0 with
network_mode: host and standard ports used

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL

PHP version: 8.2/8.3/8.4

Nextcloud version: 33.x

List of activated apps
Details

Docker

Docker compose log
Insert your Docker Compose log here, this could for example include:
a) Docker Container log:
<appapi-harp  |
appapi-harp  | metadatas.token = ":RCyLII"9fxOeNic=P8"
appapi-harp  |
appapi-harp  | [[proxies]]
appapi-harp  | remotePort = 24000
appapi-harp  | type = "tcp"
appapi-harp  | name = "bundled-deploy-daemon"
appapi-harp  | [proxies.plugin]
appapi-harp  | type = "unix_domain_socket"
appapi-harp  | unixPath = "/var/run/docker.sock"
appapi-harp  | INFO: Starting Python HaProxy Agent on 127.0.0.1:8200 and 127.0.0.1:9600...
appapi-harp  | INFO: Waiting for HaRP Agent HTTP (GET http://127.0.0.1:8200/info) to be ready...
appapi-harp  | INFO: Waiting for SPOA port 127.0.0.1:9600...
appapi-harp  | INFO: Starting FRP server on 192.168.7.4:8782...
appapi-harp  | INFO: Waiting for FRP server port 192.168.7.4:8782...
appapi-harp  | INFO: Starting FRP client for Docker Engine...
appapi-harp  | INFO: Starting HAProxy...
appapi-harp  | [NOTICE]   (1) : Initializing new worker (135)
appapi-harp  | [NOTICE]   (1) : Loading success.
appapi-harp  | error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type v1.ClientConfig
appapi-harp  | [NOTICE]   (1) : haproxy version is 3.1.2-cda631a
appapi-harp  | [WARNING]  (1) : Process 133 exited with code 1 (Exit)
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions