Closed LaxmikanthMadhyastha closed 4 years ago
OK, the failures occur before this point
I/flutter (15620): 2019-12-09 15:41:33.026457 -- MqttConnection::_onData - message received MQTTMessage of type MqttMessageType.publish
I/flutter (15620): Header: MessageType = MqttMessageType.publish, Duplicate = false, Retain = false, Qos = MqttQos.exactlyOnce, Size = 119161
So does the upload eventually work, i.e. is the message size of 11961 the image in question?
@shamblett yes it eventually works but takes lot of time, couldn't find why the exception is
Yes OK, the exception is misleading, it should cater for the reception of a part message before its starts to declare things as invalid, I'll fix this.
but is it normal to take soo much time for uploading images?
Well, looking at the log we start at 2019-12-09 15:41:31.728128 and end at 2019-12-09 15:41:33.026457 which is approx 1.298 seconds for 119161 bytes which is about 91kb per second, depends what you expect, remember the client doesn't dictate the message reception speed, its fed by the flutter/Dart runtime, the actual client processing time is minimal.
Okay thanks a lot for the quick response, looking forward for the fix regarding the exception
Updated, re-published at version 5.6.3
Getting error in log while trying to upload image through mqtt_client,the error is as mentioned below