Coder Social home page Coder Social logo

Comments (31)

sochix avatar sochix commented on August 21, 2024

Don't get your problem. Do you finish starter guide?

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

yes,
api id, hash has been set.
server address given from telegram is 149.154.167.40 on port 443 (test configuration). is that true?
this ip has been set on tcptransport.cs
The error is in line: var hash = await client.SendCodeRequest(NumberToAuthenticate);

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

dear sochix
I set folowing parameter:

  1. Api id and Hashcode of application.
  2. server IP address given from telegram (149.154.167.40 or 149.154.167.50)
  3. Telegram sent me a code during test and I set it but the error is before "var code= " line.

I have error yet.

from tlsharp.

sochix avatar sochix commented on August 21, 2024

What test you running? Can you please post stacktrace here. Also you need to enter the code you recieved in 120 sec, that's might be a reason

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

te.processhost.managed.exe' (CLR v4.0.30319: Domain 16): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.UnitTestFramework\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'G:\TLSharp2\TLSharp-master\TLSharp.Tests\bin\Debug\TLSharp.Tests.dll'. Symbols loaded.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'G:\TLSharp2\TLSharp-master\TLSharp.Tests\bin\Debug\TLSharp.Core.dll'. Symbols loaded.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Loaded 'G:\TLSharp2\TLSharp-master\TLSharp.Tests\bin\Debug\Ionic.ZLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll
Exception thrown: 'System.NotImplementedException' in TLSharp.Core.dll
'te.processhost.managed.exe' (CLR v4.0.30319: Domain 16): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.UnitTestFramework\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'G:\TLSharp2\TLSharp-master\TLSharp.Tests\bin\Debug\TLSharp.Tests.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'G:\TLSharp2\TLSharp-master\TLSharp.Tests\bin\Debug\TLSharp.Core.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'
'te.processhost.managed.exe' (CLR v4.0.30319: UnitTestAdapter: Running test): Unloaded 'G:\TLSharp2\TLSharp-master\TLSharp.Tests\bin\Debug\Ionic.ZLib.dll'
The thread 0x1fe8 has exited with code 0 (0x0).
'te.processhost.managed.exe' (CLR v4.0.30319: Domain 17): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\TE.Managed.Manager.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Wex.Logger.Interop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\TE.RockSteadyHost.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Microsoft.VisualStudio.TestPlatform.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x1494 has exited with code 0 (0x0).
'te.processhost.managed.exe' (CLR v4.0.30319: Domain 18): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\TE.Managed.Manager.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Wex.Logger.Interop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\TE.RockSteadyHost.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Microsoft.VisualStudio.TestPlatform.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.Measurement\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.Measurement.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Microsoft.VisualStudio.TestPlatform.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.GenericTestAdapter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.OrderedTestAdapter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TfsLogger.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TimelineLogger.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TmiAdapter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.Common\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TrxLogger.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'E:\PROGRAM FILES\VS2015\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.UnitTestFramework\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'te.processhost.managed.exe' (CLR v4.0.30319: E:\PROGRAM FILES\VS2015\COMMON7\IDE\EXTENSIONS\MICROSOFT\WEB TOOLS\DNX\Microsoft.VisualStudio.Web.UnitTest.TestAdapter.dll): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0xfb8 has exited with code 0 (0x0).
The thread 0x1a6c has exited with code 0 (0x0).
The program '[4720] te.processhost.managed.exe' has exited with code 0 (0x0).
The program '[4720] te.processhost.managed.exe: Program Trace' has exited with code 0 (0x0).

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

Test Name: AuthUser
Test FullName: TLSharp.Tests.NotificatioClientTests.AuthUser
Test Source: G:\TLSharp2\TLSharp-master\TLSharp.Tests\NotificatioClientTests.cs : line 30
Test Outcome: Failed
Test Duration: 0:00:01.0623764

