question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug]Network issues in the China region

See original GitHub issue

In mainland China, for some reason, the government blocks users from accessing GitHub in the normal way from time to time, which can cause some features of the launcher to fail (such as updates)

获取版本发行说明时出错. System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream. at System.Net.Security.SslStream.ReceiveBlobAsyncTIOAdapter at System.Net.Security.SslStream.ForceAuthenticationAsyncTIOAdapter at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, 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(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter1 OffsetStart, Nullable1 OffsetStart, Nullable`1 OffsetEnd, CancellationToken ThreadToken) in C:\myGit\CollapseLauncher\Hi3Helper.Http\Http.cs:line 119 at CollapseLauncher.Pages.UpdatePage.GetReleaseNote() in C:\myGit\CollapseLauncher\CollapseLauncher\XAMLs\MainApp\Pages\UpdatePage.xaml.cs:line 55

Although this is a minor issue, if possible, I would like to be able to use mirror sites when GitHub.com and related domains are detected as inaccessible, for example, to access the icon.ico in CollapseLauncher you can use https://cdn.staticaly.com/gh/neon-nyan/ Collapse/main/CollapseLauncher/icon.ico Or add a proxy option to the settings page

But in general, the problem can be fixed without any particular urgency because we have adapted to it, or without fixing it if it is difficult (but access is faster after the fix)

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Cryotechniccommented, Jan 1, 2023

Sounds good, I’ll open the PR after re-verifying the code on my end and we can keep iterating on it should the need arise.

Edit 2023-01-01: Due to the submodule fixes pending, I had to re-create the branch from scratch and base my commits off of c3bb1a4699d187073057cbbc48448f3f43688aca in force-run-admin-pr68. Before merging the admin fixes into main, we should consider merging this into the force-run-admin-pr68, or to fix the submodule commits to push to main before proceeding @neon-nyan .

1reaction
neon-nyancommented, Dec 20, 2022

@Cryotechnic I’ll be trying your commit and hope I could give you a feedback about it tonight.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Internet Challenges in China: An Overview
Here, we discuss some of the key challenges that foreign companies face. Slow international internet speed. For Chinese citizens who access ...
Read more >
How to Overcome the Chinese Internet Landscape ...
There are issues with connections, challenges with congestion, and difficulties that can arise from technical outages.
Read more >
Sandboxing Chinese apps with Samsung secure folder.
I really wanted to install some Chinese apps on my Samsung Galaxy. But balked as half of them seem to want access to...
Read more >
Modeling Open Source Software Bugs with Complex ...
Daniel Dajun Zeng at Chinese Academy of Sciences ... In this paper, we analyze the bug network in Gentoo Linux, one of the...
Read more >
ENO JungleNest Review
The JungleNest packs down to be just slightly bigger than the ... don't even really need to set up the ridge line to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found