Opened 7 years ago

Last modified 23 months ago

#12623 new defect

Sametime not working with Sametime Server 8.5.1

Reported by: kay1234 Owned by: siege
Milestone: Component: Sametime
Version: 2.7.3 Keywords:
Cc: ildar

Description

Pidgin reports "Version mismatch" when trying to connect to a Sametime 8.5.1 Server.

Change History (18)

comment:1 follow-up: Changed 7 years ago by ckempo

Same for me, only happened in the last 24 hours so assume the sametime server's been updated over the weekend. Debug log looks like this, will get a proper backtrace if I get chance later on:

(08:40:51) account: Connecting to account Sametime.
(08:40:51) connection: Connecting. gc = 03511A08
(08:40:51) meanwhile: adding cipher RC2/40 Cipher
(08:40:51) meanwhile: adding cipher RC2/128 Cipher
(08:40:51) sametime: user: 'My Name'
(08:40:51) sametime: host: 'sametime.server.address.here'
(08:40:51) sametime: port: 1533
(08:40:51) sametime: client id: 0x1002
(08:40:51) sametime: client major: 0x001e
(08:40:51) sametime: client minor: 0x196f
(08:40:51) dnsquery: Performing DNS lookup for sametime.server.address.here
(08:40:51) dnsquery: IP resolved for sametime.server.address.here
(08:40:51) proxy: Attempting connection to 123.123.123.123
(08:40:51) proxy: Connecting to sametime.server.address.here:1533 with no proxy
(08:40:51) proxy: Connection in progress
(08:40:51) proxy: Connecting to sametime.server.address.here:1533.
(08:40:51) proxy: Connected to sametime.server.address.here:1533.
(08:40:51) meanwhile: session state: starting
(08:40:51) meanwhile: session state: handshake sent
(08:40:52) meanwhile: session state: handshake acknowledged
(08:40:52) meanwhile: session state: login sent
(08:40:52) meanwhile: session state: login acknowledged
(08:40:52) meanwhile: starting service File Transfer
(08:40:52) meanwhile: started service File Transfer
(08:40:52) meanwhile: starting service Instant Messaging
(08:40:52) meanwhile: started service Instant Messaging
(08:40:52) meanwhile: starting service Places Conferencing
(08:40:52) meanwhile: started service Places Conferencing
(08:40:52) meanwhile: starting service Presence Awareness
(08:40:52) meanwhile: channel 0x00000001 state: waiting
(08:40:52) meanwhile: channel 0x00000001 state: initializing
(08:40:52) meanwhile: channel 0x00000001 state: waiting
(08:40:52) meanwhile: starting service Basic Conferencing
(08:40:52) meanwhile: started service Basic Conferencing
(08:40:52) meanwhile: starting service User Storage
(08:40:52) meanwhile: channel 0x00000002 state: waiting
(08:40:52) meanwhile: channel 0x00000002 state: initializing
(08:40:52) meanwhile: channel 0x00000002 state: waiting
(08:40:52) meanwhile: starting service Identity Resolution
(08:40:52) meanwhile: channel 0x00000003 state: waiting
(08:40:52) meanwhile: channel 0x00000003 state: initializing
(08:40:52) meanwhile: channel 0x00000003 state: waiting
(08:40:52) meanwhile: session state: started
(08:40:52) sametime: Set status to Available
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) meanwhile: queue_outgoing, channel 0x00000001
(08:40:52) sametime: PURPLE_PRIVACY_ALLOW_ALL
(08:40:52) connection: Activating keepalive.
(08:40:52) meanwhile: session state: stopping (0x80000200)
(08:40:52) connection: Connection error on 03511A08 (reason: 16 description: Version mismatch)
(08:40:52) meanwhile: stopping service File Transfer
(08:40:52) meanwhile: stopped service File Transfer
(08:40:52) meanwhile: stopping service Instant Messaging
(08:40:52) meanwhile: stopped service Instant Messaging
(08:40:52) meanwhile: stopping service Places Conferencing
(08:40:52) meanwhile: stopped service Places Conferencing
(08:40:52) meanwhile: stopping service Presence Awareness
(08:40:52) meanwhile: channel 0x00000001 state: closing
(08:40:52) sametime: write returned -1, 20 bytes left unwritten
(08:40:52) meanwhile: stopped service Presence Awareness
(08:40:52) meanwhile: stopping service Basic Conferencing
(08:40:52) meanwhile: stopped service Basic Conferencing
(08:40:52) meanwhile: stopping service User Storage
(08:40:52) meanwhile: channel 0x00000002 state: closing
(08:40:52) sametime: write returned -1, 20 bytes left unwritten
(08:40:52) meanwhile: stopped service User Storage
(08:40:52) meanwhile: stopping service Identity Resolution
(08:40:52) meanwhile: channel 0x00000003 state: closing
(08:40:52) sametime: write returned -1, 20 bytes left unwritten
(08:40:52) meanwhile: stopped service Identity Resolution
(08:40:52) sametime: write returned -1, 20 bytes left unwritten
(08:40:52) meanwhile: session state: stopped (0x80000200)
(08:40:52) account: Disconnecting account Craig Kempson (00EF8600)
(08:40:52) connection: Disconnecting connection 03511A08
(08:40:52) connection: Deactivating keepalive.
(08:40:52) sametime: aborting save of blist: storage service is not alive
(08:40:52) meanwhile: attempted to stop session that is already stopped/stopping
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
(08:40:52) meanwhile:  removing CN=Contact name,OU=XXXX,O=XXX, (null)
-* Removed multiple repeats of the above message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) meanwhile: collecting dead attributes
(08:40:52) meanwhile:  removing 0x00000001
(08:40:52) meanwhile:  removing 0x00000002
(08:40:52) meanwhile:  removing 0x00000003
(08:40:52) meanwhile:  removing 0x00000004
(08:40:52) meanwhile:  removing 0x00000006
(08:40:52) meanwhile: bring out your dead *clang*
-* Removed multiple repeats of the "removing" message *-
(08:40:52) connection: Destroying connection 03511A08

