# IPv6 support for HTTPS Outcalls

**URL:** <https://forum.dfinity.org/t/ipv6-support-for-https-outcalls/32766>\
**Category:** Developers\
**Created:** [July 5, 2024, 2:12pm UTC](https://forum.dfinity.org/t/ipv6-support-for-https-outcalls/32766 "2024-07-05T14:12:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NimaRa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nimara/32/22761_2.png) [@NimaRa](https://forum.dfinity.org/u/NimaRa)\
**Post date:** [July 5, 2024, 2:12pm UTC](https://forum.dfinity.org/t/ipv6-support-for-https-outcalls/32766/1 "2024-07-05T14:12:35Z")

</div>

Hi! I’m planning on making calls to the OpenAI api endpoints, but currently the limitation on IPv4 destinations is a blocker. Is there any proxy solution that I can use to get around this?  
If not, would it be sensible to write an off-chain proxy between the canister and the openai api endpoints? (I’m really trying to avoid any off-chain component)

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [July 5, 2024, 2:59pm UTC](https://forum.dfinity.org/t/ipv6-support-for-https-outcalls/32766/2 "2024-07-05T14:59:30Z")

</div>

For OpenAI, you need a proxy anyway because, in addition to not supporting IPv6, they also do not support idempotent answers.

Various solutions were shared on the forum. @zensh literally shared a solution today: [Idempotent Proxy Show: proxy HTTPS Outcalls to any Web2 service](https://forum.dfinity.org/t/idempotent-proxy-show-proxy-https-outcalls-to-any-web2-service/32754)

Additionally, @massimoalbarello and @ilbert also provide solutions. You might find it documented them in this thread: [Non replicated HTTPS outcalls](https://forum.dfinity.org/t/non-replicated-https-outcalls/26627) or I’m sure they will be happy to share more information as well.

I would go with one of those solutions. However, if you are really looking for something else, like coding it yourself, you can have a look at my experiment where I coded some serverless functions on Firebase as a proxy. But that’s more for hacking around: [https://github.com/peterpeterparker/juno-openai](https://github.com/peterpeterparker/juno-openai)

---

<div class="post-metadata">

**Author:** ![NimaRa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nimara/32/22761_2.png) [@NimaRa](https://forum.dfinity.org/u/NimaRa)\
**Post date:** [July 5, 2024, 3:36pm UTC](https://forum.dfinity.org/t/ipv6-support-for-https-outcalls/32766/3 "2024-07-05T15:36:17Z")

</div>

Thanks for sharing these resources! They are exactly what I needed 😉

---

<div class="post-metadata">

**Author:** ![zensh](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/zensh/32/15359_2.png) [@zensh](https://forum.dfinity.org/u/zensh)\
**Post date:** [July 5, 2024, 3:50pm UTC](https://forum.dfinity.org/t/ipv6-support-for-https-outcalls/32766/4 "2024-07-05T15:50:33Z")

</div>

A online Cloudflare Worker version for testing is available at:

[https://idempotent-proxy-cf-worker.zensh.workers.dev](https://idempotent-proxy-cf-worker.zensh.workers.dev/)
