Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cutting messages on sending big text #626

Open
2 tasks done
atlascoder opened this issue Nov 29, 2024 · 2 comments
Open
2 tasks done

Cutting messages on sending big text #626

atlascoder opened this issue Nov 29, 2024 · 2 comments

Comments

@atlascoder
Copy link

atlascoder commented Nov 29, 2024

The problem

I'm sending a messages using message_emittersh | curl -X POST -H "Content-Type: application/json" -d @- 'http://172.17.0.3:8080/v2/send' and with short messages everything is well.

When I'm sending relatively big message, Iover 10 KB, - it cuts the text. In my case it's 2852 Bytes.

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?

Normal Mode

What's the architecture of your host system?

x86-64

Additional information

No response

@atlascoder atlascoder changed the title Failing on sending big text messages Cutting messages on sending big text Nov 29, 2024
@bbernhard
Copy link
Owner

Looks like this is intended behavior: AsamK/signal-cli#1598

@atlascoder
Copy link
Author

atlascoder commented Dec 1, 2024

OK, could you please share an example for the REST API? I'm trying to send content as

{
  ...
  "base64_attachments": [f"data:text/x-signal-plain;filename=test.txt;base64,{base64_string}"]

}

it works, but message is not being replaced by the content of test.txt, as it mentioned here AsamK/signal-cli#1598 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants