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

HTTP Proxy Authentication is not working #1246

Open
xtianxian opened this issue Oct 5, 2020 · 1 comment
Open

HTTP Proxy Authentication is not working #1246

xtianxian opened this issue Oct 5, 2020 · 1 comment

Comments

@xtianxian
Copy link

xtianxian commented Oct 5, 2020

General information

  1. Android Version
    9
  2. Android Vendor/Custom ROM
    Samsung
  3. Device
    Samsung Note 8
  4. Version of the app (version number/play store version/self-built)
    Tried both playstore and self-built v0.7.21

Description of the issue

When I include http-proxy and http-proxy-user-pass details in the config I'm not able to connect. From the logs, the ConfigParser is expecting only 2 parameters but 2 parameters only works when there's no proxy credentials included in the config. Tested this in OpenVPN Connect and it works showing the connection as TCPV4-via-HTTP.

"Caused by: de.blinkt.openvpn.core.ConfigParser$ConfigParseError: Option http-proxy has 3 parameters, expected between 2 and 2"

http-proxy proxy.com 3128 auto
<http-proxy-user-pass>
proxy
proxy
</http-proxy-user-pass>

BTW, Thank you very much for your hard work!!!

@Acers2
Copy link

Acers2 commented Oct 25, 2021

Just to confirm this issue, the Linux Openvpn client expects 3 parameters:
http-proxy proxy.com 3128 auto
but the android client expects 2 parameters which will work if I remove the auto

Another problem is the Android client won't reconnect if vpn is disconnected and http proxy config is set, but it does reconnect if socks proxy is used!

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