HTTP 401 when downloading apigee-repo-1.0-6.x

dbannikov
Participant I

I'm trying to install apigee-setup utility, facing following issue:

#  /tmp/bootstrap_4.17.01.sh 

Apigee bootstrap 1.0-287 (origin/OPDK_1701, 2016.11.25,02:32) 

=== Obtaining creds for software.apigee.com: 

Please enter value for user:<USERNAME> 

Please enter value for password: 

=== Begin work ... 

=== Checking for presence of misc commands: 

=== Checking distro:

=== Checking architecture: 

=== Checking OS: 

=== Checking SELinux status 

=== Configuring package manager: 
+ rpm -qa apigee* 
+ rpm -e apigee-repo 
error: package apigee-repo is not installed 
(error can be ignored) 
+ rpm -e apigeeprio-repo 
error: package apigeeprio-repo is not installed
(error can be ignored) 
+ yum install -y https://<USERNAME>:***@software.apigee.com//apigee-repo-1.0-6.x86_64.rpmLoaded plugins: fastestmirror, ovl
Cannot open: https://<USERNAME>:<PASSWORD>@software.apigee.com//apigee-repo-1.0-6.x86_64.rpm. Skipping.
Error: Nothing to do
bootstrap_4.17.01.sh: Error: Repo configuration failed

It looks similar to this problem:
https://community.apigee.com/questions/31778/error-when-installing-apigee-service.html

I've changed my password - same issue.

0 1 391
1 REPLY 1

dbannikov
Participant I

UPDATE: Looks like I was using web portal credentials instead of repository credentials. How can I obtain repo credentials?