Just move along, nothing to see here.   I followed the setup and filled in the http proxy because I thought it was needed, when instead it wasn't.  All better now.  Sorry for bothering people.
---------------

Len Ewen

Systems Administrator 1

Information Technology

University of Indianapolis

(317) 788-3362

UIndyIT.jpg

Confidentiality Notice: This communication and/or its content are for the sole use of the intended recipient, and may be privileged, confidential, or otherwise protected from disclosure by law. If you are not the intended recipient, please notify the sender and then delete all copies of it. Unless you are the intended recipient, your use or dissemination of the information contained in this communication may be illegal.



On Fri, Jun 26, 2020 at 1:00 PM Julio González Gil <jgonzalez@suse.com> wrote:
Is your proxy really a HTTP proxy on port 80?

Can run "curl http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras"
with the proxy configured [1] and see if it works?

https://www.cyberciti.biz/faq/linux-unix-curl-command-with-proxy-username-password-http-options/

On viernes, 26 de junio de 2020 18:57:01 (CEST) Len Ewen wrote:
> Completely missed the 443 vs 80, sorry about that.  After making that
> change I still get the below error.  Little smaller, but an error
> nonetheless.
>
> Repository 'centos7-x86_64-extras' is invalid.
> [centos7-x86_64-extras|
> http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http:/
> /xxx:80&proxyuser=xxx&proxypass=xxx] Valid metadata not found at specified
> URL
> History:
>  - [centos7-x86_64-extras|
> http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=xxx:80
> &proxyuser=xxx&proxypass=xxx] Repository type can't be determined.
>
> Please check if the URIs defined for this repository are pointing to a
> valid repository.
> Skipping repository 'centos7-x86_64-extras' because of the above error.
> Could not refresh the repositories because of errors.
> 12:51:14 RepoMDError: Cannot access repository. Maybe repository GPG keys
> are not imported
>
> ---------------
>
> Len Ewen
>
> Systems Administrator 1
>
> Information Technology
>
> University of Indianapolis
>
> (317) 788-3362
>
> [image: UIndyIT.jpg]
>
> Confidentiality Notice: This communication and/or its content are for the
> sole use of the intended recipient, and may be privileged, confidential, or
> otherwise protected from disclosure by law. If you are not the intended
> recipient, please notify the sender and then delete all copies of it.
> Unless you are the intended recipient, your use or dissemination of the
> information contained in this communication may be illegal.
>
>
> On Fri, Jun 26, 2020 at 12:47 PM Julio González Gil <jgonzalez@suse.com>
>
> wrote:
> > Hi Len,
> >
> > Much better now that there are logs :-)
> >
> > You are getting a HTTP 400 fetching http://mirrorlist.centos.org/?
> > release=7&arch=x86_64&repo=extras
> > <http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras>
> >
> > Works for me fine if I use it it with curl, so I don't think it's a
> > problem
> > with mirrorlist.centos.org
> >
> > The fact the your proxy has http defined as protocol and at the same time
> > uses
> > port 443 seems to be strange.
> >
> > My guess is that you defined this from the Setup Wizard, and the fact is
> > that
> > you only specify there a port, not a protocol.
> >
> > So while I am not 100% sure, I am almost certain that right now only HTTP
> > proxies are supported, while you are trying to use a HTTPS proxy. Is that
> > right?
> >
> > I'd need one of our spacewalk-backend expert to confirm it my suspicions.
> > I
> > will ping them on Monday if they don't see this message.
> >
> > Or... could be that for HTTPS proxies, those need to be configured from
> > CLI,
> > but if that's possible I can't see how at the doc, and it would be
> > strange.
> >
> > On viernes, 26 de junio de 2020 18:22:17 (CEST) Len Ewen wrote:
> > > I uploaded channels from the spacewalk-common channels to populate my
> > > channels then I tried the sync command and got
> > >
> > > RepoMDError: Cannot access repository. Maybe repository GPG keys are
> > > not imported
> > >
> > > After that I tried, per the suggestions of some of the others
> > > experiencing the issue, I tried the cli
> > > spacewalk-repo-sync -c 'centos7-x86_64'
> > >
> > > Repository 'centos7-x86_64-extras' is invalid.
> > > [centos7-x86_64-extras|
> >
> > http://mirrorlist.centos.org/?release=7&arch=x86_64&r
> >
> > > epo=extras&proxy=http://xxx:443&proxyuser=xxx&proxypass=xxx
> > > <
> >
> > http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http
> >
> > > ://uyuni.test.uindy.edu:443&proxyuser=xxx&proxypass=xxx> Valid metadata
> >
> > not
> >
> > > found at specified URL
> > >
> > > History:
> > >  - [|] Error trying to read from
> > >
> > > '
> >
> > http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http
> >
> > > //xxx:443&proxyuser=xxx&proxypass=xxx
> > > <
> >
> > http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http
> >
> > > ://uyuni.test.uindy.edu:443&proxyuser=xxx&proxypass=xxx>!' - Download
> >
> > (curl)
> >
> > > error for
> > > '
> >
> > http://mirrorlist.centos.org/content?release=7&arch=x86_64&repo=extras&pro
> > x
> >
> > > y=http://xxx:443&proxyuser=xxx&proxypass=xxx
> > > <
> >
> > http://mirrorlist.centos.org/content?release=7&arch=x86_64&repo=extras&pro
> >
> > > xy=http://uyuni.test.uindy.edu:443&proxyuser=xxx&proxypass=xxx>: Error
> >
> > code:
> > > HTTP response: 400
> > > Error message: The requested URL returned error: 400 Bad Request
> > >
> > >
> > > Please check if the URIs defined for this repository are pointing to a
> > > valid repository.
> > > Skipping repository 'centos7-x86_64-extras' because of the above error.
> > > Could not refresh the repositories because of errors.
> > > 11:19:38 RepoMDError: Cannot access repository. Maybe repository GPG
> > > keys are not imported
> > >
> > >
> > > ---------------
> > >
> > > Len Ewen
> > >
> > > Systems Administrator 1
> > >
> > > Information Technology
> > >
> > > University of Indianapolis
> > >
> > > (317) 788-3362
> > >
> > > [image: UIndyIT.jpg]
> > >
> > > Confidentiality Notice: This communication and/or its content are for
> > > the
> > > sole use of the intended recipient, and may be privileged, confidential,
> >
> > or
> >
> > > otherwise protected from disclosure by law. If you are not the intended
> > > recipient, please notify the sender and then delete all copies of it.
> > > Unless you are the intended recipient, your use or dissemination of the
> > > information contained in this communication may be illegal.
> > >
> > > On Fri, Jun 26, 2020 at 11:23 AM Len Ewen <ewenf@uindy.edu> wrote:
> > > > I uploaded channels from the spacewalk-common channels to populate my
> > > > channels then I tried the sync command and got
> > > >
> > > > RepoMDError: Cannot access repository. Maybe repository GPG keys are
> >
> > not
> >
> > > > imported
> > > >
> > > > After that I tried, per the suggestions of some of the others
> >
> > experiencing
> >
> > > > the issue, I tried the cli spacewalk-repo-sync -c 'centos7-x86_64'
> > > >
> > > > Repository 'centos7-x86_64-extras' is invalid.
> > > > [centos7-x86_64-extras|
> >
> > http://mirrorlist.centos.org/?release=7&arch=x86_64
> >
> > > > &repo=extras&proxy=http://uyuni.test.uindy.edu:443&proxyuser
> >
> > =xxx&proxypass
> >
> > > > =xxx Valid metadata not found at specified URL>
> > > >
> > > > History:
> > > >  - [|] Error trying to read from
> > > >  '
> >
> > http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=h
> >
> > > >  ttp://uyuni.test.uindy.edu:443&proxyuser=xxx&proxypass=xxx!'>
> > > >  - Download (curl) error for 'http://mirrorlist.centos.org/content?
> >
> > release=7&arch=x86_64&repo=extras&proxy=http://uyuni.test.uindy.edu
> > <http://mirrorlist.centos.org/content?release=7&arch=x86_64&repo=extras&pr
> > oxy=http://uyuni.test.uindy.edu>>
> > 443&proxyuser=xxx&proxypass=xxx:
> > > > Error code: HTTP response: 400
> > > > Error message: The requested URL returned error: 400 Bad Request
> > > >
> > > >
> > > > Please check if the URIs defined for this repository are pointing to a
> > > > valid repository. Skipping repository 'centos7-x86_64-extras' because
> >
> > of
> >
> > > > the above error. Could not refresh the repositories because of errors.
> > > > 11:19:38 RepoMDError: Cannot access repository. Maybe repository GPG
> >
> > keys
> >
> > > > are not imported
> > > >
> > > > ---------------
> > > >
> > > > Len Ewen
> > > >
> > > > Systems Administrator 1
> > > >
> > > > Information Technology
> > > >
> > > > University of Indianapolis
> > > >
> > > > (317) 788-3362
> > > >
> > > > [image: UIndyIT.jpg]
> > > >
> > > > Confidentiality Notice: This communication and/or its content are for
> >
> > the
> >
> > > > sole use of the intended recipient, and may be privileged,
> >
> > confidential,
> >
> > > > or
> > > > otherwise protected from disclosure by law. If you are not the
> > > > intended
> > > > recipient, please notify the sender and then delete all copies of it.
> > > > Unless you are the intended recipient, your use or dissemination of
> > > > the
> > > > information contained in this communication may be illegal.
> > > >
> > > >
> > > > On Thu, Jun 25, 2020 at 8:53 PM Julio González Gil <jgonzalez@suse.com
> > > >
> > > > wrote:
> > > >> Please, provide more details:
> > > >>
> > > >> - What are you trying to sync exactly?
> > > >> - Can you paste your call to spacewalk-repo-sync?
> > > >>
> > > >> On jueves, 25 de junio de 2020 19:41:50 (CEST) Len Ewen wrote:
> > > >> > I dropped this into the glitter chat, but I'll try here as well.
> >
> > When
> >
> > > >> > I
> > > >> > try to sync the repos through the UI, it errors out saying
> > > >> >
> > > >> > RepoMDError: Cannot access repository. Maybe repository GPG keys
> > > >> > are
> > > >> > not imported
> > > >> >
> > > >> > I read in the list serv from previous months that people have seen
> >
> > the
> >
> > > >> > problem and
> > > >> > the recommended solution is try it from the command line using
> > > >> > spacewalk-repo-sync
> > > >> >
> > > >> > but I am still getting the same error on the command line, so I am
> > > >> > unsure what is going
> > > >> >
> > > >> > on and what I can do to fix it.  Does anyone have any suggestions
> >
> > to my
> >
> > > >> > problem?
> > > >> >
> > > >> >
> > > >> > ---------------
> > > >> >
> > > >> > Len Ewen
> > > >> >
> > > >> > Systems Administrator 1
> > > >> >
> > > >> > Information Technology
> > > >> >
> > > >> > University of Indianapolis
> > > >> >
> > > >> > (317) 788-3362
> > > >> >
> > > >> > [image: UIndyIT.jpg]
> > > >> >
> > > >> > Confidentiality Notice: This communication and/or its content are
> >
> > for
> >
> > > >> the
> > > >>
> > > >> > sole use of the intended recipient, and may be privileged,
> > > >>
> > > >> confidential, or
> > > >>
> > > >> > otherwise protected from disclosure by law. If you are not the
> >
> > intended
> >
> > > >> > recipient, please notify the sender and then delete all copies of
> >
> > it.
> >
> > > >> > Unless you are the intended recipient, your use or dissemination of
> >
> > the
> >
> > > >> > information contained in this communication may be illegal.
> > > >>
> > > >> --
> > > >> Julio González Gil
> > > >> Release Engineer, SUSE Manager and Uyuni
> > > >> jgonzalez@suse.com
> >
> > --
> > Julio González Gil
> > Release Engineer, SUSE Manager and Uyuni
> > jgonzalez@suse.com


--
Julio González Gil
Release Engineer, SUSE Manager and Uyuni
jgonzalez@suse.com