martin-ger/MQTT_VPN

Get stuck when using with PPPOSClient

Closed this issue · 0 comments

Hi,
I use MQTT_VPN with this PPPOSClient example.
https://github.com/chegewara/esp32-platformio-pppos-client
mqtt_if_output stop sending out mqtt data after a few packet, the requester(wget) can see that request is connected and wait for data.

Platform espressif32 @ 5.3.0 (required: espressif32)
├── framework-arduinoespressif32 @ 3.20006.221224 (required: platformio/framework-arduinoespressif32 @ ~3.20006.0)
├── framework-espidf @ 3.40403.0 (required: platformio/framework-espidf @ ~3.40403.0)

Here's the partial log. It stop output after the first packet.

␛[0;32mI (1404) MQTTIF: Init on broker3: mqtt://agrokh.com:1883␛[0m
␛[0;32mI (1419) MQTTIF: Other event id:7␛[0m
␛[0;32mI (2029) MQTTIF: subscribe receive_topic: mqttip/10.0.1.2␛[0m
␛[0;32mI (2029) MQTTIF: subscribe broadcast_topic: mqttip/255.255.255.255␛[0m
␛[0;32mI (5283) MQTTIF: Received mqttip/10.0.1.2 - 116 bytes␛[0m
␛[0;32mI (5284) MQTTIF: Buffer post - len: 60 tot_len: 60␛[0m
␛[0;32mI (5286) MQTTIF: OUTPUT!!!␛[0m
␛[0;32mI (5287) MQTTIF: POST DATA FOR SENDING:100␛[0m
␛[0;32mI (5292) MQTTIF: Send topic mqttip/10.0.1.1 received - len: 100␛[0m

It works when I use espressif32@4.0 version and different PPPOSClient library. However, the old version of PPPOS is very unstable and can't be used against the new espressif32 version