Comments (31)
Don't get your problem. Do you finish starter guide?
from tlsharp.
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.
dear sochix
I set folowing parameter:
- Api id and Hashcode of application.
- server IP address given from telegram (149.154.167.40 or 149.154.167.50)
- 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.
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.
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.
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.TaskAwaiter
1.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.
same problem here...
from tlsharp.
from tlsharp.
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.
the first is output
and 2nd is trace stack
from tlsharp.
Session.dat will be created after first successfull response. So i cant remove that file. I think this is not a problem:(
from tlsharp.
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.TaskAwaiter
1.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.
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.TaskAwaiter
1.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.
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.
Thank you:)
from tlsharp.
What 's the server4 IP?
from tlsharp.
Test IP: 149.154.167.40 and port 443
Production IP: 149.154.167.50 and port 443
from tlsharp.
that 's right
from tlsharp.
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.
I also have that problem on production server IP. Server's response is buffer filled with 0 (length: 16).
from tlsharp.
how i can fix this problem
from tlsharp.
@m6amiri, I'm not sure, but look in #1
from tlsharp.
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.
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.
my error is var user = await client.MakeAuth(NumberToAuthenticate, hash, code);
Assert.IsNotNull(user);
not get user
from tlsharp.
@moradifx, make breakboint at "var code = ..." and change code, to code, which you get by Telegram and run test again
from tlsharp.
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.
@moradifx, https://core.telegram.org/api/errors#400-bad-request
"PHONE_NUMBER_UNOCCUPIED: The phone number is not yet being used"
from tlsharp.
my error is phone_number_unoccupid
from tlsharp.
"PHONE_NUMBER_UNOCCUPIED: The phone number is not yet being used" whats means ???
from tlsharp.
What should I do to fix this error
from tlsharp.
Related Issues (20)
- Where does the library receive updates?
- How cloud I answer the inline button send by bot HOT 1
- how to get current user whene use Session
- How do I schedule a channel message to be sent (Add to Schedule List)?
- how to use TLRequestGetFullUser ? error {"USER_ID_INVALID"}
- How I can keep login after close my windows app? HOT 1
- System.InvalidOperationException: 'USER_BOT' HOT 1
- Search members in group by member's name
- How do I create a new Channel? HOT 4
- Getting an error when calling SearchUserAsync HOT 1
- How to read mesages from telegram to receive code login
- LIMIT_INVALID
- ession problem
- Session problem
- Push notifications example
- Read messages from user chat (not channel)
- Is this project being maintained? HOT 1
- How to Use TorSharp and TLsharp together
- How can I send a message to a Number that is NOT in my contacts? HOT 1
- How to edit the image of a group? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tlsharp.