Have no idea if this is of any use or not.

comment:2 in reply to: ↑ 1 ; follow-up: Changed 7 years ago by kay1234

According to the Lotus Sametime Forum the protocol versions do not match. Setting VP_SECURITY_LEVEL=31 will help as a workaround but result in the necessity to have "Hide Client Identity" switched on:
http://www-10.lotus.com/ldd/stforum.nsf/DateAllFlatweb/bdca1146dd6adec3852577840049cb96?OpenDocument

comment:3 in reply to: ↑ 2 Changed 7 years ago by kay1234

I just verified that this workaround is working. But you need "Hide Client Identity" even though the sametime server is configured to accept all client types.

comment:4 Changed 7 years ago by rekkanoryo

Ticket #12708 has been marked as a duplicate of this ticket.

comment:5 Changed 7 years ago by ktdreyer

I ran into this today. My Sametime admins refuse to make the change on the server side. Any suggestions, or information about what causes this?

comment:6 Changed 7 years ago by snorkel

ya, our sametime admins are not going to make this change either. So this is not a acceptable solution, the meanwhile library needs to be modified so it sends the correct protocol version number so we can use pidgen on 8.5.

Setting the option to hide client identity does not work in this situation either.

comment:7 in reply to: ↑ description ; follow-up: Changed 7 years ago by Gruenfrosch

A solution on the client side ist to fake the version in accounts.xml. Insert/change the lines

<setting name='fake_client_id' type='bool'>1</setting>

<setting name='client_minor' type='int'>8511</setting>

in the <settings> section of Sametime account in accounts.xml.

comment:8 Changed 7 years ago by snorkel

Sweet, that worked for me! Thanks, now using pidgen again :-)

comment:9 in reply to: ↑ 7 ; follow-up: Changed 7 years ago by dial911

Replying to Gruenfrosch:

A solution on the client side ist to fake the version in accounts.xml. Insert/change the lines

<setting name='fake_client_id' type='bool'>1</setting>

<setting name='client_minor' type='int'>8511</setting>

in the <settings> section of Sametime account in accounts.xml.

Probably a dumb question, but where is the accounts.xml located? I've searched everywhere and have yet to find it. (Pidgin 2.7.7)

comment:10 in reply to: ↑ 9 Changed 7 years ago by dial911

Probably a dumb question, but where is the accounts.xml located? I've searched everywhere and have yet to find it. (Pidgin 2.7.7)

Located it. For most, it should be here: C:\Documents and Settings\<your_username>\Application Data\.purple\accounts.xml

comment:11 Changed 7 years ago by Robby

Ticket #13215 has been marked as a duplicate of this ticket.

comment:12 follow-up: Changed 6 years ago by rjones99

I had exactly the same issue. Our sys admin has set VP_SECURITY_LEVEL=0 and none of the above solutions worked for me. This did work however in accounts.xml

<setting name='client_major' type='int'>30</setting>
<setting name='client_minor' type='int'>6511</setting>
<setting name='force_login' type='bool'>0</setting>
<setting name='client_id_val' type='int'>4608</setting>
<setting name='fake_client_id' type='bool'>1</setting>

Taken from http://sourceforge.net/projects/meanwhile/forums/forum/378953/topic/1603453

Using Pidgin 2.7.10 (libpurple 2.7.10) and Sametime server 8.5.1

Hope that helps someone!

comment:13 in reply to: ↑ 12 Changed 6 years ago by rjones99

Replying to rjones99: Actually only need

<setting name='client_id_val' type='int'>4608</setting>
<setting name='fake_client_id' type='bool'>1</setting>

comment:14 Changed 6 years ago by BACON

I'm using Pidgin 2.10.0 to connect to a recently-upgraded Sametime server and in this case the error message when connecting was "Not Authorized", even after applying some of the accounts.xml modifications listed in previous comments. The official Sametime client I have is 8.0.2 embedded in Lotus Notes 8.5.2, so looking at How to determine the Client type that is connecting to a Sametime server I set my client_id_val to 4668 (0x123c)...

<setting name='fake_client_id' type='bool'>1</setting>
<setting name='client_id_val' type='int'>4668</setting>

...and was then able to connect using Pidgin. Also, if you have access to your Sametime server's sametime.ini configuration file, in the [Config] section the VPS_ALLOWED_LOGIN_TYPES value contains a list of client IDs the server will accept. Note that they're stored in hexadecimal, whereas Pidgin apparently uses decimal.

It would be nice if the Pidgin UI provided a drop-down list with the client types in that document, so manually looking up the ID and modifying accounts.xml wouldn't be necessary.

comment:15 Changed 23 months ago by dx

Ticket #16290 has been marked as a duplicate of this ticket.

comment:16 Changed 23 months ago by dx

Ticket #14905 has been marked as a duplicate of this ticket.

comment:17 Changed 23 months ago by dx

Ticket #15237 has been marked as a duplicate of this ticket.

comment:18 Changed 23 months ago by dx

Quoting from #14905, which is more specific to extst.ibm.com:

This isn´t a issue from the Samtime client. IBM allow only some special versions which can be used to connect to the EXT Sametime Server.

This Sametime Server feature can be seen here: ​http://publib.boulder.ibm.com/infocenter/sametime/v8r5/topic/com.ibm.help.sametime.v851.doc/config/st_adm_comm_allw_insecur_login_t.html

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!