Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

HTTP STATUS CODE: 401 while setup organization in apigee opdk

hii folks, i am installing apigee opdk so as soon as i install provsion 

/opt/apigee/apigee-service/bin/apigee-service apigee-provision install
but after this i run setup organization command
/opt/apigee/apigee-service/bin/apigee-service apigee-provision setup-org -f /tmp/orgconfig
then i am getting Http status code : 401 error
issue.jpg
Solved Solved
0 9 723
1 ACCEPTED SOLUTION

It worked on my env and successfully printed and showed all expected outputs.

 

one thing I can think of is that maybe file corrupted - by that I recommend to check the following:

 

1. vi orgconfig

2. press ESC and then type :set ff=unix and then press ENTER

3. save the file (wq!) 

 

retry and see if works

 

if not, use dos2unix to convert the file to unix mode. I think there's something inside the file that provision dont like

 

BTW one more recommendation: try to put a more simple password for the new user (and check if there are some special chars are in the SYSADMIN password). 


For test try using Secret123! as a password and change it later on. 

 

P.S hostname -i command returns ONLY ipv4 in your linux? 

View solution in original post

9 REPLIES 9