Skip to content

Cannot close polls (on ARM64): class java.lang.Integer cannot be cast to class java.lang.Long #843

Description

@murderbeard

The problem

Trying to close polls on my Raspberry Pi 5 (MODE=json-rpc) gives me a 400 Bad Request error. The returned error is as follows. As far as I can follow the timestamp is read as a 64-bit number in ClosePoll() in api.go and is passed on as such but I guess at some point where it reaches the signal-CLI it's turned into a 32-bit int or something.

< HTTP/1.1 400 Bad Request
< Content-Type: application/json; charset=utf-8
< Date: Mon, 04 May 2026 14:12:52 GMT
< Content-Length: 180
<
* Connection #0 to host localhost left intact
{"error":"class java.lang.Integer cannot be cast to class java.lang.Long (java.lang.Integer and java.lang.Long are in module java.base of loader 'bootstrap') (ClassCastException)"}

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?

arm64

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