Good morning,
last monday (19/10/2026) we change our internet connection.
Due to this change our static ip is changed.
Now, in short, i have a "very simple" server program running on server.
I have change the old ip address with a new one and i run the server program.
When i run the client program with a new ip address i got this error:
First chance exception at $000000748F52F574. Exception class ERemoteDBRequestException with message
'RemoteDB request error: http://xxx.xxx.x.xxx:2001/tms/remotedb/config500
Exception Class: Exception
Message: Invalid Operation : -208'.
Due the fact that olnly the ip is changed, what i miss in order to work again?
Thank you so much for your help
I don't know what this error means, actually. And it's not 100% clear to me what you did. You changed the IP of your internet connection? What does it have to do with RemoteDB server or the client IP?
Do you have the call stack of the running application at the moment of the error, so we have a better idea where this error comes from?
Good morning Wagner,
to be honest .... i do not expected something like that .... because i changed the ip address two time in the past and nothing happend. Anyway ... now happend and this is a very bad situation for me.
Now i'm writing a new server side application starting from the wizard with RemoteDB Vcl Server.
In the generated TDataModule i added a FireDac connection (FDC), i configured it to work with my db and setting the TRemoteDbServer.BaseUrl:='http://123.456.789.10:2001/tms/remotedb' where 123.456.789.10 is my server ip adderss.
When i run the program, it wait for connection and when the client try to connect i got this error:
I tryed to use the standard "remotedb" and "business" as username and login without result so, i tryed to set, in server application, RemoteDBServer.Username and RemoteDBServer.Password other values and set it in client application with no result (meaning login failed).
Just few questions:
How i can set user name and password on server application (i set it in datamodule create event) ?
In order to debug the server application how is possible run server application in "local" and run the client application on the same pc ? (now i run the server application with "run without debugging" with baseurl "http://127.0.0.1:2001/tms/remotedb/" but when i try to connect i got
Project WFEye2.apk raised exception class EJNIException with message 'java.io.IOException: unexpected end of stream on com.android.okhttp.Address@7c5c60de'.
I think becauuse the client program try to connect on the same pc
Can you give me the rigth way on how to connect the client application with the server one?
If is necessary, i can send you the two test projects.
I think first you need to try to isolate the problem as there are too many variables involved.
Is what i try to do !!!!
Run server locally and client locally (same computer). Does it work?
This is the problem i have.
I'm not able to run on the same pc.
Now i try to work with the example (server/client) in remotedb example directory but i have a problem with the client side.
The server start and run but i have some problem with the client.
Can you help me in order to setup (in a correct way) both programs ?
Your client looks like Android app.
Correct.
Use a regular simple Win32 app to try to connect to the server. Does it work?
Good morning Wagner,
in order to give you a better view, here the remotedbtest with the file how i use in my test.
Is included a little database (firebird 2.5 and it's .dll file).
Here the link to the zipped file. https://we.tl/t-QYjyZHuwFW3xeRAH
Hope this can help you to ..... in order to help me !!!
Your project works just fine here. I just had to change the database, as I couldn't connect to it. I configured to another database, ran the server, the client, and everything connects fine.
Good morning Wagner,
your news for me is a very bad news because the project does not work again ...
So i change and back to old "way".
I made a new project using "old" remoted server (New, Others, TmsBusiness, Tms RemoteDB Server Application).
With this way now server start and the client side (in local test, as same pc and windows 32bit application) connect to server.
Now i have a little problem.
If i try to change, on the client side, the login username and password as
RemoteDBDatabase1.UserName:='test';
RemoteDBDatabase1.Password:='test';
i got the error 401 "autentication failed"
But if i set
RemoteDBDatabase1.UserName:='remotedb';
RemoteDBDatabase1.Password:='business';
all works good.
Excuse me for the "banal" queston ...
How is possible change username and password on server side where is present
Aurelius connection
FireDac connection
I think there's a way to set username and password in Aurelius Connection ...
The user name and password is not for Aurelius connection, but the RemoteDB Server. The credentials you set in RemoteDBDatabase1 must match what you set in RemoteDBServer1 server-side.
Good morning Wagner,
after long test now i create the base for a new "server".
The server run under windows server 19 and, under develop, windows 11 pro and it's run.
The client run in local (same pc) and under android .... and in a very simple test run on both sides.
Now a new question ....
On server side, how i can check the user credential there is a remotedbserver event for this?