Skip to main content

Getting PlatformNotSupportedException when authenticating to GeoTab

mdevol
Original Poster

I'm trying to upgrade the Geotab.Checkmate.ObjectModel nuget package from ver 11.118.421 to ver 11.132.485. However, when I try to run my application after upgrading, I get the following runtime error when authenticating (AuthenticateAsync()) to Geotab:

System.PlatformNotSupportedException: Operation is not supported on this platform.
at System.Net.Http.HttpClientHandler.set_CheckCertificateRevocationList(Boolean value)
at Geotab.Checkmate.Web.HttpMessageHandlerBuilder.PropertySetter.SetCheckCertificateRevocationList(HttpMessageHandler& httpMessageHandler, Nullable`1& value)
at Geotab.Checkmate.Web.HttpMessageHandlerBuilder.Build()
at Geotab.Checkmate.Web.WebServerInvoker.CreateSharedHttpClient()
at Geotab.Checkmate.Web.WebServerInvoker..cctor()


As I understand this error message, a newer version of the .NetFramework is needed than what the application is running, which in my case is 4.6.2. Could you please let me know what is the minimum supported .NetFramework version for the latest version of Geotab.Chackmake.ObjectModel.

Join the conversation

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

3 Replies

EishiFUN
Geotabber

Hey @mdevol ,

Thank you for bringing this up in our community. I talked to our dev team and this was not expected to happen. I thought at first when I looked at this page: https://www.nuget.org/packages/Geotab.Checkmate.ObjectModel#readme-body-tab That you needed to be on .net 8 but when I talked to the dev they told me "The nuget package is supposed to support .net framework, they don't necessarily "need" to be on .net 8"

We have opened a dev ticket MYG-138208 for you reference to look into this more. I will let you know what I hear from that investigation as soon as I do. If there is more information we need or anything I will reach out.

Have a great day!
Eishi FUN

mdevol
Original Poster

@EishiFUN Thanks, I have a very small test app that reproduces this problem if it would be helpful. If you're interested in it, just let me know where to send it.

EishiFUN
Geotabber

Thank you I appreciate it @mdevol. We were also able to reproduce it when we tested it

Still have questions?