Hello,
I have updated my ejabberd server last night and disabled sslv3 and tlsv1. (So tls 1.1 and 1.2 are the only available login options)
Now i'm unable to connect with Miranda NG to my server.
I'm using:
Client Side:
* Windows 10 (but the Version information from Miranda reports Windows 8.1)
* Miranda NG ver 0.95.4.13028
* Jabber.dll 0.11.0.4
Server Side:
* ejabberd 15.10
Other clients like conversations or swift are able to connect to the server.
A netlog of a connection attempt (I changed the hostname):
Spoiler
[17:09:59 22F4] [JABBER_1] (1952) Connected to example.org:5222
[17:09:59 22F4] [JABBER_1] Thread type=0 server='example.org' port='5222'
[17:09:59 22F4] [JABBER_1] Stream is initializing after connect
[17:09:59 22F4] [JABBER_1] (02596B70:1952) Data sent
<?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns="jabber:client" to="example.org" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="de" version="1.0">
[17:09:59 22F4] [JABBER_1] Entering main recv loop
[17:09:59 22F4] [JABBER_1] (02596B70:1952) Data received
<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96187972' from='example.org' version='1.0' xml:lang='de'><stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='rBEUwDwH04kFUO/cy54wsfBQW4A='/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>
[17:09:59 22F4] [JABBER_1] recvResult = 409
[17:09:59 22F4] [JABBER_1] bytesParsed = 163
[17:09:59 22F4] [JABBER_1] bytesParsed = 246
[17:09:59 22F4] [JABBER_1] Requesting TLS
[17:09:59 22F4] [JABBER_1] (02596B70:1952) Data sent
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
[17:10:00 22F4] [JABBER_1] (02596B70:1952) Data received
<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
[17:10:00 22F4] [JABBER_1] recvResult = 50
[17:10:00 22F4] [JABBER_1] bytesParsed = 50
[17:10:00 22F4] [JABBER_1] Starting TLS...
[17:10:00 22F4] [JABBER_1] (1952 example.org) Starting SSL negotiation
[17:10:00 22F4] SSL Negotiation connection gracefully closed
[17:10:00 22F4] [JABBER_1] (1952 example.org) Failure to negotiate SSL connection
[17:10:00 22F4] [JABBER_1] SSL initialization failed
[17:10:00 22F4] [JABBER_1] (02596B70:1952) Data sent
</stream:stream>
[17:10:00 22F4] [JABBER_1] Netlib_Recv() failed, error=10058
[17:10:00 22F4] [JABBER_1] recvResult = 0
[17:10:00 22F4] [JABBER_1] Thread ended: type=0 server='example.org'
[17:10:00 22F4] [JABBER_1] (02596B70:1952) Connection closed internal
[17:10:00 22F4] [JABBER_1] (02596B70:4294967295) Connection closed
[17:10:00 22F4] [JABBER_1] Exiting ServerThread
Do you need anything more?
Can I help with something to resolve this?
Greetings Nagua
<<Edit 1:>>
Version information:
VersionInfo
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz [Intel64 Family 6 Model 94 Stepping 3] [DEP Enabled] [8 CPUs]
Installed RAM: 16308 MBytes
Operating System: Microsoft Windows 8.1 Professional Edition, 64-bit (build 9600)
Internet Explorer: 9.11.10240.16384 (build 910240)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : German/German | German/German
Free disk space on Miranda partition: 396681 MBytes
Miranda NG Version: 0.95.4 build #13028 x64
Build time: 1 Nov 2015 17:40:32
Profile: C:\Users\Nicolas\OneDrive\Applications\Miranda NG 64\Profiles\Nicolas\Nicolas.dat
Profile size: 65536 Bytes
Profile creation date: 1 Nov 2015 17:40:36
Language pack: No language pack installed
Service Mode: No
Active Plugins (18):
AdvaImg.dll v.0.11.0.2 [21 Apr 2015 23:00:17] - Miranda image services
AIM.dll v.0.11.0.1 [21 Apr 2015 22:59:38] - AIM protocol
AVS.dll v.0.95.3.4 [21 Apr 2015 22:59:14] - Avatar service
Clist_modern.dll v.0.9.1.3 [21 Apr 2015 23:03:46] - Modern contact list
Console.dll v.0.0.7.3 [22 Apr 2015 1:00:46] - Console
CrashDumper.dll v.0.0.5.2 [21 Apr 2015 23:05:00] - Crash dumper
Dbx_mmap.dll v.0.95.3.1 [21 Apr 2015 22:59:20] - Miranda NG mmap database driver
Facebook.dll v.0.2.10.8 [23 Jun 2015 12:05:52] - Facebook RM
GG.dll v.0.11.0.3 [21 Apr 2015 23:00:03] - Gadu-Gadu protocol
ICQ.dll v.0.11.3.2 [21 Apr 2015 23:00:29] - IcqOscarJ protocol
Import.dll v.0.95.4.2 [21 Apr 2015 22:59:14] - Import contacts and messages
IRC.dll v.0.11.0.3 [21 Apr 2015 23:00:04] - IRC protocol
Jabber.dll v.0.11.0.4 [21 Apr 2015 23:00:28] - Jabber protocol
MSN.dll v.0.11.1.2 [21 Apr 2015 23:00:37] - MSN protocol
PluginUpdater.dll v.0.1.2.4 [21 Apr 2015 23:05:51] - Plugin updater
TabSRMM.dll v.3.4.0.10 [21 Apr 2015 22:59:48] - TabSRMM
TopToolBar.dll v.0.8.0.4 [21 Apr 2015 23:03:21] - TopToolBar
Yahoo.dll v.0.11.0.1 [21 Apr 2015 23:00:10] - Yahoo protocol
Unloadable Plugins (1):
DbChecker.dll v.0.0.0.0 [21 Apr 2015 23:05:26] - <unknown>
Protocols and Accounts:
-------------------------------------------------------------------------------
AIM 0 - Enabled 0 - Disabled Loaded
Facebook 0 - Enabled 0 - Disabled Loaded
GG 0 - Enabled 0 - Disabled Loaded
ICQ 0 - Enabled 0 - Disabled Loaded
IRC 0 - Enabled 0 - Disabled Loaded
JABBER 1 - Enabled 0 - Disabled Loaded
MSN 0 - Enabled 0 - Disabled Loaded
YAHOO 0 - Enabled 0 - Disabled Loaded
MetaContacts 1 - Enabled 0 - Disabled Loaded
Icon Packs:
-------------------------------------------------------------------------------
Proto_AIM.dll [21 Apr 2015 23:03:23]
Proto_Facebook.dll [22 Apr 2015 1:03:22]
Proto_GG.dll [21 Apr 2015 23:03:24]
Proto_ICQ.dll [21 Apr 2015 23:03:25]
Proto_IRC.dll [21 Apr 2015 23:03:26]
Proto_Jabber.dll [21 Apr 2015 23:03:27]
Proto_MetaContacts.dll [21 Apr 2015 23:10:02]
Proto_MSN.dll [21 Apr 2015 23:03:27]
Proto_Yahoo.dll [21 Apr 2015 23:03:29]
TabSRMM_icons.dll [21 Apr 2015 23:06:05]
Toolbar_icons.dll [21 Apr 2015 23:03:30]
xStatus_ICQ.dll [21 Apr 2015 23:00:23]
xStatus_Jabber.dll [21 Apr 2015 23:00:31]
<<Edit 2:>>
Also tested with the current development version.
<<Edit 3:>>
Disabled no_tlsv1 and it is working now. So I guess it is not possible to connect with tls 1.1 or 1.2 with current miranda ng.
<<Edit 4:>>
There exists a patch to support tls 1.1 and tls 1.2 now: http://trac.miranda-ng.org/ticket/1080
So issue solved.