Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Android初次请求时间过长和偶发超时问题 #59

Open
@kefengwei

Description

  1. 在首次发送请求时总会有一个15秒左右的延迟. 首次请求成功后,后面的请求均能正常请求.
  2. 在游戏启动时,偶尔会出现无法连接.并带有以下错误:
    2025年03月26日 19:45:41.491 27918-30688 UE4 pid-27918 D [2025年03月26日-11.45.41:491][468]LogTurboLink: grpc:(D:/Turbolink/turbolink.libraries/Source/grpc/grpc-1.57/src/core/ext/filters/client_channel/subchannel.cc:707)subchannel 0x71e145b530 {address=ipv4:192.168.192.106:44394, args={grpc.client_channel_factory=0x71fa532ba0, grpc.default_authority=dr.deep-dark-fantasies.com:44394, grpc.enable_retries=1, grpc.http2.max_pings_without_data=0, grpc.http2_scheme=https, grpc.internal.channel_credentials=0x71d26ca4c0, grpc.internal.event_engine=0x71fa532ec0, grpc.internal.security_connector=0x71d27c8780, grpc.internal.subchannel_pool=0x71d15251d0, grpc.keepalive_permit_without_calls=1, grpc.keepalive_time_ms=45000, grpc.keepalive_timeout_ms=30000, grpc.primary_user_agent=grpc-c++/1.57.0, grpc.resource_quota=0x71d15210f0, grpc.server_uri=dns:///dr.deep-dark-fantasies.com:44394}}: connect failed (UNKNOWN:Endpoint read failed {created_time:"2025-03-26T19:45:41.480201034+08:00", occurred_during_write:0, children:[UNKNOWN:Secure read failed {created_time:"2025-03-26T19:45:41.47

备注: 我的服务端使用dotnet的grpc服务, 在PC端均能顺利访问.

另:为了排除是由于我的代码引起的错误. 我使用你提供的示例和你提供的服务器地址grpc.thecodeway.com进行了测试. 重现了15秒延迟的问题, 请看下图:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /