Error 401: Unauthorized. (4 replies)
That .Net Framework version above should read 4.5.2.
It's likely that you're hitting issues with TLS 1.2 (or lack of support in 3.2).
I think Version 4.1 supports TLS 1.2; version 4.2 and 5.0 definitely support TLS 1.2 with 5.0 supporting TLS 1.3.
Thanks
I thought it's likely a TLS issue as well. I found this hotfix: https://www.realisable.co.uk/support/faqs/tls-1-2-support-hotfix/ and updated Realisable.Data.Transform.dll, but not the others because they have an older date than what is currently in their IMan installation. Should I install Realisable.IOControllers.HttpController.dll and Realisable.Utils.HttpClient.dll even though they have an earlier file date?
You can try, but it may/may not work. 3.2 is now 4.5 years old. I suggest you plan an upgrade.
Our client has IMan 3.2 installed. They have jobs that communicate with Oro Commerce (a Magento-like e-commerce platform). We wrote the Oro Commerce connector. The connector's current incarnation targets .Net Framework version 4.52.
IMan is running on a Windows Server 2012 machine. A few months ago after a server software upgrade (not to that Windows 2012 machine but to something else between IMan and the Oro Commerce server) those jobs started throwing HTTP 401 errors (Not Authorized):
- System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
Included in the upgrade were a couple of patches from Microsoft, details below. When we rolled back those patches, the problem went away. Problem solved -- for a few weeks until another upgrade to something else. Rolled back again, problem solved again. Last week their IT department updated their VM Ware software, and the 401s came back. Clearly we can't keep rolling back patches forever.
To your knowledge, will upgrading their IMan to version 4.1 resolve these 401 errors? Or, would a more recent version of IMan resolve the errors?
-----
IMan versions:
VERSIONS
Assembly Versions:
Realisable.IManWebUI.DLL 3.2.0.0
Product Update: PU1
Config Version: 3.21
DB Version: 3.12
-----
Microsoft articles:
KB5008868
Security and Quality Rollup for .NET Framework 3.5 for Windows 8.1, RT 8.1, and Windows Server 2012 R2 (KB5008868)
https://support.microsoft.com/en-gb/topic/security-and-quality-rollup-for-net-framework-3-5-for-windows-8-1-rt-8-1-and-windows-server-2012-r2-kb5008868-fa06c687-ebf2-4de7-aaa3-46f9978daaea
KB5008883
Security and Quality Rollup for .NET Framework 4.8 for Windows 8.1, RT 8.1, and Windows Server 2012 R2 (KB5008883)
https://support.microsoft.com/en-au/topic/security-and-quality-rollup-for-net-framework-4-8-for-windows-8-1-rt-8-1-and-windows-server-2012-r2-kb5008883-cf0185ba-dbe3-4980-be00-fb3f06e26992