Receiving error from recently deployed remote target (getaddrinfo EAI_AGAIN db)

I recently setup a remote server and database using the Wappler Resouce Manager and added them in a new Target for my project. During the process the Direct Database Connection was not populated, so I entered the connection details manually.


I can view the remote db tables and create records within the Database Manager, so I know the connection and DB are functioning.

But when I attempt to interact with the remote server via my mobile app I receive the getaddrinfo EAI_AGAIN db error.

{status: "500", code: "EAI_AGAIN", message: "getaddrinfo EAI_AGAIN db",…}
code: "EAI_AGAIN"
message: "getaddrinfo EAI_AGAIN db"
stack: "Error: getaddrinfo EAI_AGAIN db\n    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)"
status: "500"

Strangely, the Global Database Connection in Server Actions has the local development server db values. Should these be automatically updated to the remote db server values I set for the new target?

Updating the values in the Global Database Connection db was the fix.

Maybe this is similar problem as:

and will be solved in the next update

1 Like

Fixed in Wappler 5.5.2

This topic was automatically closed after 26 hours. New replies are no longer allowed.