-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Cannot proxy to Mariadb instance #228
Comments
@vnxme Just a quick thought as a side-note: I wonder if instead of @ydylla Do you think this is fixed by one of the proposed patches? Seems like it shouldn't be waiting to match in this case. |
@mholt, I've certainly thought about it. Decided to avoid using In this case we could also use a shorter syntax:
|
Thanks. 😃 Since all the big changes lately I'm a little behind on side-effects. I appreciate your help! |
Could you add a boolean tag I think it would prevent other users from encountering this unexpected situation. I spent time in debugging if the containers are connected, if there are network errors etc. If |
@KevinBLT FIY, it's also fixed here, build caddy by |
Yes, it is working! Thanks :) |
Hey... maybe I am missing something but since the L4 Module seems to wait for a byte to be sent and is not opening a proxy connection until that moment it will not recieve the mariadb greeting session hence the client also waits until the connection is closed due to a timeout since nobody actually talked.
I tested with telnet:
When I just try to connect... it will close after:
WARN layer4 matching connection {"remote": "192.168.65.1:53364", "error": "aborted matching according to timeout"}
If I am fast enough to just send random bytes (like here
text
) MariaDB will answer with its greeting but of course terminate because just sent some garbage in its view.What can I do? Is there a buffer value? Anything related to it?
Caddyfile:
The text was updated successfully, but these errors were encountered: