cancel
Showing results for 
Search instead for 
Did you mean: 

HCP's Git repo clone gives "not authorized"

former_member182372
Active Contributor
0 Kudos

Hello experts, gurus and especially insiders,

trying to do the following

1) Import project from ABAP to WebIDE

2) Deploy project to HCP

3) Delete project from WebIDE

4) Clone repo again

at the last step I get "12:39:43 AM (git) Clone request failed https://git.us1.hana.ondemand.com/xxx/zzz: not authorized"

All 4 steps are performed by the same user, account is not trial. User has following roles

just to boost some visibility listing

Michal Keidar Shoham Krigsman, Liat Borenshtein

thank you for any input!

Accepted Solutions (1)

Accepted Solutions (1)

michal_keidar
Active Contributor
0 Kudos

Hi Maxim,

I just tried your flow and it worked for me.

Is there any useful information in the network trace perhaps?

Regards,
Michal.

former_member182372
Active Contributor
0 Kudos

not much ;-(

POST https://webide-xxx.dispatcher.us1.hana.ondemand.com/orion/gitapi/clone/


returns localtion as part of the json string


and that location is used for next GET


https://webide-xxx.dispatcher.us1.hana.ondemand.com/orion/s2s/task/id/<LOCALTION VALUE>


which returns


DetailedMessage : "https://git.us1.hana.ondemand.com/xxx/yyy: not authorized"


Git from WebStorm works fine:


00:26:18.654: [..\..\webapps] git -c core.quotepath=false clone --progress https://git.us1.hana.ondemand.com/xxx/yyy -- yyy

michal_keidar
Active Contributor
0 Kudos

, - can you assist please?

michal_keidar
Active Contributor
0 Kudos

By the way, if the clone will be successful you will get an empty repository. Just wanted to make sure you're aware, since the files aren't committed and pushed during deployment anymore.

former_member182372
Active Contributor
0 Kudos

That's fine, by deploying to HCP it creates a tag, i just reset current branch to that tag with Hard mode

offer_shostak
Advisor
Advisor
0 Kudos

Hi,

Please try with different browser to clear out caching issue.

Regards,

Offer.

former_member182372
Active Contributor
0 Kudos

All right, now explain me why it works in IE but not in incognito Chrome

offer_shostak
Advisor
Advisor
0 Kudos

Chrome probably store your credentials which was not correct.

Please try to logout from WebIDE in chrome and hard clean the cache.

Answers (1)

Answers (1)

0 Kudos

Hi Maksim,
I had this issue, when the Repository Browser's URL and not the Repository URL.
It can be an issue, as the browsers url is not the actual git repo.
Peter