Jump to content
  • 0

[RESOLVED] Linux server


XFallSeane

Question

Hi, i have a VPS on Ubuntu 18.

I want turn my intersect Server on this server.

But when i launch the server with the command line "mono "Intersect Server.exe"" the server is launched but immediatly down !

With this error :

 

Quote

2019-10-16 16:14:36.764 [Error] Received unhandled exception from .

--------------------------------------------------------------------------------
2019-10-16 16:14:36.775 [Error] 
  Message: Packet received out-of-order. Expected 0; got 1.
    Stack:   at MySqlConnector.Protocol.Serialization.ProtocolUtility.DoReadPayloadAsync (MySqlConnector.Protocol.Serialization.BufferedByteReader bufferedByteReader, MySqlConnector.Protocol.Serialization.IByteHandler byteHandler, System.Func`1[TResult] getNextSequenceNumber, MySqlConnector.Protocol.Serialization.ArraySegmentHolder`1[T] previousPayloads, MySqlConnector.Protocol.Serialization.ProtocolErrorBehavior protocolErrorBehavior, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior) [0x0000f] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySqlConnector.Protocol.Serialization.ProtocolUtility.ReadPayloadAsync (MySqlConnector.Protocol.Serialization.BufferedByteReader bufferedByteReader, MySqlConnector.Protocol.Serialization.IByteHandler byteHandler, System.Func`1[TResult] getNextSequenceNumber, MySqlConnector.Protocol.Serialization.ArraySegmentHolder`1[T] cache, MySqlConnector.Protocol.Serialization.ProtocolErrorBehavior protocolErrorBehavior, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior) [0x00006] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySqlConnector.Protocol.Serialization.StandardPayloadHandler.ReadPayloadAsync (MySqlConnector.Protocol.Serialization.ArraySegmentHolder`1[T] cache, MySqlConnector.Protocol.Serialization.ProtocolErrorBehavior protocolErrorBehavior, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior) [0x00000] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySqlConnector.Core.ServerSession.ReceiveReplyAsync (MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior, System.Threading.CancellationToken cancellationToken) [0x00006] in <8374bbf19e594728a1b47761e8392b81>:0 
--- End of stack trace from previous location where exception was thrown ---

  at MySqlConnector.Core.ServerSession.TryAsyncContinuation (System.Threading.Tasks.Task`1[TResult] task) [0x00021] in <8374bbf19e594728a1b47761e8392b81>:0 
  at (wrapper delegate-invoke) System.Func`2[System.Threading.Tasks.Task`1[System.ArraySegment`1[System.Byte]],MySqlConnector.Protocol.PayloadData].invoke_TResult_T(System.Threading.Tasks.Task`1<System.ArraySegment`1<byte>>)
  at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.Tasks.Task.Execute () <0x7f257de180e0 + 0x00039> in <285579f54af44a2ca048dad6be20e190>:0 
--- End of stack trace from previous location where exception was thrown ---

  at MySqlConnector.Core.ServerSession.ConnectAsync (MySqlConnector.Core.ConnectionSettings cs, MySqlConnector.Core.ILoadBalancer loadBalancer, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior, System.Threading.CancellationToken cancellationToken) [0x00360] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySql.Data.MySqlClient.MySqlConnection.CreateSessionAsync (System.Nullable`1[T] ioBehavior, System.Threading.CancellationToken cancellationToken) [0x0025a] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySql.Data.MySqlClient.MySqlConnection.OpenAsync (System.Nullable`1[T] ioBehavior, System.Threading.CancellationToken cancellationToken) [0x000bc] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00017] in <8374bbf19e594728a1b47761e8392b81>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnection (System.Boolean errorsExpected) [0x00061] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open (System.Boolean errorsExpected) [0x0002a] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlDatabaseCreator+<>c__DisplayClass18_0.<Exists>b__0 (System.DateTime giveUp) [0x00012] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions+<>c__DisplayClass12_0`2[TState,TResult].<Execute>b__0 (Microsoft.EntityFrameworkCore.DbContext c, TState s) [0x00000] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.Execute[TState,TResult] (TState state, System.Func`3[T1,T2,TResult] operation, System.Func`3[T1,T2,TResult] verifySucceeded) [0x00011] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult] (Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy strategy, System.Func`2[T,TResult] operation, System.Func`2[T,TResult] verifySucceeded, TState state) [0x0001f] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult] (Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy strategy, TState state, System.Func`2[T,TResult] operation) [0x00000] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlDatabaseCreator.Exists (System.Boolean retryOnNotExists) [0x00034] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlDatabaseCreator.Exists () [0x00000] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists () [0x0000b] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrations () [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00010] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Intersect.Server.DbInterface.InitDatabase () [0x0018f] in <c9507855f5e44870b9975eb763bbcbda>:0 
  at Intersect.Server.Core.Bootstrapper.PostContextSetup () [0x00001] in <c9507855f5e44870b9975eb763bbcbda>:0 
  at Intersect.Server.Core.Bootstrapper.Start (System.String[] args) [0x00024] in <c9507855f5e44870b9975eb763bbcbda>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <285579f54af44a2ca048dad6be20e190>:0 


--------------------------------------------------------------------------------
2019-10-16 16:15:21.992 [Error] Received unhandled exception from .

--------------------------------------------------------------------------------
2019-10-16 16:15:22.001 [Error] 
  Message: Packet received out-of-order. Expected 0; got 1.
    Stack:   at MySqlConnector.Protocol.Serialization.ProtocolUtility.DoReadPayloadAsync (MySqlConnector.Protocol.Serialization.BufferedByteReader bufferedByteReader, MySqlConnector.Protocol.Serialization.IByteHandler byteHandler, System.Func`1[TResult] getNextSequenceNumber, MySqlConnector.Protocol.Serialization.ArraySegmentHolder`1[T] previousPayloads, MySqlConnector.Protocol.Serialization.ProtocolErrorBehavior protocolErrorBehavior, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior) [0x0000f] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySqlConnector.Protocol.Serialization.ProtocolUtility.ReadPayloadAsync (MySqlConnector.Protocol.Serialization.BufferedByteReader bufferedByteReader, MySqlConnector.Protocol.Serialization.IByteHandler byteHandler, System.Func`1[TResult] getNextSequenceNumber, MySqlConnector.Protocol.Serialization.ArraySegmentHolder`1[T] cache, MySqlConnector.Protocol.Serialization.ProtocolErrorBehavior protocolErrorBehavior, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior) [0x00006] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySqlConnector.Protocol.Serialization.StandardPayloadHandler.ReadPayloadAsync (MySqlConnector.Protocol.Serialization.ArraySegmentHolder`1[T] cache, MySqlConnector.Protocol.Serialization.ProtocolErrorBehavior protocolErrorBehavior, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior) [0x00000] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySqlConnector.Core.ServerSession.ReceiveReplyAsync (MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior, System.Threading.CancellationToken cancellationToken) [0x00006] in <8374bbf19e594728a1b47761e8392b81>:0 
