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

wget throws a "SSL error: SSL - Bad input parameters to function" #4

Open
McGiverGim opened this issue May 22, 2024 · 1 comment
Open

Comments

@McGiverGim
Copy link

More info here: openwrt/openwrt#15427

It worked until some weeks ago, where it started to fail with latest snapshot of OpenWrt.

The issue occurs when uclient-fetch tries to redirect over SSL from one host to another. So a redirect that works like this: https://rany.eu.org/hi -> https://rany.eu.org/hi2 will work fine but https://rany.eu.org/subdomain to https://subdomain.rany.eu.org does not.

root@crappypi:~# wget -O/dev/null https://rany.eu.org/hi
Downloading 'https://rany.eu.org/hi'
Connecting to x:443
Redirected to /hi2 on rany.eu.org
HTTP error 404
root@crappypi:~# wget -O/dev/null https://rany.eu.org/subdomain
Downloading 'https://rany.eu.org/subdomain'
Connecting to x:443
Redirected to / on subdomain.rany.eu.org
SSL error: SSL - Bad input parameters to function
Connection error: Connection failed
@Neustradamus
Copy link

There is a change for this bug?

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