Good morning everyone,
I have a double question to ask. Let's start with the first:
1) I have a B4J app running in a Docker container and today I saw this in the logs. I googled about the HEAD request and it mentions that it returns the same information with GET but with no body to the request. What should I make out of this request log? What did the client requested? I cannot see the requesting address as it gets reverse proxied and the 172.19.X.X is the address of the container of Nginx Proxy Manager. Can somebody make out anything from this?
2) In .net, in WebForms there is the Global.asax file which is the global handler. If something goes wrong with the page then it passes the information to this file and you can send it with e-mail to your e-mail. I searched in the forum for something relevant and the only thing I found was the handling of custom errors but this does not pass the querystring requested as in a .net handler (.asax) so you can figure out what the client requested. Is there something like this available in jettyserver? Further more you do not get the chance as in .asax to pipe all errors into this file in order to mention a caught error to you.
I have a double question to ask. Let's start with the first:
1) I have a B4J app running in a Docker container and today I saw this in the logs. I googled about the HEAD request and it mentions that it returns the same information with GET but with no body to the request. What should I make out of this request log? What did the client requested? I cannot see the requesting address as it gets reverse proxied and the 172.19.X.X is the address of the container of Nginx Proxy Manager. Can somebody make out anything from this?
172.19.X.X - - [06/Dec/2022:02:28:09 +0000] "HEAD / HTTP/1.1" 200 1 "-" "Go-http-client/1.1"
172.19.X.X - - [06/Dec/2022:02:28:11 +0000] "HEAD / HTTP/1.1" 200 1 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
172.19.X.X - - [06/Dec/2022:02:28:12 +0000] "GET / HTTP/1.1" 200 1 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
2) In .net, in WebForms there is the Global.asax file which is the global handler. If something goes wrong with the page then it passes the information to this file and you can send it with e-mail to your e-mail. I searched in the forum for something relevant and the only thing I found was the handling of custom errors but this does not pass the querystring requested as in a .net handler (.asax) so you can figure out what the client requested. Is there something like this available in jettyserver? Further more you do not get the chance as in .asax to pipe all errors into this file in order to mention a caught error to you.