|
|
|
|
I ruled out cloudflare... by setting DNS to not be proxied and loading the screen. Still does it, local IP this time,
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/css/theme-default.css?lm=1686648803 HTTP/1.1" 404 145 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/css/styles.css?lm=1686648803 HTTP/1.1" 404 138 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/lodash.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-aria.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-animate.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-ui-router.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/Common.js?lm=1686648803 HTTP/1.1" 404 135 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-material.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-cookies.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-sanitize.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-messages.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-animate.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-sanitize.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-aria.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-cookies.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-messages.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-material.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-ui-router.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/Common.js?lm=1686648803 HTTP/1.1" 404 135 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0"
192.168.1.110 - - [17/Jun/2023:19:30:16 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/img/sogo.ico?lm=1686648803 HTTP/1.1" 404 136 "https://sogo.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0" |
|
|
Back through Cloudflare proxied DNS...
172.68.210.47 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo/so/simon/Mail HTTP/1.1" 302 - "https://webmail.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.47 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo/so/simon/Mail/view HTTP/1.1" 200 22045 "https://webmail.simonandkate.net/SOGo/so/simon/Contacts/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.39 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/css/theme-default.css?lm=1686648803 HTTP/1.1" 404 145 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.23 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/lodash.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.61 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/css/styles.css?lm=1686648803 HTTP/1.1" 404 138 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.58 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-sanitize.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.27 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.72 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-material.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.81 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-messages.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.20 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-cookies.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.8 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-animate.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.23 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/Common.js?lm=1686648803 HTTP/1.1" 404 135 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.83 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-aria.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
172.68.210.81 - - [17/Jun/2023:23:05:42 +1000] "GET /SOGo?url=https://mail.woa/WebServerResources/js/vendor/angular-ui-router.min.js?lm=1686648803 HTTP/1.1" 404 132 "https://webmail.simonandkate.net/SOGo/so/simon/Mail/view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51" |
|
|
https://bugs.sogo.nu/view.php?id=5667
https://bugs.sogo.nu/view.php?id=5332
https://bugs.sogo.nu/view.php?id=5502 |
|
|
I've added a rewriterule line to the /SOGo location in my apache config, I think it is working to remove any extraneous content inserted in the URI... but I'm not 100% sure as I had to learn rewrites as I did this!
<Location /SOGo>
# Don't cache dynamic content
Header set Cache-Control "max-age=0, no-cache, no-store"
# Add rewrite to prevent errors and strange insertions
RewriteRule ^.*.woa/WebServerResources/(.*)$ /SOGo.woa/WebServerResources/$1 [L]
</Location> |
|
|
I've migrated to a new RHEL9 server. The new server has apache running a range of virtualhosts, not just SOGo. This still happens on the new server.
My redirect is helping, as is placing a robots.txt file telling bots not to attempt to index the site with previously redirected URLs - if they are allowed to interrogate those old URLs it almost immediately results in the errors seen here reflected back as random inclusions in the SOGo.woa URI.
I'm happy to post detailed configs privately, but there is definitely something odd going on when the SOGo virtualhost gets asked for URLs it cannot understand. |
|
|
With the rewrite in place (edited to "RewriteRule ^..woa/WebServerResources/(.)$ /SOGo.woa/WebServerResources/$1 [R]") when there is an issue the page at least loads and then responds to a refresh. Sometimes fonts don't load correctly though, I've posted another image now of what happens when that happens.
I'm assuming that may be a side-effect of what is probably a clunky rewrite, as I am no expert there.
172.68.210.34 - - [18/Jun/2023:17:10:09 +1000] "GET /fonts/MaterialIcons-Regular.woff2 HTTP/2.0" 404 196 "https://webmail.simonandkate.net/SOGo?url=https%3A%2F%2Fmail.woa/WebServerResources/css/styles.css?lm=1687062161" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
It's the referrer address which is strange. "https://webmail.simonandkate.net/SOGo?url=https%3A%2F%2Fmail.woa/WebServerResources/css/styles.css?lm=1687062161" includes "?url=https%3A%2F%2Fmail" from somewhere else. |
|
|
Dear @swallowtail,
As I understand you have http://xxxxxx/.woa/WebServerResources/js/... issues ?
Sebastien |
|
|
Hello,
I just encountered the same problem this morning, all my resources were fetching .woa/WebServerResources instead of SOGo.woa/WebServerResources and I found out why. It's because the resourceUrl has the wrong value:
var ResourcesURL = '<var:string value="applicationPath" />.woa/WebServerResources'
If I understand the code correctly, applicationPath is set once with the first request to the backend using the uri so if you first request comes from your frontend <your website>/SOGo/.... it's ok but if you requested directly the backend it won't be.
In my case I've firstly requested the backend directly without uri (http://localhost:20000) and it set applicationPath to a empty string. Then I get the wrong url .woa/WebServeResources. I restart the service sogod and use the frontend first and applicationPath was set to SOGo...
As I don't know why it was coded like that I need to investigate a bit more |
|
|
Randomly URLs fail, as described here and in the other referenced bugs, and as described in emails to the user mailing list.
When they fail, the log shows incorrect URLs being called. In some instances these are in the form https://website/SOGoXXXXX.woa/WebServerResources, where XXXX is a string apparently taken from other requests sent to the host, or from incorrect requests sent to SOGo.
For example, see this note where I reproduced the issue: https://bugs.sogo.nu/view.php?id=5502#c17044
I have inserted a rewrite rule in my apache configuration to remove anything ever sent between SOGo and ".woa", and it has worked around the issue - an ugly hack though. |
|
|
June 2021 this was reported the first time...
I sincerely hope this can be prioritised for urgent fix. |
|
|
I have made a fix to use got appName when there is a ? in the uri : https://github.com/Alinto/sope/commit/b8aa1d9fc0bbbb73bec2a138f5a0f0242fcce098
This may fix the issue.
However :
I did not found a way to reproduce the issue.
I suspect an invalid header sent in the request making a wrong _uri (maybe in _sanitize ).
If you can reproduce the issue (without forcing ? in the url) it may be useful to share the request headers of the request.
Sebastien |
|