cancel
Showing results for 
Search instead for 
Did you mean: 

Received HTTP code 502 from proxy after CONNECT in Business Application Studio

01-12-2021 9:44 AM
NeoXie Product and Topic Expert
14140 views 8 comments Go to solution
SAP Managed Tags
Subscribe

Hi,

I am using SAP Business Application Studio to clone a project from enterprise repository: E.g

https://github.wdf.sap.corp/xxxx/xxx.git

user: xxx $ git clone https://github.wdf.sap.corp/xxx/xxx.gitCloning into 'xxx'...fatal: unable to access 'https://github.wdf.sap.corp/xxx/xxx.git/': Received HTTP code 502 from proxy after CONNECT

I have generated the public key in BAS and update the same in my account in GitHub.

By searching some documentations, it recommends to use cloud connector to do something. However, my questions are:

1. To clone a repository from Github needs so complex process and even to install the cloud connector, is there anyway to do it quickly?

2. If SCP has any quicker configurations which can make clone works, could you provide the guide on the resolution?

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

mariusobert
Developer Advocate
Developer Advocate

I assume you tried this on a live landscape (such as trial), right? This landscape is also shared with customers why there is no predefined link to SAP-internal systems such as GitHub enterprise. In this case, you need to create this link manually. Or you use the SAP Business Application Studio in the internal Canary landscape which already has the connection set up for you.

If you don't plan to push your changes back to the repo, it might be easier to download a zip from GitHub and to import it in SAP Business Application Studio.

I hope this helped.

manuel_jesus_gamero_parra
Product and Topic Expert
Product and Topic Expert

Hi mariusobert,

Could you explain more in details how to create this link manually or point me to the documentation, please?

Thanks,

Manuel Gamero

mariusobert
Developer Advocate
Developer Advocate
0 Likes

I'm afraid I can't paste internal links here but I send it to you via Teams 🙂

Richie
Product and Topic Expert
Product and Topic Expert

Hi Marius,

I'm facing the same issue. Can you also send me this link?

Thanks,

Richie

Answers (1)

Answers (1)

MrVila
Participant
0 Likes

Hi mariusobert,

I'm trying also to clone a project from private bitbucket server into BAS.

I'm trying to use HCC to connect BAS to SCP. But I get the same error:

fatal: unable to access '....': Received HTTP code 502 from proxy after CONNECT

Currently we are using same configuration in HCC for web IDE to SCP and in this case we are able to clone the project correctly.

I wonder why it's working for web ide but not for BAS.

Regards,

Jordi

VincentD
Explorer
0 Likes

Hi Jordi and MArius,

Facing same issue with Bitbucket.We are planning to move away from NEO/WEB IDE, we have our own internal BitBucket (git.ourcompany.com) and we have also our paid for subaccount of Foundry. Is there anyway we can clone BAS from this git

Vincent

MrVila
Participant

Finally is working fine, we were missing the property: HTML5.DynamicDestination true in SAP BTP cockpit > Destinations > Additional Properties.

More details: https://help.sap.com/viewer/9d1db9835307451daa8c930fbd9ab264/Cloud/en-US/d54ddfc1bc4f45b19dabfa09507...

NeoXie
Product and Topic Expert
Product and Topic Expert
0 Likes

goooooooooooooood, thank you for sharing