-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] MySQL/MariaDB Hostname is seemingly ignored completely. Error message shows it trying to connect to local internet hostname (selfhosted) or one of the whitelist IPs (cloud version). #3615
Comments
@jontstaz hi, we;ve fixed this issue, please recreate the resource and try again. We sincerely apologize for the inconvenience caused by the bug. |
Hi, I just tried on the cloud version but I'm still getting the same error. I haven't tried the selfhosted version yet. Did you fix it on both? |
@jontstaz Hi, I'm sure I fixed it on both ends. For self-hosting, please try using the Docker image "illa-builder:v4.2.1". Kindly note that the resource needs to be recreated for the changes to take effect. |
@jontstaz Hi, does it work? |
@karminski - Hi, I can confirm it's still not working on Illa Cloud, not is it working on the self-hosted version. I made sure to pull the exact version you stated, Docker Image Cloud Version (as you can see, the IP Very strange situation, I'm sure others who also use AWS' RDS databases would be facing identical issues. Would be great to see this fixed. |
@jontstaz Hello, please give it another try. We have made some attempts to resolve the issues. We use several database drivers, some of which require the connection DSN to be escaped, while others do not. Initially, we faced some challenges when dealing with the escape method. However, we have managed to solve it now. |
Hi again @karminski , Unfortunately not. I just tested the cloud version again and I'm still facing the identical error. It's still showing that it's replacing my AWS RDS host with one of the IPs from the whitelist on the right-hand-side.. I'm yet to test the self-hosted version again. Update: just pulled the latest self-hosted docker image and sadly I'm facing the same error. The issue seems not to be fixed. |
@jontstaz Could you please modify the MySQL instance to have a simple password (using only [A-Za-z0-9] characters), and then check if the issue is caused by a connection DSN password escape problem? |
@jontstaz Hello, I have successfully set up an AWS RDS instance and it is functioning perfectly with illa action. About AWS RDS config: I have created an instance with the following information: (I have already deleted this instance after testing) The Secure Group settings are: |
Description
Illa seemingly disregards the MySQL/MariaDB hostname and instead attempts to connect to one of the whitelist IPs (cloud) or your local hostname (self-hosted) instead...
Steps to reproduce
xxxxxxxxxxxx.xxxxx.ap-southeast-1.rds.amazonaws.com
test resource connection error: Error 1045 (28000): Access denied for user 'root'@'146.190.0.234' (using password: YES)
where146.190.0.234
is, extremely confusingly, one of the IPs from theAllow IP addresses
list.test resource connection error: Error 1045 (28000): Access denied for user 'root'@'123-123-123-12.my-local-hostname.com' (using password: YES)
where123-123-123-12.my-local-hostname.com
is your local hostname.It seems there are some big problems with how the MySQL and MariaDB resource connections are setup. Despite what you put in the Hostname box, it seems to completely disregard it and then it attempts to connect to a (non-existent) MySQL instance on one of the Illa cloud whitelist IPs, or your local hostname on the self-hosted version. Why it would behave in such a way is completely beyond me and is extremely confusing to say the least. I'm surprised there aren't more issues about this. Perhaps the Hostname box is only configured to work with IP addresses and the bug only occurs when using an actual hostname as opposed to an IP address for the MySQL host.
Version
cloud
ILLA Builder Version
4.18
Browser
Edge, Chrome, Firefox
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: