Error setting up MySQL source in Airbyte running on Kubernetes

Summary

The user is facing a 504 error when setting up a MySQL source in Airbyte running on Kubernetes. The error message indicates an issue with instantiating the SourceApi bean. The user has confirmed correct network connectivity between the Kubernetes cluster and the VM where MySQL is running.


Question

Hello ,
I have airbyte running in kubernates(aks
I want to set up mysql source, I have vnet peering between kubernates cluster and a VM where mysql container is running
I am getting 504 error when I setup source

Here is logs of source-mysql-check pod which is created when I press set up source


Message: For input string: "//airbyte-airbyte-server-svc"
Path Taken: new ConnectorWatcher(Path outputPath,String configDir,int fileTimeoutMinutes,ConnectorMessageProcessor connectorMessageProcessor,AirbyteMessageSerDeProvider serDeProvider,AirbyteProtocolVersionedMigratorFactory airbyteProtocolVersionedMigratorFactory,GsonPksExtractor gsonPksExtractor,WorkloadApiClient workloadApiClient,JobOutputDocStore jobOutputDocStore) --> new ConnectorWatcher(Path outputPath,String configDir,int fileTimeoutMinutes,[ConnectorMessageProcessor connectorMessageProcessor],AirbyteMessageSerDeProvider serDeProvider,AirbyteProtocolVersionedMigratorFactory airbyteProtocolVersionedMigratorFactory,GsonPksExtractor gsonPksExtractor,WorkloadApiClient workloadApiClient,JobOutputDocStore jobOutputDocStore) --> new ConnectorMessageProcessor([ConnectorConfigUpdater connectorConfigUpdater],SourceApi sourceApi) --> new ConnectorConfigUpdater([SourceApi sourceApi],DestinationApi destinationApi) --> ApiClientBeanFactory.sourceApi([ApiClient apiClient])```
I have checked network connectivity between k8 cluster and VM it is correct.
could anyone help me with this?
Thank you in advance

<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/p1729496920662299) if you want 
to access the original thread.

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

<sub>
["airbyte", "mysql-source", "kubernetes", "504-error", "network-connectivity", "sourceapi"]
</sub>

we are getting same error even while connecting from airbyte-on-k8s to mongo on an external VM… in both cases, connector-sidecar container is throwing error while connecting to “//airbyte-airbyte-server-svc” … Why is it not correctly connecting to “http://airbyte-airbyte-server-svc:8001” even though i can see the INTERNAL_API_HOST env variable is correctly configured with that url… Appreciate tips to solve this problem !!

Hi,
I was able to fix it
The issue was releated to my configuration of airbyte with k8 cluster
I was using a different version
It is working in 0.64.7 version