Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.InvalidOperationException: Couldn't read the packet length when trying to run AuthUser test in macOS #22

Open
knocte opened this issue Sep 15, 2020 · 11 comments

Comments

@knocte
Copy link
Member

knocte commented Sep 15, 2020

System.InvalidOperationException : Couldn't read the packet length
Stack trace:
  at TgSharp.Core.Network.TcpTransport.Receive (System.Threading.CancellationToken token) [0x000d5] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/Network/TcpTransport.cs:59 
  at TgSharp.Core.Network.MtProtoSender.Receive (TgSharp.TL.TLMethod request, System.Threading.CancellationToken token) [0x0003a] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/Network/MtProtoSender.cs:144 
  at TgSharp.Core.TelegramClient.RequestWithDcMigration (TgSharp.TL.TLMethod request, System.Threading.CancellationToken token) [0x0010d] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/TelegramClient.cs:178 
  at TgSharp.Core.TelegramClient.SendCodeRequestAsync (System.String phoneNumber, System.Threading.CancellationToken token) [0x0009b] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/TelegramClient.cs:208 
  at TgSharp.Tests.TgSharpTests.AuthUser () [0x000cd] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Tests/TgSharpTests.cs:129 
  at TgSharp.Tests.TgSharpTestsNUnit.AuthUser () [0x00020] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Tests.NUnit/Test.cs:21 
  at TgSharp.Core.Network.TcpTransport.Receive (System.Threading.CancellationToken token) [0x000d5] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/Network/TcpTransport.cs:59 
  at TgSharp.Core.Network.MtProtoSender.Receive (TgSharp.TL.TLMethod request, System.Threading.CancellationToken token) [0x0003a] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/Network/MtProtoSender.cs:144 
  at TgSharp.Core.TelegramClient.RequestWithDcMigration (TgSharp.TL.TLMethod request, System.Threading.CancellationToken token) [0x0010d] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/TelegramClient.cs:178 
  at TgSharp.Core.TelegramClient.SendCodeRequestAsync (System.String phoneNumber, System.Threading.CancellationToken token) [0x0009b] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Core/TelegramClient.cs:208 
  at TgSharp.Tests.TgSharpTests.AuthUser () [0x000cd] in /Users/knocte/Documents/Code/TgSharpLAITEUX/src/TgSharp.Tests/TgSharpTests.cs:129 
  at NUnit.Framework.AsyncInvocationRegion+AsyncTaskInvocationRegion.WaitForPendingOperationsToComplete (System.Object invocationResult) [0x0003c] in <65d21fba48bf4534bebbb82a4e22f339>:0 
  at NUnit.Core.NUnitAsyncTestMethod.RunTestMethod () [0x00013] in <65d21fba48bf4534bebbb82a4e22f339>:0 
@aarani

This comment has been minimized.

@knocte

This comment has been minimized.

@aarani

This comment has been minimized.

@aarani

This comment has been minimized.

@Laiteux

This comment has been minimized.

@knocte

This comment has been minimized.

@knocte

This comment has been minimized.

@aarani

This comment has been minimized.

@knocte

This comment has been minimized.

@aarani

This comment has been minimized.

@aarani

This comment has been minimized.

knocte added a commit that referenced this issue Oct 16, 2020
One of the problems is related to [1] so if that bug
happens again, now we'll have more info.

[1] #22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants