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

Http Connector in application connector with VPC SC enabled

Hello @folks

I'm trying a scenario where VPC Service Controls are enabled in the organization and connectors. Following the documentation, I've enabled the connection via Private Service Connect to httpbin.org, but when I'm attempting to access the connector through integration, it throws an error.

Show More
Execution timeout, cancelled graph execution. Note any variable contains large data was failed to upload to GCS. Please try again. error/code: 'common_error_code: SYNC_EVENTBUS_EXECUTION_TIMEOUT''

Any suggestions would be of great help. I'm following this doc https://cloud.google.com/integration-connectors/docs/connectors/http/configure#before-you-begin 

Thanks

 

 

 

0 2 37
2 REPLIES 2

Hello,

How was the VPC-SC perimeter set up for the integration connectors - was it set up using the following documentation: https://cloud.google.com/integration-connectors/docs/vpcsc-connectors

Additionally, order of operations does matter as per when Google Cloud-pertinent entities/objects were established, did you create the PSC attachment before or after the VPC-SC perimeter was created (the PSC attachment needs to be created after)? I would recommend reviewing the considerations here: 

 
given I am not familiar with what your process does, but it does appear (based on the stack trace) that there is an event listener before consuming the service (?) which does require additional implementation as well
 
Thanks!

Thanks for your reply @hartmann 

 I am trying to achieve the following: after enabling VPC Service Controls (VPC SC) and creating a security perimeter, I want to allow access to an external endpoint, specifically "http://httpbin.org," using an HTTP connector in the integration flow. I followed the documentation provided, and I was able to do that. However, my issue is that I want to access different paths such as /ip or /get.

According to this document https://cloud.google.com/integration-connectors/docs/connectors/http/configure#exp7, I have provided the same JSON schema to call the backend example at http://httpbin.org/get. Unfortunately, instead of receiving a JSON response, I am getting the HTML page from http://httpbin.org/.

Top Solution Authors