-
July 15th, 2019, 03:47 PM
#1
Error using newer dotnet adapter library with old LS server
We're in the process of updating our LS server to the latest version (currently on 5.1.1 build 1623.2), but to do that we need to first update our dotnet adapters to the newer LS adapter library (as the one we were using doesn't work with the new LS server). Because our site can't be down we want to do this in 2 steps where first we update our adapters to the new version, and then subsequently we update our LS servers to the new version. But we're getting errors when using the new adapter library with the older LS server. Errors are:
13-Jul-19 16:02:11,331|WARN |ghtstreamerLogger.connections.ssl|NIO READ SELECTOR 2 |TLS/SSL read error: Insufficient buffer remaining for AEAD cipher fragment (2). Needs to be more than or equal to IV size (8) + tag size (16) on 10.40.10.69:61269.
The adapter library we're using is: 1.7.0.0 DotNetAdapter_N2.dll
I understand that we're running a really old version of LS server, but I can't seem to find any information that indicates that the newer adapter library wouldn't be compatible.
Even running our adapters with the new adapter library and the new LS server we get these errors:
15.Jul.19 17:39:20,886 <ERROR> Got fatal error from the inner Proxy Metadata Adapter
com.lightstreamer.adapters.proxy.RemotingException : Unexpected end of reply stream reached
at com.lightstreamer.adapters.proxy.request_reply.Not ifyReceiver.run(NotifyReceiver.java:110)
Caused by: java.io.EOFException: null
... 1 common frames omitted
Last edited by BKnight; July 15th, 2019 at 04:15 PM.
-
July 16th, 2019, 09:12 AM
#2
Hi Dan,
Indeed, I have to confirm that newer adapter libraries could have compatibility constraints and new libraries may not work properly with older server versions.
In this specific case, if I understood correctly, you are trying to update to the Lightstreamer .NET Adapter API version 1.11.
This version is compatible with Adapter Remoting Infrastructure (ARI) since version 1.8 (https://www.lightstreamer.com/repo/d...et/Version.txt) which in turn is compatible with Lightstreamer Server since version 7.0 (https://www.lightstreamer.com/repo/d...re/Version.txt).
I am aware that is little tricky to got that, I am sorry for that.
So you should check out every compatibility notes in the ARI changelog (https://www.lightstreamer.com/repo/d...GELOG.HTML#ari) from your version that is 1.4.3 to the last.
Having said that, have you tried using your adapters as they are without recompiling and with the old library?
Regards,
Giuseppe
-
July 16th, 2019, 10:25 PM
#3
Thanks Giuseppe,
Looks like we're just going to have to upgrade the server and adapter library at the same time. A little more complicated for us, but doable.
I've also noticed using the new server and the new adapter library that occasionally we get these (as warnings):
NIO CHECK SELECTOR 1
TLS/SSL read error: closing inbound before receiving peer's close_notify
Anything to worry about?
-
July 17th, 2019, 08:42 AM
#4
Hi Dan,
This message could be considered harmless if sporadic (for your information we are considering to downgrade this log message to info level).
But please also consider that with the latest versions of Lightstreamer server the factory configuration of https is more severe with regard of protocols and cipher suites considered by now too weak.
Please refer to the settings for <remove_cipher_suites> and <remove_protocols> and note that this may be too restrictive for some old user agents.
Regards,
Giuseppe
Similar Threads
-
By cgeo in forum Adapter SDKs
Replies: 4
Last Post: January 24th, 2019, 11:16 AM
-
By gdelprete in forum Client SDKs
Replies: 2
Last Post: March 6th, 2013, 02:39 PM
-
By VietXuan in forum Adapter SDKs
Replies: 3
Last Post: November 5th, 2007, 09:41 AM
-
By rsouissi in forum Client SDKs
Replies: 1
Last Post: August 27th, 2007, 11:24 AM
-
By shobha in forum Adapter SDKs
Replies: 4
Last Post: August 13th, 2007, 01:32 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:26 PM.
Bookmarks