-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2024-09-12: Windows 7/8/8.1 are not supported anymore #256
Comments
It still works for me, and because you are the only one to report it, I think the issue comes probably from your side. Can you browse https://bandcamp.com from your web browser? Can you attach your log file to this issue? |
Thanks for answering. It can't be from my side. I tested also on another computer with different internet source. It is the same, and in the past iw was good on both. It probably has to do with the last update of Bandcamp, because the problem started just 2-3 days after I noticed some changes in appearance on the webpage. I can browse and listen without any problems. |
I can confirm, that there are no problems with Bandcamp here. All downloads work as they should. |
|
I have the same problem: It ceased working/downloading a few days ago. |
Thanks for chiming in. For everyone having this issue, can you please attach your log file? |
I can confirm that it still works on my Win10 machine, but not on my W7 box. Latest version, etc. 'BandcampDownloader.exe' (CLR v4.0.30319: BandcampDownloader.exe): Loaded 'BandcampDownloader.resources'. Module was built without symbols. [...] The thread 0x2e8c has exited with code 0 (0x0). Let me know if I can help out. |
So I browsed arounf the code a bit and started debugging and ended up at Again, Let me know if I can help out. |
Having the same issue on Win7, it started a few days ago. Stuck with this old rig for another year, I never realized how dependent I've become on this program until this week! |
@BobFosko What .NET Framework version did you install? Was it proposed via Windows Update? |
|
@BobFosko Is there a stack trace or a more detailed message with the exception? |
No, it's on an old W7 box, which obviously does not get any updates anymore. I was trying to load a project that required a later framework of .NET that was installed, and after a few failed attempts found out that VS2019 did not support that version, so ended up switching to VS2022 on a W10 machine. But it might be the install of "MS Windows Desktop Runtime - 8.0.8" that messed things up on the W7 side. |
I'll try and set it up and have a look later. |
Here's the stack trace after I hit the catched exception in webClient.DownloadStringTaskAsync(url);
|
Thanks. No message on the exception? |
Nope. It's pretty useless. |
I just want to add that on Windows 8.1 with NET Framework 4.8 is the same problem. |
I've spent a few hours last night mounting a Windows 7 virtual machine. I could reproduce the problem but I still have no definite idea on what causes this issue. This is clearly platform dependent as there is no problem on Windows 10. I have a fear that it is due to some certificates root that could have expire on unsupported Operating Systems like Windows 7 or Windows 8.1, but with no certainty. This would make all downloads fail when using the .NET Framework on those OS. [Out of topic] Anyway, I'll try to make more tests tonight if I find the time. Sorry I don't have a better answer yet, I have little time nowadays. 😔 |
I hope you will fix the problem. I am no programmer, but maybe you can integrate needed certificates into your program. |
Do you have any idea how to repair this useful program? I don't want to rush you, but I'm seriously concerned about the lack of information. |
No luck yet, but I'm trying to find a solution. |
Just recently started having this problem on 7 too. Haven't updated a thing recently. Was fine at the start of the month. Greatly appreciate your diligence Otiel, I know it's 'just' 7. |
Hi all, I'm sorry, but I have bad news. TL;DRBandcampDownloader won't work on Windows 7/8/8.1 anymore, you'll have to upgrade to Windows 10/11. The whole storyI really wanted to fix this because I know a lot of people are still using Windows 7, so I spent quite a bit of time figuring out what was wrong, and why it suddenly stopped working. Good news is I found what's the real issue, bad news is this is not fixable (at least not without going a route I'm not prepared to take). For those interested in the technical issue, keep reading... This will also serve as memory for my future self. Certificate AuthoritySo bandcamp.com made some changes on their servers (around September 12th, according to you guys). Once I found the time to set up a Windows 7 virtual machine, I found out it was a certificate issue (the exception message being I initially thought it was due to a new CA used to issue the new bandcamp.com certificate (naming GlobalSign) that wasn't present on Windows 7, Windows 7 not receiving new updates anymore (support ended on 2020). The current certificate on bandcamp.com: The Certificate Authority on my Windows 10 machine, which was not present on the Windows 7 VM: So I exported all CA on my Windows 10 using TLS 1.2So back to square one... I then discovered that bandcamp.com doesn't support TLS 1.0 nor TLS 1.1 anymore (good, those protocols have security issues and Microsoft plans to stop support for TLS 1.0 and TLS 1.1 by October 31, 2024), thus only supports TLS 1.2 or 1.3. You can check this with the following command:
Or using SSL Labs: I also discovered that Windows 7 does not support TLS 1.2 by default and that you have to enable it manually by installing a KB update and modifying the registry. It's not perfectly clear to me if this is still true today, or if some automatic Windows update already enables TLS 1.2, but all those registry keys didn't exist on my Windows 7, so I figured I should create them to be sure.
I also discovered IIS Crypto which is a great tool to check the protocols and ciphers configured on your machine for After doing all the steps to ensure that TLS 1.2 is correctly enabled on my VM, the error was still the same. Cipher suitesNext to check on the list of potential issues for TLS handshake failures are cipher suites. When a TLS handshake is established, the client (your machine) first announces to the server (bandcamp.com) the TLS version the client supports, along with the cipher suites that can be used. This is sent in what is called a IIS Crypto also supports displaying the list of cipher suites configured on Windows: Which is nothing more than the values stored in the registry key The cipher suites can also be configured using a group policy, but it wasn't active on my VM (thus we can ignore it): And we can check the cipher suites bandcamp.com accepts on SSL Labs: Ignore the cipher suites for TLS 1.3 (which is not supported at all on Windows 7 anyway), the short list for TLS 1.2 is then:
When I checked the values of the cipher suites on my Windows 7, it didn't contain any of those three suites. So I modified the registry once again to add those three cipher suites, checked with IIS Crypto, restarted my VM for the 20th time... And after an ultimate test, the error was still the same. Network tracingTo this point, I admit that I was quite lost. I was sure I did everything correctly, read lots of articles that indicated the same things to configure, checked and checked again... But I was back to a point where I didn't know exactly what was wrong. Next thing to do was to check the network packets sent / received by BandcampDownloader. So I added network tracing to the app by adding the configuration to a file named With network tracing, we can extract the With some little edit, we can get the message in this form:
And decode it using a parser like this one: And to my surprise, I saw that the three cipher suites requested by bandcamp.com (remember? The endBut why those three cipher suites aren't sent even though I've configured them in the registry? Well, simply because they are not supported in Windows 7, as you can see in this Microsoft doc. Same goes for Windows 8 and 8.1. And I found that:
So we're stuck with using some cipher suites that bandcamp.com does not accept anymore to this day. And that is why BandcampDownloader cannot download any page from bandcamp.com anymore. So here we are, I think I went to the bottom of this debugging. I learned a lot, that took a looooot of time to find the relevant info and official documentation. But I don't think I'll be able to do more, and that means that I have no solution for you guys who are stuck on Windows 7, sorry. FAQ
|
It is more complicated than I thought it can be. It is really sad news for me. |
Thanks for the suggestion. However that would require to write a whole new program and I don't have the time (nor the will) to do that, sorry. I suggest you find an alternative if you can't upgrade Windows. There are some online services for instance that provide downloads from Bandcamp. |
I understand it, but still I will look here sometimes, maybe you will find a time or other solution will be found. |
That was quite a lot of effort Otiel, and your comprehensive report is appreciated. Perhaps it will be enough for the 7 community to devise a TLS enabling (or TLS proxy) strategy, determine what's successful, and throw a guide together. We couldn't have started that without knowing what the problem specifically was. |
I'm closing this issue. Thank you all for reporting the problem and to all of you who provided some info to help. |
Please show a screenshot with your settings. |
I did it like you. It still does not work. I aslo had a possibility of trying VxKex on Windows 8.1, but the installation does not work. I'm still little too afraid to instal it on my main Windows 7 machine. |
I've been using VxKex on my 7 for ages now, it's very safe. Was ineffectual for getting BCD to successfully download. Likely because it mostly sorts graphics and .DLL stuff rather than IP stuff. |
Maybe you have a solution? Can entering a proxy in the program help? |
Entering a proxy should fix the issue, but you'll have to find a reliable one (not easy if you want to find a free one) or setup one yourself. |
Unfortunately nothing changed and it still does not work. Is there a possibility you will have a bit of free time this year to try do something with your program? |
Did you try with Charles Proxy like suggested by @sdfasfdasdas? It could maybe work with Fiddler as well, but I haven't tested. |
I tried a long time ago. It did not work. |
I'm sorry. As I said in my previous comments, not much I can do on my side. The issue is deep in the Windows network stack, and I won't make BandcampDownloader rely on some other network library. Upgrade to Windows 10 / Windows 11 if you can. |
I understand it. Would it be hard to port your program to Firefox or Chrome as an addon? |
Yes, browser addons are not written with the same langage and do not have the same architecture than desktop applications. Everything would have to be written from scratch. |
Anyway from time to time I will still visit this page, hopefully you will find a way to fix it. |
Will there be an update soon?
The text was updated successfully, but these errors were encountered: