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

beginResponse_P - Braking Change in mathieucarbou / ESPAsyncWebServer for ESP32 in release 3.0.2 #201

Closed
hagre opened this issue Jun 28, 2024 · 13 comments

Comments

@hagre
Copy link

hagre commented Jun 28, 2024

see: mathieucarbou/ESPAsyncWebServer#39

The beginResponse_P is only avaliable for ESP8266 at release 3.0.2

@mathieucarbou
Copy link
Contributor

FYI, I've opened a PR to add back these methods as deprecated: mathieucarbou/ESPAsyncWebServer#46
I hope to be able to merge it soon and release a new version of ESPAsyncWebServer.

@ayushsharma82
Copy link
Owner

@mathieucarbou Always keep backwards compatibility. :) Too many little microcontrollers rest on your shoulders now.

@sachiger
Copy link

sachiger commented Jul 6, 2024

on ElegantOTA release 3.1.2 (ESP8266 async mode) no matching function for call to 'AsyncWebServerRequest::beginResponse
folding back to 3.1.1 works fine

@ayushsharma82
Copy link
Owner

@sachiger as mathieu mentioned, have you updated your AsyncWebServer dependency to version >= 3.0.6?

@sachiger
Copy link

sachiger commented Jul 6, 2024 via email

@ayushsharma82
Copy link
Owner

@sachiger That’s not our recommended dependency: https://docs.elegantota.pro/async-mode/#dependencies

@sachiger
Copy link

sachiger commented Jul 7, 2024 via email

@mathieucarbou
Copy link
Contributor

mathieucarbou commented Jul 7, 2024

Hi, I replaced ESPAsyncWebServer to 3.0.6 The web server (application) stopped responding, unless the HTML page is very simple with ESPAsyncWebServer 3.1.0 and ElegantOTA 3.1.1 all works fine. Any ideas? Thanks

Maybe clan all your libraries. You must have conflicts. I guess you are using Arduino IDE... FYI ESPAsyncWebServer 3.1.0 does not exist: this is a guy who released original repo under a new version, which under some case might cause a mess.

arduino/library-registry#4585

I suggest you cleanup the dependencies, or use a real dev environment like Vscode with PlatformIO who are able to correctly deal with dependencies and versions.

@sachiger
Copy link

sachiger commented Jul 19, 2024 via email

@mathieucarbou
Copy link
Contributor

@sachiger : you can take a look at the pio file in this project as a start exemple. You can have pio compile your ino file.
This is how this project examples can be locally built.

@sachiger
Copy link

sachiger commented Jul 19, 2024 via email

@mathieucarbou
Copy link
Contributor

Thank you for your prompt response. Where Can I find this PIO file?

In this project: platformio.ini

@ayushsharma82
Copy link
Owner

Incase someone wants to use some other fork of ESPAsyncWebServer: https://docs.elegantota.pro/async-mode/#use-of-unrecommended-dependencies-experimental

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

No branches or pull requests

4 participants