Azure cache 2.2 works but 2.3.x doesnt


I have an azure project with a dedicated cache role for session. With azure cache 2.2 and lower it works just fine but when I upgrade it fails with the following error. I downgrade and it works again.


[SocketException (0x2af9): No such host is known]<br /> Microsoft.ApplicationServer.Caching.AsyncResultNoResult.EndInvoke() +217 Microsoft.ApplicationServer.Caching.TcpClientChannelFactory.TcpConnectionCallback(IAsyncResult result) +163

[DataCacheException: ErrorCode:SubStatus:There is a temporary failure. Please retry later.... Additional Information : The client was trying to communicate with the server: net.tcp://CacheWorkerRole:24233


The error doesn't seem to lead to anything that has worked.


Web config

<dataCacheClients> <dataCacheClient name="default"> <autoDiscover isEnabled="true" identifier="CacheWorkerRole" /> </dataCacheClient> </dataCacheClients> <sessionState mode="Custom" customProvider="SessionProvider"> <providers> <add name="SessionProvider" type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache" cacheName="default" dataCacheClientName="default" applicationName="MIS" /> </providers> </sessionState>


Please ensure that your cloud service is using SDK Version 2.3. Based on the Nuget Package page here: <a href="http://www.nuget.org/packages/Microsoft.WindowsAzure.Caching/" rel="nofollow">http://www.nuget.org/packages/Microsoft.WindowsAzure.Caching/</a>, this version of caching will only work with Azure SDK Version 2.3.

<img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/LiHVo.png" data-original="https://i.stack.imgur.com/LiHVo.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />


  • Azure cache 2.2 works but 2.3.x doesnt
  • Google API BatchRequest: An established connection was aborted by the software in your host machine
  • create c# asynchronous socket client in multithreaded environment
  • Receive correct amount of data TCP
  • Asynchronous Sockets blocking UI thread
  • i18n with RenderAction
  • C# / Communication between Async networking and GUI
  • Cannot access a disposed object. Object name: System.net.Sockets.Socket
  • Get input argument inside callback method
  • Missing cache role behavior of Windows Azure Caching 2.1 in compute emulator
  • TCP client connection freezes program
  • HTTPS Post failure
  • EndReceive never returns a 0, how do you know when packets are finished in tcp/ip?
  • ICMP listener problems
  • Sockets asynchronous in C# without loopback
  • Azure dev fabric crashes with SocketException when using DotNetOpenAuth
  • How can I load several 3D geometries in a separate thread without running into thread ownership issu
  • WCF - AsyncPattern Performance
  • WebClient “error getting response stream”
  • Problem with sockets and OutOfMemory error
  • Infinite Loop when a character is entered [duplicate]
  • Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2
  • Catch in Observable stops HTTP Calls from Observable.interval
  • passing parameter to server in ExtJs
  • C++ std::set comparator
  • Push Changes to Git not Functioning
  • twisted.internet.error.ConnectError when run scrapy spider
  • Extjs, handling success or failure when doing a standard submit in a form
  • Can't find cygwin setup.exe file?
  • How to implement simple validation in Scala
  • NSMutableArray Access Issue
  • Reassigning an array frees the memory used by it?
  • How to use tag-it
  • ckeditor and jquery UI dialog not working
  • Most efficient way to move table rows from one table to another
  • What does “t” refer to in this SQL?
  • nonblocking BIO_do_connect blocked when there is no internet connected
  • How does document.ready work with angular element directives?
  • Lost migrations and Azure database is now out of sync
  • Fetching methods from BroadcastReceiver to update UI