Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(socat): handle ipv6 and ipv4 communication from socat to runner #333

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

ogirardot
Copy link

@ogirardot ogirardot commented Jun 13, 2024

What

When trying to use Airbyte in an IPV6 enabled kubernetes cluster the socat process fails with

socat[8] N reading from and writing to stdio
socat[8] E TCP: wrong number of parameters (9 instead of 2)
socat[8] N exit(1)

This PR fixes that using the TCP6:[IP]:port syntax when identifying an IPV6 address for the original process runner host.

How

By checking the process runner host to check if it is an Ipv6 or Ipv4 format

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@CLAassistant
Copy link

CLAassistant commented Jun 13, 2024

CLA assistant check
All committers have signed the CLA.

…runner

When trying to use Airbyte in an IPV6 enabled kubernetes cluster the socat process fails
with E TCP: wrong number of parameters (9 instead of 2).
This PR fixes that using the TCP6:[IP]:port syntax when identifying an IPV6 address for
the original process runner host.
@xorl
Copy link
Contributor

xorl commented Aug 22, 2024

+1 on this, I wrote a patch for internal testing twice now on two separate pull requests. This needs more attention and a fix so we do not have to manually patch it internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants