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

[HELP] Remote Configuration: Too large message #1254

Open
devaskim opened this issue Dec 10, 2023 · 4 comments
Open

[HELP] Remote Configuration: Too large message #1254

devaskim opened this issue Dec 10, 2023 · 4 comments
Assignees
Labels

Comments

@devaskim
Copy link
Contributor

Describe the issue
After enabling remoteConfiguration option I see a lot of the following messages in the gateway logs:

thingsboard-gateway  | 2023-12-10 08:15:53 - |DEBUG| - [tb_device_mqtt.py] - tb_device_mqtt - _on_disconnect - 205 - Disconnected client: <paho.mqtt.client.Client object at 0x7f8255c045d0>, user data: None, result code: 7

while in a server log

2023-12-10 08:16:23,228 [nioEventLoopGroup-4-12] ERROR o.t.s.t.mqtt.MqttTransportHandler - [e58f2d14-914c-47c7-92d8-180e40d38fd1] Message decoding failed: too large message: 148657 bytes

Then I set NETTY_MAX_PAYLOAD_SIZE server option to 1000000 and restart, but no success result
Скриншот 10-12-2023 142853

Connector name (If you need help with some connector/converter):
There is one connector of MQTT type with the following config. Gateway payload size is: "maxPayloadSizeBytes": 1024000,
mqtt.json

Versions (please complete the following information):

  • TB server: 3.6.0
  • Gateway in Docker: 3.4.3.1
@devaskim
Copy link
Contributor Author

@imbeacon Any ideas?

@imbeacon
Copy link
Member

Hi @devaskim,

Disconnect event - it is OK in case of updating general configuration on the dashboard, but 2023-12-10 08:16:23,228 [nioEventLoopGroup-4-12] ERROR o.t.s.t.mqtt.MqttTransportHandler - [e58f2d14-914c-47c7-92d8-180e40d38fd1] Message decoding failed: too large message: 148657 bytes - is an issue and we will investigate this point.

@devaskim
Copy link
Contributor Author

@imbeacon Any updates there ?

@ashdam
Copy link
Contributor

ashdam commented Aug 5, 2024

@imbeacon same problem here with the message size while trying to update from TB Edge PE adding a new connector with lots of timeseries.

ERROR o.t.s.t.mqtt.MqttTransportHandler - [6b2c0903-1ed6-4cad-9dde-888c5bc7369f] Message decoding failed: too large message: 485452 bytes

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

No branches or pull requests

4 participants