Subject: ClosedChannelException
My project type is Xamarin (Framework: .NET Standard 2.0). I need to have XMPP functionality and for this I am using the Matrix vNext library. I have already deployed ejabberd on an AWS (Ubuntu) instance. I have used independent chat clients like Pandion, Pidgin, and so on, and they're all logging in to my server fine.
When I try to log in using the same credentials like so:
I get the following exception:
Any help will be appreciated. Thanks.
When I try to log in using the same credentials like so:
- Username = "user_id",
- Password = "password",
- XmppDomain = "example.com",
- Resource = "my_res",
- Port = 5222,
- };
- // Handlers for presence and messages here
- await _xmppClient.ConnectAsync ();
- await _xmppClient.SendPresenceAsync (Show.Chat, "READY");
I get the following exception:
DotNetty.Transport.Channels.ClosedChannelException: 'I/O error occurred.'
Any help will be appreciated. Thanks.
This post was edited on 2020-01-22, 11:38 by Alex.