webserver pops up as text only

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
BartSr
Normal user
Posts: 122
Joined: 27 Sep 2019, 17:45

webserver pops up as text only

#1 Post by BartSr » 12 Nov 2023, 13:18

Before I had the fancy webserver layout whereas 'out of the blue this seems to have changed as per screenshot.
Might be somewhere a setting? Or ....?
TIA
-Bart
Attachments
Schermafbeelding 2023-11-12 131642.jpg
Schermafbeelding 2023-11-12 131642.jpg (143.7 KiB) Viewed 1493 times

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: webserver pops up as text only

#2 Post by TD-er » 12 Nov 2023, 13:20

Yep, that's an issue which has been reported a few times in the past week.

It seems the CDN hosting the static files like the CSS is no longer serving the files.

We're looking into this.

BartSr
Normal user
Posts: 122
Joined: 27 Sep 2019, 17:45

Re: webserver pops up as text only

#3 Post by BartSr » 12 Nov 2023, 13:48

BTW same shows up once I flash collection A from your website.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: webserver pops up as text only

#4 Post by TD-er » 12 Nov 2023, 13:59

Yep, there's something seriously wrong with the CDN served content.

You could upload the CSS file to the ESP as a work-around.

The files are here:
https://github.com/letscontrolit/ESPEas ... ega/static

But I guess you will also miss the JavaScript files.
So I think I will add an option to allow the user to define the base URL for the CDN server and maybe setup a server myself to host the CDN files by default.

BartSr
Normal user
Posts: 122
Joined: 27 Sep 2019, 17:45

Re: webserver pops up as text only

#5 Post by BartSr » 12 Nov 2023, 16:13

I hope you don't mind but CDN does not ring a bell for me.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: webserver pops up as text only

#6 Post by TD-er » 12 Nov 2023, 17:22

Content Delivery Network.

In short, some server that will provide extra bandwidth and storage to host files needed by many users.
Typically some standard web libraries like JQuery or lots of stuff just anybody needs to browse the web, are hosted on CDN servers so they can be served with the lowest latency, highest uptime guarantee and with the best available bandwidth.

For ESPEasy I have setup some mirroring of static files for ESPEasy, like the CSS and JavaScript files so these don't have to be included in the already size limited builds.

The idea is that once you have those files loaded from those CDN servers, you don't need to reload them unless you cleared your browser cache.
There is also some "expiry date" set when serving those files. Typicall that's about 1 year.
So I guess some of those files are now no longer being served by those CDN servers and some users now hit this issue as the cached files now are considered "expired".

BartSr
Normal user
Posts: 122
Joined: 27 Sep 2019, 17:45

Re: webserver pops up as text only

#7 Post by BartSr » 12 Nov 2023, 19:01

Thanks for your explanations!
I need to reread it to real understand I think.
-Bart

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 37 guests