I try to call github enterprise with my application (in Go) with SAM local, but I get a timeout (the code runs fine without SAM).I suspect a network access problem, so I tried adding a VpcConfig (SubnetIds and SecurityGroupIds) in the template but it didn't change anything. I also tried running my command like this (sam local invoke --profile=dev --region=eu-west-3 --docker-network host), but still the same problem.
I connected to the container to call my github and I have the problem. Knowing that I have no problems with other images
Hi @embaya, thanks for reporting the issue. Are you able to provide the lambda function code and steps to reproduce the behavior? Trying to replicate the behavior to see what's happening.
Description
I try to call github enterprise with my application (in Go) with SAM local, but I get a timeout (the code runs fine without SAM).I suspect a network access problem, so I tried adding a VpcConfig (SubnetIds and SecurityGroupIds) in the template but it didn't change anything. I also tried running my command like this (sam local invoke --profile=dev --region=eu-west-3 --docker-network host), but still the same problem. I connected to the container to call my github and I have the problem. Knowing that I have no problems with other images
Any ideas
Template
Environment
SAM CLI, version 1.118.0 Archlinux