-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not connect to puglin repository in Windows version #5161
Comments
I tryed to open Joplin as ADMIN, i got the same issue ! |
Something's blocking the request. |
You can check why you cannot access the following page
|
The same problem. |
I have met the same problem, too. |
If you run I assume we need to add a bunch of headers to trick the GFW but it's hard to tell which ones without being behind it. |
Curl works from terminal. |
Now that we have the download link in the repo readme we can set least link to that when the manifest fetch fails |
I can't fix this issue unfortunately because I can't replicate it. Ideally if someone in China maybe could try various configurations, for example by adding browser http headers to the requests, that might help find out the issue. In the meantime I've added a link to the browse the plugins online when such an error occurs. |
Joplin 2.3.5 can connect to plugin repository. The problem seems to be
solved.
Best Regards,
Hongtao Wang
Laurent ***@***.***> 于2021年8月28日周六 下午10:48写道:
… I can't fix this issue unfortunately because I can't replicate it.
Ideally if someone in China maybe could try various configurations, for
example by adding browser http headers to the requests, that might help
find out the issue. In the meantime I've added a link to the browse the
plugins online when such an error occurs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5161 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGFRFBTY55RY5D2NHQBI3ITT7DZKPANCNFSM475GXUNA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
met the same problem. Joplin 2.3.5 (prod, linux) |
I found a solution that works for me. Specify the proxy in joplin configuration file # Exec=/usr/bin/joplin-desktop
Exec=env http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890 /usr/bin/joplin-desktop Or edit hosts file with this repo. Use this method, the download speed is very slow. 185.199.108.133 raw.githubusercontent.com |
Due to github.com is not stable for some contries, e.g. China. We could not connect to github repository. So we always change it to mirror site (hub.fastgit.org, ghproxy.com, raw.fastgit.org) instead of direct site (github.com, raw.githubusercontent.com). e.g. The following page https://raw.githubusercontent.com/joplin/plugins/master/manifests.json Mirror site page https://raw.fastgit.org/joplin/plugins/master/manifests.json
https://cdn.jsdelivr.net/gh/joplin/plugins@master/manifests.json
https://cdn.staticaly.com/gh/joplin/plugins/master/manifests.json
https://ghproxy.com/https://raw.githubusercontent.com/joplin/plugins/master/manifests.json Its a solution that works for China users. Chinese can use a mirror site, others use direct site to access the manifest page. |
That's brilliant I didn't know about these mirrors in China, thanks for the info @JaimeZeng. So I think what we can do is first try the regular GitHub request and, if it fails, try one of the mirrors. How about the release page, is it generally working in China? Because that's from that we fetch new version when updating. |
The github-release page did not work in China. More generally, none of these sources are accessible without proxy client from China, including the following sites. github.githubassets.com
central.github.com
desktop.githubusercontent.com
assets-cdn.github.com
camo.githubusercontent.com
github.map.fastly.net
github.global.ssl.fastly.net
gist.github.com
github.io
github.com
api.github.com
raw.githubusercontent.com
user-images.githubusercontent.com
favicons.githubusercontent.com
avatars5.githubusercontent.com
avatars4.githubusercontent.com
avatars3.githubusercontent.com
avatars2.githubusercontent.com
avatars1.githubusercontent.com
avatars0.githubusercontent.com
avatars.githubusercontent.com
codeload.github.com
github-cloud.s3.amazonaws.com
github.aaakk.us.kg.s3.amazonaws.com
github-production-release-asset-2e65be.s3.amazonaws.com
github-production-user-asset-6210df.s3.amazonaws.com
github-production-repository-file-5c1aeb.s3.amazonaws.com
githubstatus.com
github.community
media.githubusercontent.com |
More github mirrors can be found here. |
Hi everyone, the latest release includes a fix for the Plugin repository access in China: https://github.com/laurent22/joplin/releases/tag/v2.4.8 Basically if it cannot connects to GitHub it uses one of the mirrors suggested by @JaimeZeng. Please give it a try if you can and let me know if it's any better. A few notes:
|
version 2.6.10 still has this issue, and some of the mirrors does not work any more. |
Joplin 2.13.2 in Windows still has problem to connect plugin repository in China. const mirrorUrls = [
defaultContentUrl, /* https://raw.githubusercontent.com/joplin/plugins/master */
'https://cdn.staticaly.com/gh/joplin/plugins/master',
'https://ghproxy.com/https://raw.githubusercontent.com/joplin/plugins/master',
'https://cdn.jsdelivr.net/gh/joplin/plugins@master',
'https://raw.fastgit.org/joplin/plugins/master',
]; Since Joplin first tries to connect the defaultContentUrl(https://raw.githubusercontent.com/joplin/plugins/master/.gitignore), which hangs for a long time in China at most time. And then sometimes the GFW of China allows Joplin to access I mean that it still doesn't work as expect by taking the I'm expecting that Joplin could provide a mirror setting and let user adjust the priority of the mirror urls. Since the second builtin mirror Thank you! |
Environment
Joplin version: 2.1.8
Platform: Windows
OS specifics: Windows 10 Entreprise (v 20H2)
Steps to reproduce
Describe what you expected to happen
I expect to have the chance to search for a piglin and then be able to install.
Logfile
LogFileSectionWhenErrorFlags.txt
The text was updated successfully, but these errors were encountered: