Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /home/onlinesu/public_html/kb/wp-content/mu-plugins/sso.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/onlinesu/public_html/kb/wp-content/mu-plugins/sso.php:74) in /home/onlinesu/public_html/kb/wp-includes/feed-rss2.php on line 8
Cannot retrieve metalink https://kb.onlinesupport4u.in Fri, 09 Sep 2016 14:19:48 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again https://kb.onlinesupport4u.in/error-cannot-retrieve-metalink-for-repository-epel-please-verify-its-path-and-try-again/ Fri, 09 Sep 2016 14:19:48 +0000 http://kb.onlinesupport4u.in/?p=331 While working on a server on installing php 5.6 on centos 6 OS

I was getting error “Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again”

After googleing around I found this issue is due to https mentioned in the .repo file in /etc/yum.repos.d

[root@host yum.repos.d]# ls -la
total 28
drwxr-xr-x. 2 root root 4096 Oct 28 05:15 .
drwxr-xr-x. 80 root root 4096 Oct 28 05:16 ..
-rw-r–r–. 1 root root 954 Oct 28 05:15 epel.repo
-rw-r–r–. 1 root root 1056 Nov 4 2012 epel-testing.repo
-rw-r–r–. 1 root root 966 Jul 4 2015 webtatic-archive.repo
-rw-r–r–. 1 root root 862 Oct 28 05:15 webtatic.repo
-rw-r–r–. 1 root root 966 Jul 4 2015 webtatic-testing.repo

I checked in all files with .repo extension and  an replaced all https with http and  all repository started working fine

 

 

 

]]>