Area: Deployment Issues
Sub-Area: Corporate Proxy / Network Configuration Blocking AI Chat (Ask DataHub)
Applies to: Cloud
Issue
Ask DataHub (the AI chat feature) in a DataHub Cloud instance shows this message instead of an answer:
Oops! An unexpected error occurred. 🥹 Please try again in a little while.
Some users see a pattern: the first message after opening the chat page works, and later messages fail. Opening the chat page again gives one more working message. This is one possible pattern. It points to a network device that closes the streaming connection, but it does not prove it.
You Might Be Asking
- Why does Ask DataHub show "Oops! An unexpected error occurred"?
- Why does the chat work on the first question and fail on later ones?
- Could a corporate proxy, SSL inspection tool or Secure Web Gateway cause this?
- How do I check whether my network is interfering with Ask DataHub?
- Why is Ask DataHub not visible in the UI at all?
Cause
Ask DataHub is a DataHub Cloud-only feature in Public Beta. The UI sends each message as a POST request to /openapi/v1/ai-chat/message on your instance. The answer streams back as Server-Sent Events (content type text/event-stream). The server keeps each stream open for up to 30 minutes and sends keepalive comments.
A proxy, SSL inspection tool or gateway between the browser and DataHub can buffer or close a long-lived streaming response. That can produce this error.
The error text alone does not identify a proxy. The UI shows the same generic text for other non-429 errors too. For HTTP 429, the UI shows the server's message instead. Check the browser's network activity (see the Solution) before you change network settings.
Solution
-
Check the symptom pattern. Note whether the first message works and later messages fail, and whether reopening the chat page resets it. This pattern is one possible sign of interference. It is not conclusive.
-
Capture the request in your browser.
- Open DevTools (
F12, orCmd+Option+Ion Mac). - Open the Network tab and select Preserve log.
- Filter on
/openapi/v1/ai-chat/message. - Reproduce the error.
- Look at the status, the response and the connection state of the failing request. The browser console also logs
=== CHAT STREAM ERROR! ===when the chat stream hits an error. - If you need to share the capture with your network team or DataHub Support, export it as a HAR file from the Network tab.
A response that ends right away, or arrives only after the whole answer is ready, points to something on the network path. An HTTP error status points to a different cause. Include the status in any request to DataHub Support.
- Open DevTools (
-
Ask your network or IT team to check the path. Look at SSL/TLS inspection proxies, Secure Web Gateway (SWG) or zero-trust agents, firewalls and transparent proxies between your users and
https://<your-instance>.acryl.io. A VPN client that appears to be off may still leave traffic going through a corporate gateway. -
Change the browser-facing proxy configuration. For your DataHub Cloud hostname, ask your team to apply one or more of these:
- Bypass SSL inspection for the hostname.
- Add a policy exception so streaming responses pass through without buffering.
- Allow connections to stay open for up to 30 minutes.
NO_PROXYonly affects command-line tools. It does not change browser traffic. For browsers, use a PAC file, the operating system proxy settings, or the SWG or SSL-inspection bypass. A PAC example (syntax varies by vendor):function FindProxyForURL(url, host) { if (host == "<your-instance>.acryl.io") { return "DIRECT"; } return "PROXY proxy.example.com:8080"; } -
Validate. Open Ask DataHub and send several messages in a row without leaving the page. Confirm that every answer streams back.
If Ask DataHub does not appear in the UI at all, this article does not apply. Contact DataHub Support about enabling it on your instance. Ask DataHub appears in the Chat tab of the left navigation.