Result StackTrace:
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt64()
at TLSharp.Core.Network.MtProtoSender.DecodeMessage(Byte[] body) in G:\TLSharp2\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 107
at TLSharp.Core.Network.MtProtoSender.d__8.MoveNext() in G:\TLSharp2\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 131
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at TLSharp.Core.TelegramClient.<Connect>d__7.MoveNext() in G:\TLSharp2\TLSharp-master\TLSharp.Core\TelegramClient.cs:line 42 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at TLSharp.Tests.NotificatioClientTests.d__13.MoveNext() in G:\TLSharp2\TLSharp-master\TLSharp.Tests\NotificatioClientTests.cs:line 33
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Result Message:
Test method TLSharp.Tests.NotificatioClientTests.AuthUser threw exception:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

from tlsharp.

nejc-skerjanc avatar nejc-skerjanc commented on August 21, 2024

same problem here...

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

My App Config on telegram:
appconfig

from tlsharp.

sochix avatar sochix commented on August 21, 2024

You post two different stacktraces. In first you get NotSupportedException in second EndOfStreamException.

Try to remove session.dat and rerun test.

In every strange situation remove session.dat :)

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

the first is output
and 2nd is trace stack

from tlsharp.

nejc-skerjanc avatar nejc-skerjanc commented on August 21, 2024

Session.dat will be created after first successfull response. So i cant remove that file. I think this is not a problem:(

from tlsharp.

nejc-skerjanc avatar nejc-skerjanc commented on August 21, 2024

My stacktrace after failed test:

Result StackTrace:
at TLSharp.Core.Network.MtProtoSender.HandleRpcResult(UInt64 messageId, Int32 sequence, BinaryReader messageReader, MTProtoRequest request) in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 272
at TLSharp.Core.Network.MtProtoSender.processMessage(UInt64 messageId, Int32 sequence, BinaryReader messageReader, MTProtoRequest request) in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 185
at TLSharp.Core.Network.MtProtoSender.d__8.MoveNext() in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 136
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at TLSharp.Core.TelegramClient.<SendCodeRequest>d__10.MoveNext() in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\TelegramClient.cs:line 68 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at TLSharp.Tests.NotificatioClientTests.d__13.MoveNext() in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Tests\NotificatioClientTests.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Result Message:
Test method TLSharp.Tests.NotificatioClientTests.AuthUser threw exception:
System.InvalidOperationException: PHONE_MIGRATE_4

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

Removing session.dat cause program pass CONNECT function but the error is still exist.

Test Name: AuthUser
Test FullName: TLSharp.Tests.NotificatioClientTests.AuthUser
Test Source: G:\TLSharp2\TLSharp-master\TLSharp.Tests\NotificatioClientTests.cs : line 30
Test Outcome: Failed
Test Duration: 0:00:02.142427

Result StackTrace:
at System.IO.MemoryStream.InternalReadInt32()
at System.IO.BinaryReader.ReadInt32()
at TLSharp.Core.Requests.AuthSendCodeRequest.OnResponse(BinaryReader reader) in G:\TLSharp2\TLSharp-master\TLSharp.Core\Requests\AuthSendCodeRequest.cs:line 42
at TLSharp.Core.Network.MtProtoSender.HandleRpcResult(UInt64 messageId, Int32 sequence, BinaryReader messageReader, MTProtoRequest request) in G:\TLSharp2\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 291
at TLSharp.Core.Network.MtProtoSender.processMessage(UInt64 messageId, Int32 sequence, BinaryReader messageReader, MTProtoRequest request) in G:\TLSharp2\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 185
at TLSharp.Core.Network.MtProtoSender.d__8.MoveNext() in G:\TLSharp2\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 136
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at TLSharp.Core.TelegramClient.<SendCodeRequest>d__10.MoveNext() in G:\TLSharp2\TLSharp-master\TLSharp.Core\TelegramClient.cs:line 68 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at TLSharp.Tests.NotificatioClientTests.d__13.MoveNext() in G:\TLSharp2\TLSharp-master\TLSharp.Tests\NotificatioClientTests.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Result Message:
Test method TLSharp.Tests.NotificatioClientTests.AuthUser threw exception:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

from tlsharp.

sochix avatar sochix commented on August 21, 2024

This stacktrace, means that you should change address in TCpTransport to server4.

My stacktrace after failed test:

Result StackTrace:

at TLSharp.Core.Network.MtProtoSender.HandleRpcResult(UInt64 messageId, Int32 sequence, BinaryReader messageReader, MTProtoRequest request) in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 272
at TLSharp.Core.Network.MtProtoSender.processMessage(UInt64 messageId, Int32 sequence, BinaryReader messageReader, MTProtoRequest request) in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 185
at TLSharp.Core.Network.MtProtoSender.d__8.MoveNext() in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs:line 136
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at TLSharp.Core.TelegramClient.d__10.MoveNext() in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Core\TelegramClient.cs:line 68 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at TLSharp.Tests.NotificatioClientTests.d__13.MoveNext() in C:\Users\NejcWin10\Desktop\TLSharp-master\TLSharp.Tests\NotificatioClientTests.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Result Message:
Test method TLSharp.Tests.NotificatioClientTests.AuthUser threw exception:
System.InvalidOperationException: PHONE_MIGRATE_4

from tlsharp.

nejc-skerjanc avatar nejc-skerjanc commented on August 21, 2024

Thank you:)

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

