Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 891867

Summary: dev-cpp/pystring ERROR: certificate common name ‘tomcat’ doesn't match requested host name ‘codeload.github.com’.
Product: Gentoo Linux Reporter: Petross404(Petros S) <petross404>
Component: Current packagesAssignee: Sebastian Parborg <darkdefende>
Status: RESOLVED NEEDINFO    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-cpp:pystring-1.1.3-r1:20230123-194524.log
emerge --info
emerge --info

Description Petross404(Petros S) 2023-01-23 18:52:34 UTC
Created attachment 849097 [details]
dev-cpp:pystring-1.1.3-r1:20230123-194524.log

I tried to emerge media-gfx/krita and one of the dependencies was =dev-cpp/pystring-1.1.3-r1::gentoo.

But it failed to download the source code:

>>> Downloading 'https://github.com/imageworks/pystring/archive/v1.1.3.tar.gz'
--2023-01-23 21:45:24--  https://github.com/imageworks/pystring/archive/v1.1.3.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/imageworks/pystring/tar.gz/refs/tags/v1.1.3 [following]
--2023-01-23 21:45:30--  https://codeload.github.com/imageworks/pystring/tar.gz/refs/tags/v1.1.3
Resolving codeload.github.com (codeload.github.com)... 62.74.131.28
Connecting to codeload.github.com (codeload.github.com)|62.74.131.28|:443... connected.
ERROR: cannot verify codeload.github.com's certificate, issued by ‘CN=tomcat,OU=Optimization,O=Optimization,L=New York,ST=USA,C=US’:
  Self-signed certificate encountered.
    ERROR: certificate common name ‘tomcat’ doesn't match requested host name ‘codeload.github.com’.
To connect to codeload.github.com insecurely, use `--no-check-certificate'.
!!! Couldn't download 'pystring-1.1.3.tar.gz'. Aborting.
 * Fetch failed for 'dev-cpp/pystring-1.1.3-r1', Log file:
 *  '/var/log/portage/dev-cpp:pystring-1.1.3-r1:20230123-194524.log'
Comment 1 Petross404(Petros S) 2023-01-23 18:53:17 UTC
Created attachment 849099 [details]
emerge --info
Comment 2 Petross404(Petros S) 2023-01-23 18:54:38 UTC
Created attachment 849101 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-23 21:19:19 UTC
I suspect this was either a temporary blip on github's end or your network connection is being tampered with.