# Outbound mTLS to Oracle Cloud hangs ~70s then fails (iad)

**URL:** <https://community.fly.io/t/outbound-mtls-to-oracle-cloud-hangs-70s-then-fails-iad/28756>\
**Category:** Questions / Help\
**Created:** [October 6, 2026, 8:39am UTC](https://community.fly.io/t/outbound-mtls-to-oracle-cloud-hangs-70s-then-fails-iad/28756 "2026-10-06T08:39:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DmSychov](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DmSychov](https://community.fly.io/u/DmSychov)\
**Post date:** [October 6, 2026, 8:39am UTC](https://community.fly.io/t/outbound-mtls-to-oracle-cloud-hangs-70s-then-fails-iad/28756/1 "2026-10-06T08:39:17Z")

</div>

Diagnostics performed from inside the machine via `fly ssh console`:

1. Plain TCP connect to adb.us-ashburn-1.oraclecloud.com:1522 — succeeds in 0.76s.
2. TLS handshake WITHOUT a client certificate (ssl.create\_default\_context(), no client cert) to the same host:port — succeeds in 0.8s (TLSv1.3).
3. Full connection using python-oracledb (thin mode) WITH the wallet’s mutual-TLS client certificate — consistently takes 68-70s and then fails with:  
DPY-6005: cannot connect to database  
DPY-6000: Listener refused connection. (Similar to ORA-12506)  
This happens identically regardless of which Autonomous DB service level is targeted (\_high or \_medium), ruling out a database-side session/concurrency limit.
4. The same wallet, same credentials, same DSN, connecting from a home network (not Fly) — succeeds consistently in 1-2s.

Hypothesis: something in Fly’s outbound network path for this machine/region is dropping or mishandling larger/fragmented TCP packets specific to the mTLS handshake (client certificate presentation), while small TLS handshakes (no client cert) go through fine. The connect descriptor’s built-in retry\_count=20/retry\_delay=3 (from the Oracle wallet’s tnsnames.ora) is what produces the ~60-70s delay before the final failure.

Could you check:

- Whether there have been any recent networking/MTU changes for the iad region or for this app’s machines.
- Whether outbound TCP fragmentation/MTU handling could explain a hang specific to larger TLS handshakes (client-cert mTLS) vs. plain TLS.

---

<div class="post-metadata">

**Author:** ![flyio-support](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/flyio-support/32/46245_2.png) [@flyio-support](https://community.fly.io/u/flyio-support)\
**Post date:** [October 6, 2026, 9:22am UTC](https://community.fly.io/t/outbound-mtls-to-oracle-cloud-hangs-70s-then-fails-iad/28756/2 "2026-10-06T09:22:33Z")

</div>

Our side looks clean, the mTLS handshake itself succeeds and the `DPY-6000`failure happens right after which could point to the ADB’s network ACL rather than our network/MTU.

One thing though: `pet-novagoods` doesn’t have a static egress IP yet, so it’s using Fly’s shared dynamic IP pool which won’t match a fixed-IP ACL entry even if one was added.

Could you [allocate a static egress IP for your app](https://docs.fly.io/networking/egress-ips#static-egress-ips-app-scoped)? Then add that IP to the ADB’s allowed network list on the Oracle side and retest?

Let us know how it goes, happy to dig further if it still fails after that.

---

<div class="post-metadata">

**Author:** ![flyio-support](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/flyio-support/32/46245_2.png) [@flyio-support](https://community.fly.io/u/flyio-support)\
**Post date:** [October 7, 2026, 6:40am UTC](https://community.fly.io/t/outbound-mtls-to-oracle-cloud-hangs-70s-then-fails-iad/28756/3 "2026-10-07T06:40:56Z")

</div>

Looking at your app, there’s still no static egress IP allocated to pet-novagoods as of right now.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [October 17, 2026, 6:41am UTC](https://community.fly.io/t/outbound-mtls-to-oracle-cloud-hangs-70s-then-fails-iad/28756/4 "2026-10-17T06:41:37Z")

</div>

Closed on October 17, 2026, 6:41am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
