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

FS#3994 - opkg on 21.02 for the Cudy WR2100 doesn't honor its http_proxy option #7030

Open
openwrt-bot opened this issue Aug 27, 2021 · 3 comments
Labels
core packages flyspray release/21.02

Comments

@openwrt-bot
Copy link

openwrt-bot commented Aug 27, 2021

JadianRadiator:

opkg on 21.02 for the Cudy WR2100 doesn't honor its http_proxy option.
Supply the following if possible:

  • Device problem occurs on
    Cudy WR2100
  • Software versions of OpenWrt/LEDE release, packages, etc.
    21.02.0-rc4
    As well as the SNAPSHOT build built on 2021-08-25
  • Steps to reproduce
    Be on an http proxy you can verify works with OpenWRT's opkg's http_proxy option.
    Add the "option http_proxy..." setting as you normally would.
    Run "opkg update"
@openwrt-bot
Copy link
Author

openwrt-bot commented Aug 27, 2021

JadianRadiator:

I made a mistake on the "Steps to reproduce."
Here are the corrected instructions to reproduce.

  • Steps to reproduce
    Be on an http proxy you can verify works with OpenWRT's opkg's http_proxy option.
    Have said proxy be the only internet.
    Add the "option http_proxy..." setting as you normally would.
    Run "opkg update"

@openwrt-bot
Copy link
Author

openwrt-bot commented Sep 4, 2021

JadianRadiator:

I tried with "export https_proxy=https://192.168.49.1:8821/" and no option in the config.
https://bitbin.it/h4BAcwBh/

I tried with "export https_proxy=192.168.49.1:8821" and no option in the config.
https://bitbin.it/B320LMj0/

I tried with "export https_proxy=http://192.168.49.1:8821/" and no option in the config.
Which takes forever just to fail this much.
https://bitbin.it/HG77raa8/

And trying the same proxy url's but in the config made zero difference.

@openwrt-bot
Copy link
Author

openwrt-bot commented Nov 22, 2021

luizluca:

The issue is that opkg does not have (yet) an "option https_proxy".

At least for 21.02, I'm using env variables like this:

https_proxy=http://myproxy:myport opkg ...
env https_proxy=http://myproxy:myport opkg ...
export https_proxy=http://myproxy:myport; opkg ...

You can permanently run that export putting it in a new file at /etc/profile.d/99_proxy.sh

@aparcar aparcar added release/21.02 core packages labels Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages flyspray release/21.02
Projects
None yet
Development

No branches or pull requests

2 participants