Issue Details (XML | Word | Printable)

Key: DNET-719
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jiri Cincura
Reporter: Felix Martinez
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

Connection rejected by remote interface - Firebird 1.5 on Linux Server

Created: 17/Nov/16 08:35 PM   Updated: 21/Apr/17 05:11 PM
Component/s: None
Affects Version/s: 5.6.0.0
Fix Version/s: 5.8.1.0

Environment: Linux Server with Centos 6.5, Firebird 1.5.6.5026-0.i686


 Description  « Hide
ErrorCode: 335544421
Number: 335544421, Class: 0, Line: 0
ErrorMessage: connection rejected by remote interface

It seems hapen when try to get version at Connection

My Connection String
string connectionString =
                @"
                Server=localhost;
                User=SYSDBA;
                Password=masterkey;
                Database=192.168.1.100:/home/dbs/data.fdb;
                Port=3050;
                Dialect=3;
                Charset=NONE;
                Connection lifetime=0;
                Packet Size=8192;
                ServerType=0;";


With same connection string and Firebird version on any Windows based server it works.

I know Firebird version is old but is in production environment.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jiri Cincura added a comment - 18/Nov/16 08:30 AM
Can you post whole stack trace.

Felix Martinez added a comment - 21/Nov/16 08:15 PM - edited
C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionInternal.cs:línea 182
   en FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Pool.CreateNewConnection(FbConnectionString connectionString) en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionPoolManager.cs:línea 166
   en FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Pool.CreateNewConnectionIfPossibleImpl(FbConnectionString connectionString) en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionPoolManager.cs:línea 202
   en FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Pool.GetConnection(FbConnection owner) en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionPoolManager.cs:línea 106
   en FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Get(FbConnectionString connectionString, FbConnection owner) en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionPoolManager.cs:línea 221
   en FirebirdSql.Data.FirebirdClient.FbConnection.Open() en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnection.cs:línea 520
   en LibNodrix.Domains.Conexion.GetConnect() en C:\Dev\LibNodrix\Domains\Conexion.cs:línea 35


Another trace

      en FirebirdSql.Data.Client.Managed.GdsConnection.Identify(String database) en C:\Dev\FirebirdSql.Data.FirebirdClient\Client\Managed\GdsConnection.cs:línea 195
   en FirebirdSql.Data.FirebirdClient.ClientFactory.CreateManagedDatabase(FbConnectionString options) en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\ClientFactory.cs:línea 68
   en FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options) en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\ClientFactory.cs:línea 33
   en FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() en C:\Dev\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionInternal.cs:línea 164


Felix Martinez added a comment - 22/Nov/16 06:05 PM
Better format

No se controló FirebirdSql.Data.FirebirdClient.FbException
  _HResult=-2147467259
  _message=connection rejected by remote interface
  HResult=-2147467259
  IsTransient=false
  Message=connection rejected by remote interface
  Source=FirebirdSql.Data.FirebirdClient
  ErrorCode=335544421
  SQLSTATE=08004
  StackTrace:
       en FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() en C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionInternal.cs:línea 182
       en FirebirdSql.Data.FirebirdClient.FbConnection.Open() en C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnection.cs:línea 518
       en LibNodrix.Controller.FacturacionGlobalController.ObtenerDatos() en c:\Dev\Controller\FacturacionGlobalController.cs:línea 27
       en UtilsNodrix.Views.FacturaGlobal.ReactivarTickets() en c:\Dev\Views\FacturaGlobal.cs:línea 45
       en UtilsNodrix.Program.Main(String[] args) en c:\Dev\Program.cs:línea 15
       en System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       en System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       en Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       en System.Threading.ThreadHelper.ThreadStart()
  InnerException: FirebirdSql.Data.Common.IscException
       _HResult=-2146233088
       HResult=-2146233088
       IsTransient=false
       Message=connection rejected by remote interface
       Source=FirebirdSql.Data.FirebirdClient
       ErrorCode=335544421
       IsWarning=false
       SQLSTATE=08004
       StackTrace:
            en FirebirdSql.Data.Client.Managed.GdsConnection.Identify(String database) en C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\Client\Managed\GdsConnection.cs:línea 228
            en FirebirdSql.Data.FirebirdClient.ClientFactory.CreateManagedDatabase(FbConnectionString options) en C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\ClientFactory.cs:línea 62
            en FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options) en C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\ClientFactory.cs:línea 33
            en FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() en C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbConnectionInternal.cs:línea 164
       InnerException:

Felix Martinez added a comment - 21/Apr/17 05:11 PM
Fixed on version 5.8.1.0
Thank you!