UWPX-Client
UWPX-Client copied to clipboard
CONNECT_TIMEOUT
Bevor you create a new issue:
- [ x ] I searched for similar issues and did not find one
- [ x ] I'm using the latest version available in the [Windows Store](https://www.microsoft.com/store/apps/9NW16X9JB5WV)
I'm submitting a...:
Bug report (I searched for similar issues and did not find one)
Current behavior:
Login fails with:
Environment:
App Version(s):
v.0.30.0.0 <!-- Which version of the App are you using (e.g. v.0.2.0) -->
Windows 10 Version Number: <!-- https://en.wikipedia.org/wiki/Windows_10_version_history -->
- [ ] 1809
- [ ] 1803
- [ ] 1709
- [ ] 1703
- [ ] 1607
- [ ] 1511
- [ ] 1507
- [ ] Insider Build (build number: )
- [ ] Misc:
- [ X ] 20H2
Device form factor:
- [ X ] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
Where did you got the APP from?
- [ X ] [Windows Store](https://www.microsoft.com/store/apps/9NW16X9JB5WV)
- [ ] Self-build, using a provided release source
- [ ] Self-build, repo cloned at [dd.mm.yyy] <!-- When did you clone the repo! -->
- [ ] Misc, got it from... <!-- Please tell us your source! -->
cur.log
[ERROR][08.01.2021 10:31:47]: [TcpConnection]: 2 try to connect to ||||.one failed: System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xad at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at XMPP_API.Classes.Network.TCP.TcpConnection.<ConnectInternalAsync>d__37.MoveNext() + 0x2cf
[INFO][08.01.2021 10:31:47]: [TcpConnection]: Starting delay between connection attempts... [DEBUG][08.01.2021 10:31:48]: [TcpConnection]: Starting a connection attempt. [ERROR][08.01.2021 10:31:51]: [TcpConnection]: 3 try to connect to ||||.one failed: System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xad at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at XMPP_API.Classes.Network.TCP.TcpConnection.<ConnectInternalAsync>d__37.MoveNext() + 0x2cf
[INFO][08.01.2021 10:31:51]: Started a reconnect timer for: ||||@||||.one [DEBUG][08.01.2021 10:31:51]: [XmppConnection] CONNECTING -> ERROR: [ConnectionError] SOCKET_ERROR: Unknown, ERROR_CODE: CONNECT_TIMEOUT, ERROR_MESSAGE: A task was canceled. [DEBUG][08.01.2021 10:31:51]: [TcpConnection] CONNECTING -> ERROR: [ConnectionError] SOCKET_ERROR: Unknown, ERROR_CODE: CONNECT_TIMEOUT, ERROR_MESSAGE: A task was canceled. [INFO][08.01.2021 10:31:54]: Reconnecting account: ||||@||||.one [DEBUG][08.01.2021 10:31:54]: [XmppConnection] ERROR -> CONNECTING:
[DEBUG][08.01.2021 10:31:54]: [TcpConnection] ERROR -> CONNECTING:
[DEBUG][08.01.2021 10:31:54]: [TcpConnection]: Starting a connection attempt. [ERROR][08.01.2021 10:31:57]: [TcpConnection]: 1 try to connect to ||||.one failed: System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xad at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at XMPP_API.Classes.Network.TCP.TcpConnection.<ConnectInternalAsync>d__37.MoveNext() + 0x2cf[INFO][08.01.2021 10:31:57]: [TcpConnection]: Starting delay between connection attempts... [DEBUG][08.01.2021 10:31:58]: [TcpConnection]: Starting a connection attempt. [ERROR][08.01.2021 10:32:01]: [TcpConnection]: 2 try to connect to ||||.one failed: System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xad at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at XMPP_API.Classes.Network.TCP.TcpConnection.<ConnectInternalAsync>d__37.MoveNext() + 0x2cf
[INFO][08.01.2021 10:32:01]: [TcpConnection]: Starting delay between connection attempts... [DEBUG][08.01.2021 10:32:02]: [TcpConnection]: Starting a connection attempt. [INFO][08.01.2021 10:32:04]: AppCenter analytics enabled. [INFO][08.01.2021 10:32:04]: AppCenter crash reporting enabled. [ERROR][08.01.2021 10:32:05]: Failed to calculate folder size for path: C:\Users\Lyn\Pictures\790FabianSauter.UWPXAlpha_s1c5dt7qckd0e!App\UWPX System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at UWPX_UI_Context.Classes.DataTemplates.Controls.FolderSizeControlDataTemplate.<>c__DisplayClass7_0.<<CalcFolderSizeAsync>b__0>d.MoveNext() + 0x121
[ERROR][08.01.2021 10:32:05]: [TcpConnection]: 3 try to connect to ||||.one failed: System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xad at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at XMPP_API.Classes.Network.TCP.TcpConnection.<ConnectInternalAsync>d__37.MoveNext() + 0x2cf
[INFO][08.01.2021 10:32:05]: Started a reconnect timer for: ||||@||||.one [DEBUG][08.01.2021 10:32:05]: [XmppConnection] CONNECTING -> ERROR: [ConnectionError] SOCKET_ERROR: Unknown, ERROR_CODE: CONNECT_TIMEOUT, ERROR_MESSAGE: A task was canceled. [DEBUG][08.01.2021 10:32:05]: [TcpConnection] CONNECTING -> ERROR: [ConnectionError] SOCKET_ERROR: Unknown, ERROR_CODE: CONNECT_TIMEOUT, ERROR_MESSAGE: A task was canceled.
Thanks for reporting and sharing the log! I've got a few additional questions:
- Are you trying to connect to a public XMPP server? If yes, which one?
- Are you sure you set the correct port?
- Are you able to connect with other clients like Dino, Gajim or Conversations?
- Could you please try to disable the tcp connection timeout via the debug settings and then reconnect (see the GIF bellow).

* Are you trying to connect to a public XMPP server? If yes, which one?
No.
* Are you sure you set the correct port?
Yes. (:xmpp)
* Are you able to connect with other clients like Dino, Gajim or Conversations?
Also, yes.
* Could you please try to disable the tcp connection timeout via the debug settings and then reconnect (see the GIF bellow).
Both enabled together did the trick!
Messages to my own account (or anyone's) don't seem to go out, encryption disabled for testing.
cur.log part with the same timestamp goes:
[INFO][09.01.2021 11:44:18]: Enter down.
[DEBUG][09.01.2021 11:44:18]: Sending message (encrypted=False): test
[WARN][09.01.2021 11:44:18]: [XMPPConnection2]: Did not send message, due to connection state is DISCONNECTED
<message from="|||||@||||||.one/UWPX_2023505800" to="||||@||||.one" type="chat">
<body>test</body>
<origin-id id="f5ad9530-8574-45c9-87e2-618b6aaaa835" xmlns="urn:xmpp:sid:0" />
<request xmlns="urn:xmpp:receipts" />
</message>