-
Notifications
You must be signed in to change notification settings - Fork 85
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
Problem with Package Manager when using HTTP proxy #36
Comments
I can confirm this, got a fresh upgraded test instance with exactly the same issue. |
I'm currently rewriting the Dev::Code::CPANUpdate script to update CPAN deps step by step. I'll update the libwww-perl package and check if that fixes the issue. And the issue could be with LWP::Protocol::https as well. So let's see ;-) |
LWP::Protocol::https is already added in our internal Git for 6.0.34 in the CheckModules script ;-) |
Let me know if there's something to test. |
It's an issue with LWP::Protocol::https . After upgrading that module in Kernel/cpan-lib the command was successful. @rkaldung I have upgraded libwww-perl (LWP::UserAgent et al.) and LWP::Protocol::https locally. Should I create a PR for that or do you have the new version in Git already (your message above is ambiguous - it could mean you have that only in CheckModules and that you have the current version in cpan-lib) |
@reneeb Yes please create a PR. There was sth. wrong on my side regarding LWP::Protocol::https 🙈 |
Environment
Expected behavior
The package manager should work when using a http proxy.
Actual behavior
su -c 'bin/otrs.Console.pl Admin::Package::Install https://download.znuny.org/releases/packages/:FAQ' - otrs
:ERROR: OTRS-otrs.Console.pl-Admin::Package::Install-37 Perl: 5.28.1 OS: linux Time: Thu Mar 25 17:32:36 2021
Message: Can't perform GET on https://download.znuny.org/releases/packages//otrs.xml: 500 SSL upgrade failed: hostname verification failed
How to reproduce
Steps to reproduce the behavior:
apt install squid
su -c 'bin/otrs.Console.pl Admin::Package::Install https://download.znuny.org/releases/packages/:FAQ' - otrs
Additional information
I think the problem could be a bug in the CPAN module LWP::UserAgent.
At least a test script shows a difference between the Znuny version (6.26) "
perl -I /opt/otrs/Kernel/cpan-lib /tmp/x.pl
" and the version shipped with Debian (6.36) "perl /tmp/x.pl
".My test environment:
Screenshots
The text was updated successfully, but these errors were encountered: