mgdm / Mosquitto-PHP

A wrapper for the Eclipse Mosquitto™ MQTT client library for PHP.
BSD 3-Clause "New" or "Revised" License
528 stars 146 forks source link

Message won't publish when payload string length is > ~43400 #90

Open gtjennings1 opened 6 years ago

gtjennings1 commented 6 years ago

I have a very simple PHP script to upload a file to the MQTT broker.

When the string length gets to a little over 43400 messages become intermittent. Eventually as the string gets longer messages stop getting published all together.

I've validated that I can successfully publish larger messages with a python script and pano mqtt client library. So, I think that validates, the brokers and subscribed clients.

It almost seems like its some timeout issue. Any thoughts or ideas on it?

upload.php.txt