--- End of stack trace from previous location where exception was thrown ---

  at MySqlConnector.Core.ServerSession.TryAsyncContinuation (System.Threading.Tasks.Task`1[TResult] task) [0x00021] in <8374bbf19e594728a1b47761e8392b81>:0 
  at (wrapper delegate-invoke) System.Func`2[System.Threading.Tasks.Task`1[System.ArraySegment`1[System.Byte]],MySqlConnector.Protocol.PayloadData].invoke_TResult_T(System.Threading.Tasks.Task`1<System.ArraySegment`1<byte>>)
  at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.Tasks.Task.Execute () <0x7ff3a92180e0 + 0x00039> in <285579f54af44a2ca048dad6be20e190>:0 
--- End of stack trace from previous location where exception was thrown ---

  at MySqlConnector.Core.ServerSession.ConnectAsync (MySqlConnector.Core.ConnectionSettings cs, MySqlConnector.Core.ILoadBalancer loadBalancer, MySqlConnector.Protocol.Serialization.IOBehavior ioBehavior, System.Threading.CancellationToken cancellationToken) [0x00360] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySql.Data.MySqlClient.MySqlConnection.CreateSessionAsync (System.Nullable`1[T] ioBehavior, System.Threading.CancellationToken cancellationToken) [0x0025a] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySql.Data.MySqlClient.MySqlConnection.OpenAsync (System.Nullable`1[T] ioBehavior, System.Threading.CancellationToken cancellationToken) [0x000bc] in <8374bbf19e594728a1b47761e8392b81>:0 
  at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00017] in <8374bbf19e594728a1b47761e8392b81>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnection (System.Boolean errorsExpected) [0x00061] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open (System.Boolean errorsExpected) [0x0002a] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlDatabaseCreator+<>c__DisplayClass18_0.<Exists>b__0 (System.DateTime giveUp) [0x00012] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions+<>c__DisplayClass12_0`2[TState,TResult].<Execute>b__0 (Microsoft.EntityFrameworkCore.DbContext c, TState s) [0x00000] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.Execute[TState,TResult] (TState state, System.Func`3[T1,T2,TResult] operation, System.Func`3[T1,T2,TResult] verifySucceeded) [0x00011] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult] (Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy strategy, System.Func`2[T,TResult] operation, System.Func`2[T,TResult] verifySucceeded, TState state) [0x0001f] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult] (Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy strategy, TState state, System.Func`2[T,TResult] operation) [0x00000] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlDatabaseCreator.Exists (System.Boolean retryOnNotExists) [0x00034] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlDatabaseCreator.Exists () [0x00000] in <772dbf3fff974ba18af6d091d2f0b1d3>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists () [0x0000b] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrations () [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00010] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Intersect.Server.DbInterface.InitDatabase () [0x0018f] in <c9507855f5e44870b9975eb763bbcbda>:0 
  at Intersect.Server.Core.Bootstrapper.PostContextSetup () [0x00001] in <c9507855f5e44870b9975eb763bbcbda>:0 
  at Intersect.Server.Core.Bootstrapper.Start (System.String[] args) [0x00024] in <c9507855f5e44870b9975eb763bbcbda>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <285579f54af44a2ca048dad6be20e190>:0 


--------------------------------------------------------------------------------
 

 

Do you have a solution ? 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

If the same version of Intersect and Ubuntu work, then the problem is probably the version of the DB the connector is trying to connect to.

 

@Devo Can you post what version of MySQL you are using for the server, and whether or not it's MariaDB or normal MySQL?

Link to comment
Share on other sites

  • 0
20 minutes ago, panda said:

If the same version of Intersect and Ubuntu work, then the problem is probably the version of the DB the connector is trying to connect to.

 

@Devo Can you post what version of MySQL you are using for the server, and whether or not it's MariaDB or normal MySQL?

 

Hello, it's a MariaDB that is the problem ? 

 

EDIT :
THAT WORK ! It's secure connection to my database if ip it's non autorized the database not work !

That good

Link to comment
Share on other sites

  • 0
18 hours ago, panda said:

If the same version of Intersect and Ubuntu work, then the problem is probably the version of the DB the connector is trying to connect to.

 

@Devo Can you post what version of MySQL you are using for the server, and whether or not it's MariaDB or normal MySQL?

 

I used MariaDB 10.4.8 for this test.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...