-
Notifications
You must be signed in to change notification settings - Fork 90
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
Certain methods does not work in Windows 7 #285
Comments
hey @prozerran it's hard to say what the problem is here. I don't have access to a windows 7 machine to test this out. But I would recommend probably not using Windows 7 to run your production version as Microsoft stopped support back in January of 2020. This could be a significant security risk. Any chance to upgrade the OS? I have searched around a bit for any explanations but haven't seen much. Will let you know if I come across anything else. |
Cant you just build a Win7 machine on VirtualBox, just download a trial Win7 OS. I compiled my code in Win10, but once i deploy to Win7, it doesnt work. I tried on 4 Win7 OS, and all doesnt work (2 production Win7 and 2 VMs, all dont work) I think this is a serious enough issue for you to look at, since you cant expect your library to only work in Win10. |
Ok, after some investigation, this can be fixed by adding... This should be in the init or the very start of the program. |
I'm not convinced that setting the security protocol to a specific version is the best solution here as this is not really a problem with the library code rather a problem with what your OS is defaulted to. .NET uses the OS to choose the latest and best security protocol and changing the code here will always keep it at TLS1.2 (what happens when next version comes?) According to the docs, TLS 1.2 is supported with Windows 7 but it's not set as the default by your machine so I think the real fix here if you want to use Windows 7 is to enable TLS 1.2 on your OS. Your code would then choose to use that as the protocol. There are some solutions in this thread here if you want to read more about it. Let me know if this helps your issue: dotnet/docs#13787 more here too: https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#support-for-tls-12 |
ok. i'll close it and adjust things on my end. But you should probably mention this issue in the readme so other people dont fall into this trap like i did. closing it. |
I have my project working good in Win10, but once i test it on my "production" server, a Win7 machine, it crashes and certain methods dont work. I made sure to update all the .NET framework requirements, fully update windows, etc. But it still crash...
I haven't fully tested everything, but at least this method doesnt work....
The text was updated successfully, but these errors were encountered: