Fork me on GitHub
#biff
<
2023-01-17
>
Epidiah Ravachol15:01:41

I have a perplexing favicon mystery! Occasionally, when I load a page, I'll get a 404 on the get request for the favicon.ico. It seems to happen on all the pages, but not all the time. Sometimes it is accompanied by this warning: WARN org.eclipse.jetty.server.HttpChannel - /img/skull-and-shovel.png java.lang.IllegalStateException: ABORTED (`/img/skull-and-shovel.png` being the favicon in question), but not always. Sometimes, it appears as though the get request is successful and it still throws the warning. I'm not too worried about this, since everything seems to be working, despite the errors and warnings. But I am curious.

Jacob O'Bryant19:01:20

that's interesting. I have noticed java.lang.IllegalStateException: ABORTED quite frequently while I'm developing. Haven't looked into it to see what that's about yet. I wonder if it's being caused by some recent dependency upgrade in Biff. I'll keep this in mind in any case.

Jacob O'Bryant19:01:31

(Maybe the ABORTED thing is unrelated) So a GET request for /img/skull-and-shovel.png returns 200 sometimes and 404 other times?

Epidiah Ravachol19:01:10

That's correct. I'm keeping an eye on it to see if there's a pattern, but I haven't noticed one yet. Also, the favicon still appears on the browser tab even when I get a 404, but that could just cached somewhere.

Jacob O'Bryant19:01:51

Curiouser and curiouser

🐇 2
Epidiah Ravachol19:01:47

Also, I think all of my ABORTED warnings have been about /img/skull-and-shovel.png, but I'll keep an eye out for any change there, too.

👍 2
Epidiah Ravachol19:02:02

Mysterious update: I'm currently serving htmx.min.js from my resources/public/ folder and I occasionally get a similar warning about that one, too.

[qtp851723948-26] WARN org.eclipse.jetty.server.HttpChannel - /js/htmx.min.js
java.lang.IllegalStateException: ABORTED

Jacob O'Bryant20:02:52

Yeah, I still get these all the time... need to look into that at some point. On the other hand it just a warning apparently, and doesn't seem to be causing any problems that I've noticed, so 🤷

👍 2