Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I always could connect to my companys Microsoft Lync network which is based on SIP. There is an addon for Pidgin called pidgin-sipe. Everything worked fine unless the company changed something weird. Now I always get a Read Error when I want to connect.

The debug output shows the following:

Isn't it possible anymore to connect or is this an error of pidgin-sipe?

share|improve this question
You might want to give wync a try instead – fnokke Feb 11 '15 at 14:24
up vote 5 down vote accepted

just add:


to /etc/environment

and it will persist without you needing a non-standard startup script for pidgin.

share|improve this answer
Doesn't it have any impact on other applications? – Michael Tanner Jul 11 '13 at 7:17
Yes. It does in that location. This is the right method. – Evan Carroll Apr 8 '15 at 23:22


~$ pidgin

Seems to do the trick, not sure exactly what it does. I need to read up on it.

Here is the bug traq for the issue:

share|improve this answer
Thanks, this is great. I just created a custom script to start pidgin with this setting. Would be nice to hear from you if you know what this option does exactly. – Michael Tanner Jun 10 '12 at 16:30
Thanks! it seems to solve the "Read error", but I still getting auth error. Did you have to configure something special? – Guy Korland Aug 1 '12 at 9:18
Note: You can avoid having to use a script by condensing this into one command: NSS_SSL_CBC_RANDOM_IV=0 pidgin – BHSPitMonkey Aug 23 '12 at 17:44
Perfect! Works for Windows as well! (Add that into user environment) – FractalSpace Apr 4 '13 at 14:12
Doesn't work for me. – hippyjim Jun 20 '13 at 10:26

Other answers are old ways.

There is now a config file you should edit.

sudo -e /etc/default/pidgin-sipe

Uncomment the line that reads,


(remove the '#' write the file and restart pidgin)

share|improve this answer

To get it working with how you normally start applications in Ubuntu, and not getting into the way of other programs, you can copy the pidgin's launcher to ~/.local/share/applications/ directory by issuing the following commands:

mkdir -p ~/.local/share/applications
cp /usr/share/applications/pidgin.desktop ~/.local/share/applications

Then edit the file with your favorite editor, e.g.

nano ~/.local/share/applications/pidgin.desktop

Replace the line Exec=/usr/bin/pidgin with the following:

Exec=env NSS_SSL_CBC_RANDOM_IV=0 /usr/bin/pidgin
share|improve this answer
While this method works. It's way complex and doesn't catch invocations of pidgin from other routes. Try this instead – Evan Carroll Apr 8 '15 at 23:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.