Skip to content

Instantly share code, notes, and snippets.

@mzabsky
Created August 19, 2021 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mzabsky/b5f3b06a230a7eeb644cbf5dc33c5ce4 to your computer and use it in GitHub Desktop.
Save mzabsky/b5f3b06a230a7eeb644cbf5dc33c5ce4 to your computer and use it in GitHub Desktop.
dbug: Microsoft.Extensions.Hosting.Internal.Host[1]
Hosting starting
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[63]
User profile is available. Using 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-052c2ae3-e6ba-4bb0-a2ee-8cf51eed9af4.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-11330e6a-e2b4-403f-9f5e-4a78291b9447.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-23207d1c-42ef-44e0-84eb-373f24c47320.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-2f222857-99a1-4b0b-9352-308a21e0dbca.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-4647c96b-9638-4dd4-ba36-8314f598df43.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-516ed421-5136-490c-be5f-189344e54579.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-da2df349-41fe-4fb7-bdc7-580bed4ea396.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-f8d03253-fd0d-4564-811e-2de89f46e857.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
Reading data from file 'C:\Users\matej.zabsky\AppData\Local\ASP.NET\DataProtection-Keys\key-f991cb69-f304-489e-810a-edd925c43e95.xml'.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {052c2ae3-e6ba-4bb0-a2ee-8cf51eed9af4}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {11330e6a-e2b4-403f-9f5e-4a78291b9447}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {23207d1c-42ef-44e0-84eb-373f24c47320}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {2f222857-99a1-4b0b-9352-308a21e0dbca}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {4647c96b-9638-4dd4-ba36-8314f598df43}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {516ed421-5136-490c-be5f-189344e54579}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {da2df349-41fe-4fb7-bdc7-580bed4ea396}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {f8d03253-fd0d-4564-811e-2de89f46e857}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
Found key {f991cb69-f304-489e-810a-edd925c43e95}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver[13]
Considering key {f8d03253-fd0d-4564-811e-2de89f46e857} with expiration date 2021-10-26 08:16:47Z as default key.
dbug: Microsoft.AspNetCore.DataProtection.TypeForwardingActivator[0]
Forwarded activator type request from Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor, Microsoft.AspNetCore.DataProtection, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60
dbug: Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor[51]
Decrypting secret element using Windows DPAPI.
dbug: Microsoft.AspNetCore.DataProtection.TypeForwardingActivator[0]
Forwarded activator type request from Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60
dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory[4]
Opening CNG algorithm 'AES' from provider '(null)' with chaining mode CBC.
dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory[3]
Opening CNG algorithm 'SHA256' from provider '(null)' with HMAC.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[2]
Using key {f8d03253-fd0d-4564-811e-2de89f46e857} as the default key.
dbug: Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService[65]
Key ring with default key {f8d03253-fd0d-4564-811e-2de89f46e857} was loaded during application startup.
info: Yarp.ReverseProxy.Configuration.ConfigProvider.ConfigurationConfigProvider[1]
Loading proxy data from config.
dbug: Yarp.ReverseProxy.Management.ProxyConfigManager[24]
Destination 'Client1' has been added.
dbug: Yarp.ReverseProxy.Forwarder.ForwarderHttpClientFactory[45]
New client created for cluster 'Client'.
dbug: Yarp.ReverseProxy.Management.ProxyConfigManager[21]
Cluster 'Client' has been added.
dbug: Yarp.ReverseProxy.Management.ProxyConfigManager[27]
Route 'route1' has been added.
info: Microsoft.Hosting.Lifetime[0]
Now listening on: http://[::]:8002
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[0]
Loaded hosting startup assembly GrpcProxyTest
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\matej.zabsky\source\repos\GrpcProxyTest\GrpcProxyTest\bin\Debug\net5.0
dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
Hosting started
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
Connection id "0HMB2S241S18R" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
Connection id "0HMB2S241S18R" started.
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" sending SETTINGS frame for stream ID 0 with length 18 and flags NONE
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" sending WINDOW_UPDATE frame for stream ID 0 with length 4 and flags 0x0
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" received SETTINGS frame for stream ID 0 with length 36 and flags NONE
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" sending SETTINGS frame for stream ID 0 with length 0 and flags ACK
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" received WINDOW_UPDATE frame for stream ID 0 with length 4 and flags 0x0
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" received SETTINGS frame for stream ID 0 with length 0 and flags ACK
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" received HEADERS frame for stream ID 1 with length 295 and flags END_HEADERS
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" received WINDOW_UPDATE frame for stream ID 1 with length 4 and flags 0x0
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" received DATA frame for stream ID 1 with length 18 and flags END_STREAM
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" received WINDOW_UPDATE frame for stream ID 0 with length 4 and flags 0x0
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 POST http://MATEJ-ZABSKY:8002/AS.TestInterface/TestMethod application/grpc -
dbug: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
Wildcard detected, all requests with hosts will be allowed.
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
All hosts are allowed.
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
1 candidate(s) found for the request path '/AS.TestInterface/TestMethod'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
Endpoint 'route1' with route pattern '{**catch-all}' is valid for the request path '/AS.TestInterface/TestMethod'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
Request matched endpoint 'route1'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'route1'
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[9]
Proxying to http://matej-zabsky:8003/AS.TestInterface/TestMethod
dbug: Microsoft.AspNetCore.Server.Kestrel[25]
Connection id "0HMB2S241S18R", Request id "0HMB2S241S18R:00000001": started reading request body.
dbug: Microsoft.AspNetCore.Server.Kestrel[26]
Connection id "0HMB2S241S18R", Request id "0HMB2S241S18R:00000001": done reading request body.
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[48]
Request: An error was encountered before receiving a response.
System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The request was aborted.
---> System.Net.Http.Http2StreamException: The HTTP/2 server reset the stream. HTTP/2 error code 'INTERNAL_ERROR' (0x2).
--- End of inner exception stack trace ---
at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException)
at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
at System.Net.Http.Http2Connection.Http2Stream.TryEnsureHeaders()
at System.Net.Http.Http2Connection.Http2Stream.ReadResponseHeadersAsync(CancellationToken cancellationToken)
at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at Yarp.ReverseProxy.Forwarder.HttpForwarder.SendAsync(HttpContext context, String destinationPrefix, HttpMessageInvoker httpClient, ForwarderRequestConfig requestConfig, HttpTransformer transformer)
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'route1'
trce: Microsoft.AspNetCore.Server.Kestrel[37]
Connection id "0HMB2S241S18R" sending HEADERS frame for stream ID 1 with length 49 and flags END_STREAM, END_HEADERS
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/2 POST http://MATEJ-ZABSKY:8002/AS.TestInterface/TestMethod application/grpc - - 502 0 - 194.3792ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment