Skip to content
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

Support socks5/http proxy for desktop client #131

Open
BLumia opened this issue Jan 8, 2023 · 3 comments
Open

Support socks5/http proxy for desktop client #131

BLumia opened this issue Jan 8, 2023 · 3 comments

Comments

@BLumia
Copy link

BLumia commented Jan 8, 2023

Describe the problem

In some case user might need a proxy to access a certain homeserver. It could be useful if it could have built-in socks5 and/or http proxy support for Cinny desktop client.

Describe the solution you'd like

Add a proxy setting to the desktop client, and ensure the proxy setting can be accessed before login any account.

Alternatives considered

If in-app proxy setting is not possible, add a commandline argument to make it able to use a proxy is still okay.

Additional context

I don't know so much about front-end development and Tauri, so not sure if it's possible.

This issue might be related: tauri-apps/wry#588

@BLumia
Copy link
Author

BLumia commented Jan 9, 2023

Oh sorry I just realized I should probably open this issue in cinnyapp/cinny-desktop instead of cinnyapp/cinny. If you cannot transfer this issue to that repo, please feel free to let me know if I should close this one and create a new one in that repo. Thanks!

@kfiven kfiven transferred this issue from cinnyapp/cinny Jan 9, 2023
@ghost
Copy link

ghost commented May 16, 2024

I include the following details as a stopgap workaround until a decision is made by the developers.

On some systems - mine included - the environmental variables HTTP_PROXY and HTTPS_PROXY influence how Cinny performs lookups.

I tested the following to identify whether it had any impact:
from a Linux command-line:

HTTP_PROXY=socks5://1.2.3.4:1234 HTTPS_PROXY=$HTTP_PROXY cinny;

Cinny could no longer connect to any matrix home servers.
If you verify that the above holds true for yourself, then you can edit it to use a proxy of your choosing.

@MicaEcho
Copy link

I tried to make it work rebuilding it with proxy support, but it fails to connect. Same behavior as setting the environment variable.

I know nothing about tauri too, I would like too see it implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants