i have no idea where the ip address 167.71.25.147 comes from. I can only assume it is cached somewhere from a previous demo container.
I dont even have a container running on that IP, web or database
Could this be a failed update on a JSON file somewhere?
I have now switched from “db_connection” to “temp” and the page works correctly so i guess the issue relates to the configuration of db_connection specifically
@Hyperbytes - Hi Brian, not sure of Beta 3 fixed the issue for you. I can’t get it to work. I tried changing the remote to host.docker.internal, but no success.
Working for me, I was using a docker container to host web and mysql, and a second for couch. Had to change host in settings for both containers. I did it manually so don’t know if wappler does it automatically in beta 3
When you are having a docker project in Wappler when you have both database and web running together on the same server then the docker host names are being used because both the db and web instances are running together on the same internal network - so host names like db just works.
When you are running docker locally and you are using global database for multiple projects then the database service is running on its own private network so it’s only accessible by the special internal docker localhost called host.docker.internal
In the latest beta 3 when you edit the server connect database connection and you have chosen to use a cloud provider (even local one) then the right host name will be chosen when you create new database connection or edit existing one.
sorry @George but this does not seem to be fixed in Beta 3. I updated on Thursday but this is the first chance I have had to continue with current video project
Here is my connection showing host.docker.internal
But if i perform a query, in this case a simple query direct from workflows, it appears to still be looking for 127.0.0.1 rather than the local couch docker containers address.
I now find all my pouch/couch actions are failing in my demo app and strangely in the app no messages are seen in the dev console, not even 500 messages, when using insert/update/delete
I have checked the JSON config files and they appear correct
Are you sure the server connect connection is all saved with the new settings on the right target ? As it seems it is still using the old 127.0.0.1 address
Looks good to me is the CouchDB service running? Can you open it in the browser? There it should be with the 127.0.0.1 address or click on the admin dashboard button in the properties
And bizarrely, having come back into office, switched on computer again and started wappler, it has started to work!
On a serious note, this sort of reenforces a phenomena i have observed where the settings seem to change randomly and connections seem to “drop out” from time to time.
I will start running in debug mode and try to capture such an event