-
-
Notifications
You must be signed in to change notification settings - Fork 78
Add uploading via proxy #38
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
Comments
Hi @cs-mshah. What type of proxy do you use in college? Http, socks or something else? Also, what did you mean by cmd line args?
Obsidian is an electron-based app. Electron has cmd-line args for setting proxy globally for the whole app. Could you please try this and tell me if it will work out? |
We use Http proxy. I tried to launch obsidian using |
Ok. So, you can't upload without proxy. What about displaying existing images? Do the get loaded with Obsidian in your college? |
Yes, existing images are visible, which means that Obsidian does respect the proxy, but it seems that while uploading to imgur, proxy isn't used. |
I am surprised with such behavior. Are you sure they get loaded and not just cached from the times when you had a direct internet connection? |
So I got some surprising results:
I feel that there is some issue of imgur with proxy, as I searched and found that several proxies block imgur. So if there are some domains that are free from the blocks then those could be used. Can you support picgo core for upload? As I already have a tested configuration which works. All it requires is a command line argument and you can upload. It supports proxy too. |
I think the reason you've seen some images behind proxy is that they were cached. Some old images you did not open for a long time were unable to load.
How did you specify the proxy settings for Obsidian?
Good to hear 👏
I think good VPN should work well too
Looks like there is already a fork which supports PicGo: https://github.com/renmu123/obsidian-image-auto-upload-plugin |
I currently have to go through my college proxy to connect to the internet. This breaks the imgur upload as the proxy is not specified. Kindly make an option to specify proxy while uploading.
A better option would be to create an option to specify exact command line arguments too.
The text was updated successfully, but these errors were encountered: