App Connect

 View Only

 BarAuth issue to access the bar files from Azure file storage in IBM ACE 12

Suresh L's profile image
Suresh L posted Fri October 25, 2024 04:00 AM

Hi,

We are running IBM ACE 12.0.12.5 in on Azure through ACE operator 11.6. As a part of build process, we have stored all our bar files in azure file storages. In order to deploy the bar files, we would like to refer the bar files available in azure file storage in the integration runtime yamls. 

We have generated the SAS url for the bar files present in the storage account. This url will directly download the bar file when pasted in a browser which means no authentication required to access the bar file.

We are referring the same bar url in the integration runtime yaml file and have created a barauth configuration which includes the data  as below:

{"authType":"BASIC_AUTH","credentials":{"username":"","password":"","insecureSsl":"true"}}

The expectation is upon deploying the integration runtime, the bar file should be accessed by the runtime with no authentication. But, we are getting below error:
admission webhook "mutate.appconnect.ibm.com" denied the request:
- error getting bar : BarURL - Non-OK HTTP status returned: 403, please check the credentials provided in your barauth configuration
Any help would be highly appreciated
Somnath Ghosh's profile image
Somnath Ghosh

barauth configuration looks fine to me.

we are able to download bar with similar configuration.

Please check whether the bar url is proper or not. just put in some browser and try to download the bar or use curl command.

Next, please check whether the user has the proper access. seems like this is the issue.