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

Sparkling eyes. #4

Open
zekageri opened this issue Mar 3, 2023 · 19 comments
Open

Sparkling eyes. #4

zekageri opened this issue Mar 3, 2023 · 19 comments

Comments

@zekageri
Copy link

zekageri commented Mar 3, 2023

My eyes sparkled when I saw this magical library.
Unfortunately, I soon had to realize that I could not use it without the websocket implementation. :(
Is there any chance that this functionality will be implemented?

@HamzaHajeir
Copy link

HamzaHajeir commented Mar 25, 2023

Unfortunately, The author (maintainer) Philbowles has passes away on June 2022.

You can either check the original ESPAsyncWebServer, or Phil's introduced H4AsyncWebServer, he made an implementation of Websockets. there, but no authentication is present.

@zekageri
Copy link
Author

Thank you for the information. Iam really sorry.

@HamzaHajeir
Copy link

No problem, @zekageri.

You can keep an eye on my forks of H4 libraries, if any update occurs.

@zekageri
Copy link
Author

Yeah, I did watch h4 libs. Unfortunately it can not be integrated to an existing system. It sure looks promising but incompatible with my project. But I will build a project with it one day.

@zekageri
Copy link
Author

zekageri commented Mar 26, 2023

@HamzaHajeir So you picked up all h4 lib? Including the ESPAsyncWebServer and the Async tcp too? Are they reliable?

@HamzaHajeir
Copy link

HamzaHajeir commented Mar 29, 2023

I've utilized H4AsyncWebServer in a project, I've not faced errors with it until now xD.

For H4AsyncTCP and H4AsyncMQTT, I'm in debugging and fixing them to reach a reliable level. And perhaps upgrading them (TLS and MQTT 5.0).

At their current state, these are honestly more reliable than the previous ones. Would be more robust after publishin the updates.

@zekageri
Copy link
Author

The thing is that i desperately searching for a fork of AsyncTCP and AsyncWebServer for half a year now. All of the versions and forks has the same bug. They can't handle concurrent client connections and they all crash at some point. (always with the same stack trace pointing to the libs ) With H4AsyncWebserver and H4AsyncTCP i must rebuild my projects from the ground up because they have a very different logic.

@HamzaHajeir
Copy link

HamzaHajeir commented Mar 29, 2023

I see, I've already tested (with limited time) the functionality of both MQTT and Webserver combined, they function as expected.

Just AsyncWebServer might not work if you've enabled H4AT_DEBUG level to a high one, perhaps to timing.

Yes, H4AsyncWebserver has different logic, to me I was going to work on ESPAsync. one, but it didn't work and decided later to fully convert to H4*s.

At some point, you might make a small sketch combining H4 libraries and validate reliability before deciding whether to change or not.

@zekageri
Copy link
Author

The problem is that I afraid to make a project at this point. If you test the normal libs, they work as expected as long as you keep your endpoints below a few and minimal. As soon as you build a bigger project with more endpoints and events and more then 3-4 client socket connections they start to fail. Iam afraid of minimal tests. But I will definitely try it

@HamzaHajeir
Copy link

HamzaHajeir commented Mar 29, 2023 via email

@HamzaHajeir
Copy link

Hi @zekageri

You can checkout the stable H4AsyncWebServer, use my fork, a complete PlatformIO environment for H4Plugins is available.

You might check dependencies under platformio.ini.

@zekageri
Copy link
Author

zekageri commented Jul 9, 2023

So the license prevents the commercial use?

@HamzaHajeir
Copy link

HamzaHajeir commented Jul 9, 2023 via email

@HamzaHajeir
Copy link

HamzaHajeir commented Jul 9, 2023 via email

@zekageri
Copy link
Author

zekageri commented Jul 9, 2023

I think i have applied to this group but never got accepted. My name is Zékány Gergő on facebook

@zekageri
Copy link
Author

zekageri commented Jul 9, 2023

I have just reapplied

@HamzaHajeir
Copy link

I see, it's unfortunate that he is the only admin ... It's another issue. I think many people are in the waiting list.

Can you send me your account link, so at least if we made a group chat or another group you can get in.

@zekageri
Copy link
Author

Yes, no problem.

https://www.facebook.com/gergo.zekany.39/

@HamzaHajeir
Copy link

HamzaHajeir commented Jul 10, 2023 via email

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

2 participants