Closed gzi01 closed 1 year ago
thanks, the primary problem comes from the webserver lib, so i cant change this. but open a pull request to fix the problem, now waiting for response
i have made a temp fix with own lib. you can download the main source and compile itself. the test with the php command will work.
so sorry to say that, but we cant fix this finaly. its a bug in the ESPAsyncWebserver lib
Describe the bug Bei auslesen des JSON via PHP entstehen Verzögerungen von 1 Minute bzw. bricht das Script mit timeout ab.
To Reproduce Steps to reproduce the behavior in PHP :
(takes 60 seconds)
Work around (responds promptly):
Ich denke, es ist das Problem, das in https://stackoverflow.com/questions/3629504/php-file-get-contents-very-slow-when-using-full-url beschriebn ist. Zitat:" that the remote web server DIDN'T CLOSE THE TCP CONNECTION"
Expected behavior auch die erste Variante sollte rasch die Antwort liefern.
Screenshots n/a
Desktop (please complete the following information): Raspi commandline
Additional context DALY BMS to MQTT 2.2.11