[firebird-support] Firebird client connection timeout

2019-12-31 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hi all! Is there a way to set connection timeout for firebird at client side? The default value is somewhere around 50 seconds and if i have wrong IP address set up in connection parameters then the application will freeze for almost a minute before it gives an error message that it couldn't con

Re: [firebird-support] Firebird client connection timeout

2019-12-31 Thread Tray nvat...@yahoo.com [firebird-support]
It sounds like connection pooling is being used such as odbc,  keeping 5 connections open for reuse. To avoid this, you must change the connection string to contain something new. This avoids the connection pooling process. Example adding something as simple as time with seconds to a connection st

Re: [firebird-support] Firebird client connection timeout

2020-01-01 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 31/12/2019 12:40, Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support] wrote: > Is there a way to set _connection timeout_ for firebird _at client side_? [..] > At server side there is a ConnectionTimeout parameter, but it does not > help me in this case (when i try to connect to an

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Andrei Luís compuvale.softw...@gmail.com [firebird-support]
Hello, I'm having the same problem. Already set ConnectionTimeout = 5 in firebird.conf, restarted the FB service, and the connect try is going so far from that. I'm using FB 2.5. Is there anything else to set? []s Andrei Em qua., 1 de jan. de 2020 às 05:33, Mark Rotteveel m...@lawinegevaar.nl [

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 10-03-2020 14:41, Andrei Luís compuvale.softw...@gmail.com [firebird-support] wrote: > I'm having the same problem. Already set ConnectionTimeout = 5 in > firebird.conf, restarted the FB service, and the connect try is going so > far from that. I'm using FB 2.5. Is there anything else to set?

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Andrei Luís compuvale.softw...@gmail.com [firebird-support]
Hi Mark, thanks for your answer. Sorry for my lack of infos, I read your previous message before post my message here. I'm testing this in the my dev machine, I configured ConnectionTimeout in the firebird.conf file in the physical machine, and configured it in the virtual machine I use (VirtualBo

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 10-03-2020 15:21, Andrei Luís compuvale.softw...@gmail.com [firebird-support] wrote: > Sorry for my lack of infos, I read your previous message before post my > message here. I'm testing this in the my dev machine, I configured > ConnectionTimeout in the firebird.conf file in the physical mac

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Andrei Luís compuvale.softw...@gmail.com [firebird-support]
Server side fbclient.dll = C:\Program Files (x86)\Firebird\Firebird_2_5\bin and c:\Windows\SysWOW64 firebird.conf = C:\Program Files (x86)\Firebird\Firebird_2_5 Client side fbclient.dll = C:\Program Files\Firebird\Firebird_2_5\bin and c:\Windows\System32 firebird.conf = C:\Program Files\Fireb

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 10-03-2020 15:33, Andrei Luís compuvale.softw...@gmail.com [firebird-support] wrote: > > > Server side > fbclient.dll = C:\Program Files (x86)\Firebird\Firebird_2_5\bin   and > c:\Windows\SysWOW64 > firebird.conf = C:\Program Files (x86)\Firebird\Firebird_2_5 > > > Client side > fbclient

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Andrei Luís compuvale.softw...@gmail.com [firebird-support]
Just did that. Still the same. []s Andrei Em ter., 10 de mar. de 2020 às 11:35, Mark Rotteveel m...@lawinegevaar..nl [firebird-support] escreveu: > On 10-03-2020 15:33, Andrei Luís compuvale.softw...@gmail.com > [firebird-support] wrote: > > > > > > Server side > > fbclient.dll = C:\Program Fi

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 10-03-2020 15:40, Andrei Luís compuvale.softw...@gmail.com [firebird-support] wrote: > Just did that. Still the same. Check if your client application has its own fbclient.dll, and put a firebird.conf in the same directory as that fbclient.dll. Mark -- Mark Rotteveel

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Andrei Luís compuvale.softw...@gmail.com [firebird-support]
No, there wasn't. I copied fbclient.dll and firebird to the application folder. Still the same! []s Andrei Em ter., 10 de mar. de 2020 às 11:44, Mark Rotteveel m...@lawinegevaar..nl [firebird-support] escreveu: > On 10-03-2020 15:40, Andrei Luís compuvale.softw...@gmail.com > [firebird-support

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 10-03-2020 15:46, Andrei Luís compuvale.softw...@gmail.com [firebird-support] wrote: > No, there wasn't. I copied fbclient.dll and firebird to the application > folder. Still the same! Well, as far as I know, this should work. Is your Windows 32 bit or 64 bit, and is your application 32 bit

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Andrei Luís compuvale.softw...@gmail.com [firebird-support]
Hi Mark, Application is 32bits Server side is running Win 64 and Firebird 32 bits Client side is running Win 32 Yes, I removed # in firebird.conf I'm using IBObjects and fbclient.dll. Well, in a few hours I'll try with a physical client wachine, instead into VirtualBox, maybe there something co

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
10.03.2020 15:57, Mark Rotteveel m...@lawinegevaar.nl [firebird-support] wrote: > On 10-03-2020 15:46, Andrei Luís compuvale.softw...@gmail.com > [firebird-support] wrote: > > No, there wasn't. I copied fbclient.dll and firebird to the application > > folder. Still the same! > > Well, as far as

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 10-03-2020 17:44, Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] wrote: > 10.03.2020 15:57, Mark Rotteveel m...@lawinegevaar.nl [firebird-support] > wrote: >> On 10-03-2020 15:46, Andrei Luís compuvale.softw...@gmail.com >> [firebird-support] wrote: >> > No, there wasn't. I copied

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
10.03.2020 18:32, Mark Rotteveel m...@lawinegevaar.nl [firebird-support] wrote: > Then the setting shouldn't be called ConnectionTimeout in my opinion. In > any case, why can't Firebird do this, when for example Java has no > problem with using a connection timeout for sockets? Java can pretend

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread Andrei Luís compuvale.softw...@gmail.com [firebird-support]
Hummm, I think Dimitry is right. I made some tests here on client side: server IP: 10.0.2.2 path: d:\database.fdb Using connection string: 10.0.2.2:d:\database.fdb Correct IP and correct path, the connect is made instantly Using connection string: 10.0.2.2:d:\data.fdb Correct IP and wrong pa

Re: [firebird-support] Firebird client connection timeout

2020-03-10 Thread liviuslivius liviusliv...@poczta.onet.pl [firebird-support]
I do not remember from memory but look for "netsh" commandRegards,Karol Bieniaszewski null

Re: [firebird-support] Firebird client connection timeout

2020-03-11 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 2020-03-10 20:14, Andrei Luís compuvale.softw...@gmail.com [firebird-support] wrote: > Hummm, I think Dimitry is right. I made some tests here on client > side: > > server IP: 10.0.2.2 > path: d:\database.fdb > > Using connection string: 10.0.2.2:d:\database.fdb Correct IP and > correct pa