# Connection Refused between API Gateway and Ion Lambdas

**URL:** <https://forum.datomic.com/t/connection-refused-between-api-gateway-and-ion-lambdas/1922>\
**Category:** Datomic Cloud\
**Created:** [August 6, 2021, 2:06pm UTC](https://forum.datomic.com/t/connection-refused-between-api-gateway-and-ion-lambdas/1922 "2021-08-06T14:06:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![caleb](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/caleb/32/87_2.png) [@caleb](https://forum.datomic.com/u/caleb)\
**Post date:** [August 6, 2021, 2:06pm UTC](https://forum.datomic.com/t/connection-refused-between-api-gateway-and-ion-lambdas/1922/1 "2021-08-06T14:06:00Z")

</div>

Hello,  
We’ve been running Datomic Cloud for a couple of years and since we upgraded to 781-9041 we’ve twice run into a problem that I never encountered before.

Here’s the time line:

- 2021-06-25 Upgrade from 668-8927 to 781-9041
- 2021-07-19 All requests through API Gateway are failing with “Connection Refused”
  - Redeployed Ions and requests to Ion Lambdas start working again.

- 2021-08-06 Requests are failing again with “Connection Refused”
  - Redeployed Ions and requests to Ion Lambdas start working again.

I have the API Gateway log for a test execution that I ran. It has some account specific info in it, so I won’t post the whole thing here, but here’s the section that seems important.

```auto
Fri Aug 06 13:23:42 UTC 2021 : Endpoint response body before transformations: {
"isBase64Encoded" : false,
"statusCode" : 500,
"headers" : {},
"body" : "Connection refused"
}

```

Has anything changed with the Lambdas that might cause this? I know 884-9095 has big changes in this area, but we’re not there yet.

Thanks,  
Caleb