What 's the server4 IP?

from tlsharp.

nejc-skerjanc avatar nejc-skerjanc commented on August 21, 2024

Test IP: 149.154.167.40 and port 443
Production IP: 149.154.167.50 and port 443

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

that 's right

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

but I have problem.

Test method TLSharp.Tests.NotificatioClientTests.AuthUser threw exception:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream

from tlsharp.

nejc-skerjanc avatar nejc-skerjanc commented on August 21, 2024

I also have that problem on production server IP. Server's response is buffer filled with 0 (length: 16).

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

how i can fix this problem

from tlsharp.

brawaru avatar brawaru commented on August 21, 2024

@m6amiri, I'm not sure, but look in #1

from tlsharp.

sochix avatar sochix commented on August 21, 2024

What 's the server4 IP?
Server 4 IP is address that you got after InitConnectionRequest.

Server 1: 149.154.175.50:443
Server 2: 149.154.167.51:443
Server 3: 149.154.175.100:443
Server 4: 149.154.167.91:443
Server 5: 91.108.56.165:443

from tlsharp.

m6amiri avatar m6amiri commented on August 21, 2024

I fixed it. My debugger did'nt puase on beakpoint in line var code="123".
I added a code (in my own) before that so that the breakpoint could stop there.
and my problem solved.
thank you very much

from tlsharp.

moradifx avatar moradifx commented on August 21, 2024

image

my error is var user = await client.MakeAuth(NumberToAuthenticate, hash, code);

        Assert.IsNotNull(user);

not get user

from tlsharp.

brawaru avatar brawaru commented on August 21, 2024

@moradifx, make breakboint at "var code = ..." and change code, to code, which you get by Telegram and run test again

from tlsharp.

moradifx avatar moradifx commented on August 21, 2024

i do this work , but await client.MakeAuth(NumberToAuthenticate, hash, code); return error
code and hassh and number is ok and is set

from tlsharp.

brawaru avatar brawaru commented on August 21, 2024

@moradifx, https://core.telegram.org/api/errors#400-bad-request
"PHONE_NUMBER_UNOCCUPIED: The phone number is not yet being used"

from tlsharp.

moradifx avatar moradifx commented on August 21, 2024

my error is phone_number_unoccupid

from tlsharp.

moradifx avatar moradifx commented on August 21, 2024

"PHONE_NUMBER_UNOCCUPIED: The phone number is not yet being used" whats means ???

from tlsharp.

moradifx avatar moradifx commented on August 21, 2024

What should I do to fix this error

from tlsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.