BeyondDimension / BeyondDimension/SteamTools

🧐[Question] 无法上discord

Open
#2,448 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
26.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 🧐 问题描述(Description)

### 🚑 其他信息(Other Information)
2023-01-12 19:57:43.6814|Error|System.Application.Services.Implementation.HttpServer.Middleware.RequestLoggingMiddleware|GET https://discord.com/api/v9/users/@me/connections/spotify/31mshgt2fxhqvrml3dxtfn43jhrm/access-token responded 502 in 30246.5773 ms
System.Net.Http.HttpRequestException: Could not find any IP that can be successfully connected. (HTTP connection to 162.159.138.232 timed out.) (HTTP connection to 2001::68f4:2ef4 timed out.) (HTTP connection to 199.59.148.20 timed out.) (discord.com:443)
---> System.AggregateException: Could not find any IP that can be successfully connected. (HTTP connection to 162.159.138.232 timed out.) (HTTP connection to 2001::68f4:2ef4 timed out.) (HTTP connection to 199.59.148.20 timed out.)
---> System.TimeoutException: HTTP connection to 162.159.138.232 timed out.
--- End of inner exception stack trace ---
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.ConnectCallback(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
---> (Inner Exception #1) System.TimeoutException: HTTP connection to 2001::68f4:2ef4 timed out.<---

---> (Inner Exception #2) System.TimeoutException: HTTP connection to 199.59.148.20 timed out.<---

--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Yarp.ReverseProxy.Forwarder.HttpForwarder.SendAsync(HttpContext context, String destinationPrefix, HttpMessageInvoker httpClient, ForwarderRequestConfig requestConfig, HttpTransformer transformer) |

- 程序版本(Program Version):2.8.6
- 系统版本号(OS Version): windows11 22621.963
- 是否为应用商店版本(Whether it is a Store version): no

Contributor guide

No contributing guide indexed for this repository

Research direction

The report points to RequestLoggingMiddleware, ReverseProxyHttpClientHandler, ReverseProxyHttpClient, and the YARP HttpForwarder while requesting Discord's users/@me/connections endpoint. Start by reproducing the timeout on the reported Windows and application versions, then trace the connection failure through those entry points. Done is not defined by the issue, so the expected behavior and a verifiable fix need maintainer clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.