저는 Azure 이벤트 허브 보낸 사람 및 프로세서 자습서로 작업 중이며 엔터프라이즈 프록시 뒤에 앉아 있습니다.Azure 이벤트 허브 프로세서가 엔터프라이즈 프록시에서 작동하지 않습니다.
이벤트 허브로 이벤트를 보내는 것은 정상적으로 작동하지만 Azur 이벤트 허브에 대한 eventHubProcessor 액세스를 허용하는 데 문제가 있습니다. 제가 프록시 문제가 있다고 생각됩니다.
I 사용
- DefaultEndpointProtocol = HTTPS
저장 연결 문자열 제가
- ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Https 세트;
또한 App.config 파일에서 프록시를 설정하기 위해 다양한 변형을 시도했습니다. 예 :
에서 어떤 성공 :(우유없는
<configSections>
<sectionGroup name="proxyGroup">
<section name="basicProxy" type="Proxy.Configuration.CustomProxySection, Proxy" />
</sectionGroup>
</configSections>
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true" >
<proxy usesystemdefault="true"/>
</defaultProxy>
</system.net>
"eventProcessorHost.RegisterEventProcessorAsync (옵션) .Wait는();"나는 누구 아이디어? 많은 을 가지고 있습니까
InnerException:
HResult=-2146233087
Message=Der angeforderte Name ist gültig, es wurden jedoch keine Daten des angeforderten Typs gefunden
Source=Microsoft.ServiceBus
StackTrace:
Server stack trace:
Exception rethrown at [0]:
bei Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
bei Microsoft.ServiceBus.Messaging.Amqp.Transport.WebSocketTransportInitiator.Complete(IAsyncResult connectAsyncResult, Boolean completeSynchronously)
Exception rethrown at [1]:
bei Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
bei Microsoft.ServiceBus.Messaging.Amqp.AmqpMessagingFactory.ConnectAsyncResult.<GetAsyncSteps>b__9d(ConnectAsyncResult thisPtr, IAsyncResult r)
bei Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [2]:
bei Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
bei Microsoft.ServiceBus.Messaging.Amqp.AmqpMessagingFactory.EndCreateConnection(IAsyncResult result)
bei Microsoft.ServiceBus.Messaging.Amqp.FaultTolerantObject`1.CreateAsyncResult.<GetAsyncSteps>b__1(CreateAsyncResult thisPtr, IAsyncResult r)
bei Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [3]:
bei Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
bei Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
예외를 얻을 많은 시간 내 주셔서 감사합니다.
감사합니다, 롤랜드