Error 504 Gateway Time-out when using Terraform Provider to create connections

Summary

When running Terraform Apply to create connections using the Terraform Provider, an error with status code 504 Gateway Time-out is encountered, resulting in a failure to invoke the API.


Question

Using the Terraform Provider to create connections, and I keep getting when I run a Terraform Apply

│ <html>
│ <head><title>504 Gateway Time-out</title></head>
│ <body>
│ <center><h1>504 Gateway Time-out</h1></center>
│ </body>
│ </html>
│ 
╵
╷
│ Error: failure to invoke API```

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1730170628541329) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["terraform-provider", "create-connections", "error-504", "gateway-time-out", "api"]
</sub>

From time to time I have similar issue with UI and only on Chrome; annoying, but minor thing

Configuration looks fine, you don’t have any load balancer in front of ingress?

yes - I just updated the idle_timeout parameter, and it seems to be working now :keanu-thanks:

Still seeing the issue even though I’ve added this to the values.yaml and to <http://ingress.networking.k8s.io/ingress-abctl|ingress.networking.k8s.io/ingress-abctl>

I also see it when just trying to create workspaces

your airbyte terraform provider is configured like this?

  server_url = "<https://your-airbyte-server/api/public/v1>"
} ```
what do you get for `kubectl describe ingress ingress-abctl -n airbyte-abctl`?
Labels:           &lt;none&gt;
Namespace:        airbyte-abctl
Address:          <http://10.BB.BB.BB|10.BB.BB.BB>
Ingress Class:    nginx
Default backend:  &lt;default&gt;
Rules:
  Host        Path  Backends
  ----        ----  --------
  *
              /   airbyte-abctl-airbyte-webapp-svc:http (<http://10.BB.BB.BB:8080|10.BB.BB.BB:8080>)
Annotations:  <http://nginx.ingress.kubernetes.io/proxy-connect-timeout|nginx.ingress.kubernetes.io/proxy-connect-timeout>: 300
              <http://nginx.ingress.kubernetes.io/proxy-read-timeout|nginx.ingress.kubernetes.io/proxy-read-timeout>: 1800
              <http://nginx.ingress.kubernetes.io/proxy-send-timeout|nginx.ingress.kubernetes.io/proxy-send-timeout>: 1800
Events:       &lt;none&gt;```

Also, getting this from the UI after a while

Refreshing removes it and goes back to login screen