Skip to content

Setting pin doesn't work #748

@epiller

Description

@epiller

The problem

When trying to set a pin, the response is always:
{"error":"Set pin error: java.net.ProtocolException: Expected HTTP 101 response but was '404 Not Found'"}%.

Replicate the issue by using:

curl -X 'POST' \
  'http://[SERVER]:8080/v1/accounts/[NUMBER]/pin' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "pin": "123456789"
}'

Are you using the latest released version?

  • Yes

Have you read the troubleshooting page?

  • Yes

What type of installation are you running?

signal-cli-rest-api Docker Container

In which mode are you using the docker container?

JSON-RPC Mode

What's the architecture of your host system?

x86-64

Additional information

No response

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