2012-09-24 1 views
1

내가 MVC 3에서 만든 웹 사이트가 지금 내가 VS2012
를 사용 VS2010
에 만들어진 원래 잘 실행 된 푸른 WebRole
에 배치하고있다
에가는 아주 이상한 것이 있습니다 나는 약간의 변경을하기로 결정하고 그것을 작동하지만
이 내가이 ERR을 받고 2 ~ 3 분이 오류 ErrorCode<ERRCA0017>:SubStatus<ES0006>
를 얻을 임의 간격 후

을 무슨 일이 일어나고있는 것입니다 무작위 간격으로 분해 계속 될 것처럼 보였다 또는 사이트가 잘 작동 것으로 보인다 난이 오류가 NT 난 내 코드 메신저이 접근에서 아무 곳 staging 또는 local environment
에서 테스트하지 않을 때 발생 않습니다 캐싱
관련 사이트의 이전 버전에서 아무것도 변경 havent 한

캐쉬 프로그래밍 방식으로
푸른 하늘 포털에서 전체 구성을 복사하여 붙여 넣었습니다. 그리고 이것들은 정확히
Azure AppFabric Caching을 사용하고 있습니다. sessions 일부를 저장해야하기 때문에 작동 했었던 구성 설정과 동일합니다. 그래서 그것이 언급 된 유일한 장소는 내 웹 사이트에 있습니다 web config 그리고 나는 모든 구성이 올바른 것으로 가정 될 수 있다고 말했습니다.
갑자기 많은 사이트에 대한
이야기 내부 오류 중 하나가 같은 날 것으로 보인다 새로운 오류 발견 -이 :이 UPDATEAzure AppFabric 캐싱. ErrorCode가 <ERRCA0017> : 하위 상태 <ES0006>

[DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.)] 
    Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody) +616 
    Microsoft.ApplicationServer.Caching.DataCache.ExecuteAPI(RequestBody reqMsg, IMonitoringListener listener) +29 
    Microsoft.ApplicationServer.Caching.DataCache.InternalGetAndLock(String key, TimeSpan timeout, DataCacheLockHandle& lockHandle, String region, Boolean lockKey, IMonitoringListener listener) +227 
    Microsoft.ApplicationServer.Caching.<>c__DisplayClass78.<GetAndLock>b__77() +103 
    Microsoft.ApplicationServer.Caching.DataCache.GetAndLock(String key, TimeSpan timeout, DataCacheLockHandle& lockHandle) +258 
    Microsoft.Web.DistributedCache.<>c__DisplayClass31`1.<PerformCacheOperation>b__30() +19 
    Microsoft.Web.DistributedCache.DataCacheRetryWrapper.PerformCacheOperation(Action action) +208 
    Microsoft.Web.DistributedCache.DataCacheForwarderBase.GetAndLock(String key, TimeSpan timeout, DataCacheLockHandle& lockHandle) +190 
    Microsoft.Web.DistributedCache.BlobBasedSessionStoreProvider.GetItem(HttpContextBase context, String id, Boolean acquireWriteLock, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actions) +593 
    Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.GetItemExclusive(HttpContext context, String id, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actions) +125 
    System.Web.SessionState.SessionStateModule.GetSessionStateItem() +178 
    System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1076 
    System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +115 
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375 

일부 도움이 될 수있는 경우

이 스택 트레이스입니다 오류 설명

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [IP-Address]:[PORT] 


이 새로운 성이고

[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [IP-ADDRESS]:[PORT]] 
    System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +305 
    System.Net.Sockets.Socket.Connect(EndPoint remoteEP) +162 
    System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout) +774 

[EndpointNotFoundException: Could not connect to [SOCKET-ENDPOINT]. The connection attempt lasted for a time span of 00:00:21.0308462. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 111.221.89.111:22233. ] 
    System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) +518 
    System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) +401 
    Microsoft.ApplicationServer.Caching.OpenDelegate.EndInvoke(IAsyncResult result) +0 
    Microsoft.ApplicationServer.Caching.ChannelContainer.Opened(IAsyncResult ar) +122 
+0

나는 또한 똑같은 문제에 직면하고있다. 똑같은 문제이다. 이것에 대한 해결책이 있습니까? VS 2012로 업그레이드 한 후 NHibernate Second Level 캐시 (NHibernate.Caches.AppFabric)는 캐시 서버에 연결할 수 없습니다. 정상적으로 작동하는 새로운 DataCacheFactory()를 사용하는 cacheService. 그것은 통신 할 수없는 NHibernate Second level 캐시 인 것입니다. –

+0

@rbg -이 오류는 푸른 기술 지원부에 이야기하여 저에게 해결되었습니다.이 곳은 푸른 색의 내부 오류라고 말했고, 제거하면 다시 사라질 것입니다. 고맙게도 나를 위해 해결 된 내 서비스를 배포 –

답변

0

추적 ACK 년 전에이 오류에 대한 흥미로운 블로그 게시물이 있었다 : Azure AppFabric Caching - ErrorCode:SubStatus : What to do?은. DataCacheFactory는 2 분의 더 큰 값으로 사용하고있는 dataCacheFactoryConfiguration 인스턴스의 DataCacheFactoryConfiguration.ChannelOpenTimeout을 수정 intializing 전에

. (허용 된 한도 내에서 20 초이므로 구성을 사용하여 값을 설정할 수 없음). 또한이 권장 사항은 디버그 목적으로 만 이고 제품 번호 환경에서는 이상적으로 필요하지 않아야합니다. 이렇게하면 기본 계층에서 실제 오류 이 발생하여 다시 응답 할 수 있습니다. 이제 내부 예외를 확인하면 요청이 실패한 원인을 확인해야합니다.

요청이 실패한 이유를 설명하는 내부 예외를 찾으려면 다음 단계를 따르십시오.

참고 : 일시적인 오류로 인해 발생한 경우 재시도 정책을 구현하기 위해 Transient Fault Handling Application Block (AppFabric 캐시도 지원함)을 사용해야합니다.

+0

나는 이것을 할 수 없다. 왜냐하면 내가 말했듯이 무엇이든 프로그램 적으로 수행하기 때문입니다. 난 그냥 webconfig에 아무것도 설정 값을 넣고 –

+0

다음 블로그 게시물을보십시오 : http://bobthegoblin.wordpress.com/2011/09/05/working-around-windows-azure-appfabric-cache- data-of-amount-of-data-of-time-out/web.config를 사용하는 대신 웹 응용 프로그램이 시작될 때 캐시를 구성하십시오. ChannelOpenTimeout을 변경하고 실제 오류를 찾으려면이 작업을 수행하면됩니다. 내부 예외를 확보하면 web.config 구성으로 간단히 전환 할 수 있습니다. –

+0

나는 내 질문을 업데이 트하고 문제가 많은 양의 데이터이지만 시간 초과라고 생각하지 않는다. 나는 서비스를 호스팅하고 캐시를 위해 동일한 데이터 센터를 사용하기 때문에 이상합니다. –