After a NuGet upgrade of Umbraco to 7.7.1, Media Stock returns a 500 error when trying to search (as shown in the screen cap. Not sure what would have changed or how to fix. Tried uninstalling Media Stock (was v.1) and reinstalling v1.4, same error. Don't know if it matters but we use https:// throughout the site, and the error in the Umbraco log mentions not being able to create an SSL channel.
Also included Umbraco log info after screencap.
2017-10-26 14:00:26,253 [P3564/D13/T41] ERROR MediaStock.Controllers.Api.MediaStockApiController - Unhandled controller exception occurred
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
500 error after upgrading Umbraco to 7.7.1
After a NuGet upgrade of Umbraco to 7.7.1, Media Stock returns a 500 error when trying to search (as shown in the screen cap. Not sure what would have changed or how to fix. Tried uninstalling Media Stock (was v.1) and reinstalling v1.4, same error. Don't know if it matters but we use https:// throughout the site, and the error in the Umbraco log mentions not being able to create an SSL channel.
Also included Umbraco log info after screencap. 2017-10-26 14:00:26,253 [P3564/D13/T41] ERROR MediaStock.Controllers.Api.MediaStockApiController - Unhandled controller exception occurred System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- End of inner exception stack trace ---
Hi Eric,
Thanks for the detailed bug report; I will take a look into it and post back with an answer soon.
Hi Eric,
It turns out that Unsplash had changed the version of TLS that they use!
I've uploaded a new package - v1.5 which fixes the issue. Please mark this as solved if your problem is fixed.
Did fix it. The package.xml still shows as version 1.4, but the actual package did solve the problem. Thanks.
is working on a reply...