Strange new warning ...
I updated BleachBit to 5.0.0 a couple weeks ago and all seemed fine. Then, about a week ago, I started seeing the following error message every time I open BleachBit. There doesn't seem to be any impact from the error message, but it is a bit troubling. Any idea what's going on here?
***** Error Message *****
The update information does not parse:
415 Unsupported Media Type
415 Unsupported Media Type
openresty/1.27.1.1
(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'943e7929eee0d30e',t:'MTc0NzkzOTU1NC4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Traceback (most recent call last):
File "bleachbit\Update.pyc", line 114, in check_updates
File "xml\dom\minidom.pyc", line 2000, in parseString
File "xml\dom\expatbuilder.pyc", line 925, in parseString
File "xml\dom\expatbuilder.pyc", line 223, in parseString
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 6, column 885
***** End of Error Message *****
andrew
Thu, 05/22/2025 - 19:00
Permalink
I have seen these symptoms.
The worst case for impact is that the application cannot notify you of updates, so the issue does not affect the cleaning functionality. Alternate methods to stay notified of updates are the news page, download page, and social media networks.
Perhaps you can help me investigate the root cause. First, do you connect to the Internet through a proxy, VPN, Tor, or similar network technology?
Second, if you visit https://update.bleachbit.org/update/5.0.0 in your web browser, do you see "415 Unsupported Media Type", or do you see a four line document sandwiched between <UPDATE> XML tags?
Third, please visit this blacklist check site (or an equivalent site). Confirm your IP address is pre-filled in the input text field, and then click the red "check IP address" button. Wait a moment, and red or green icons will appear next to the list of 60 blacklists. How many are red, and how many are green?
---
Andrew, lead developer
woodp
Fri, 05/23/2025 - 08:32
Permalink
1. Yes, I use a VPN -
1. Yes, I use a VPN - Surfshark (Kansas City node). I'll run some tests later turning VPN off and changing locations.
2. I see the four-line document.
3. Using the VPN, whatismyipaddress shows one red (all.s5h.com). Everything else is green. With VPN turned off, everything is green.
Give me a couple minutes to run a couple VPN location tests and I'll let you know.
woodp
Fri, 05/23/2025 - 09:14
Permalink
I tried VPN locations in
I tried VPN locations in Kansas City, Dallas, and San Francisco - All show the red error message although I didn't notice if it was identical to my original post. Then I turned VPN off and the red error notice disappeared. I turned VPN on and off again just to make sure this behavior is consistent. It was!
So it's my VPN that's creating the problem and I can solve it by running BB in non-VPN mode. Thank you for the suggestion!
andrew
Fri, 05/23/2025 - 09:48
Permalink
The VPN makes sense. The web
The VPN makes sense. The web server is challenging your system as a threat or bot, though it should not. I'll check again what I can do to turn off the challenge on the server.
On the application side, I can look for a way to clarify the error message.
Are you up for more testing later after I work on those?
Also , filing a bug ticket in GitHub would be nice, so this doesn't fall off the radar
---
Andrew, lead developer
woodp
Fri, 05/23/2025 - 09:56
Permalink
Sure, I'm up for more testing
Sure, I'm up for more testing. I don't mind at all.
I've never used GitHub before but I'll give it a try.
andrew
Fri, 05/23/2025 - 10:02
Permalink
Here is the link for filing a
Here is the link for filing a bug ticket https://github.com/bleachbit/bleachbit/issues/new?template=bug_report.md
Thanks
---
Andrew, lead developer
andrew
Sun, 10/19/2025 - 11:33
Permalink
I replaced the update service
I replaced the update service, so it won't return the 415 error anymore. (The new service is faster too.) It applies immediately to past, current, and future versions of BleachBit.
---
Andrew, lead developer
woodp
Mon, 10/20/2025 - 05:30
Permalink
Indeed, the 415 error is gone
Indeed, the 415 error is gone with ver 5.0.2. Thank you very much!