tieto / sipe

A third-party Pidgin plugin for Microsoft Lync/OCS - clone of upstream http://repo.or.cz/w/siplcs.git
GNU General Public License v2.0
129 stars 24 forks source link

Proxy protocol 'http' is not supported #98

Closed framaglia closed 8 years ago

framaglia commented 8 years ago

With a fresh install of Pidgin3 I got:

(12:34:07) proxy: Unable to connect to destination host: Proxy protocol 'http' is not supported.
(12:34:07) proxy: Connection attempt failed: Unable to connect to destination host.
(12:34:07) connection: Connection error on 0x55b0420adae0 (reason: 0 description: SSL Connection Failed)

Here is my package list:


ii  gir1.2-farstream-0.1:amd64                            0.1.2-1ubuntu3                                                 amd64        Audio/Video communications framework: GObject-Introspection
ii  gir1.2-farstream-0.2                                  0.2.3-1ubuntu2                                                 amd64        Audio/Video communications framework: GObject-Introspection
ii  gstreamer0.10-nice:amd64                              0.1.14~sipe-0+201606031302~ubuntu14.04.1                       amd64        ICE library (GStreamer 0.10 plugin)
ii  gstreamer1.0-nice:amd64                               0.1.4-1                                                        amd64        ICE library (GStreamer plugin)
ii  gstreamer1.4-nice:amd64                               0.1.14~sipe-0+201606031302~ubuntu14.04.1                       amd64        ICE library (GStreamer plugin)
ii  libfarstream-0.1-0:amd64                              0.1.2-1ubuntu3                                                 amd64        Audio/Video communications framework: core library
ii  libfarstream-0.1-dev                                  0.1.2-1ubuntu3                                                 amd64        Audio/Video communications framework: development files
ii  libfarstream-0.2-2:amd64                              0.2.3-1ubuntu2                                                 amd64        Audio/Video communications framework: core library
rc  libfarstream-0.2-2-sipe:amd64                         0.2.7~sipe+collab-0.2991+201603172119~ubuntu14.04.1            amd64        Audio/Video communications framework: core library
ii  libfarstream-0.2-5-sipe:amd64                         0.2.8+sipe+collab-1+201605260749~ubuntu14.04.1                 amd64        Audio/Video communications framework: core library
ii  libfarstream-0.2-dev                                  0.2.3-1ubuntu2                                                 amd64        Audio/Video communications framework: development files
ii  libfreerdp-client2:amd64                              2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1 amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-plugins-standard:amd64                     1.0.2-2ubuntu1                                                 amd64        RDP client for Windows Terminal Services (plugins)
ii  libfreerdp-server2:amd64                              2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1 amd64        Free Remote Desktop Protocol library (server library)
ii  libfreerdp-shadow2:amd64                              2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1 amd64        FreeRDP Remote Desktop Protocol shadow libraries
ii  libfreerdp1:amd64                                     1.0.2-2ubuntu1                                                 amd64        RDP client for Windows Terminal Services (library)
ii  libfreerdp2:amd64                                     2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1 amd64        Free Remote Desktop Protocol library (core library)
ii  libgadu3                                              1:1.12.0-5~pidgin6.14.04                                       amd64        Gadu-Gadu protocol library - runtime files
ii  libnice-dev                                           0.1.14~sipe-0+201606031302~ubuntu14.04.1                       amd64        ICE library (development files)
ii  libnice10:amd64                                       0.1.14~sipe-0+201606031302~ubuntu14.04.1                       amd64        ICE library (shared library)
ii  libtelepathy-farstream-dev                            0.6.1-0ubuntu1                                                 amd64        Glue library between telepathy and farstream (development files)
ii  libtelepathy-farstream2:amd64                         0.4.0-3ubuntu2                                                 amd64        Glue library between telepathy and farstream - 0.4 series
ii  libtelepathy-farstream3:amd64                         0.6.1-0ubuntu1                                                 amd64        Glue library between telepathy and farstream
ii  libtelepathy-qt4-farstream2:amd64                     0.9.3-3ubuntu1                                                 amd64        Telepathy/Farsight integration - Qt 4 library
ii  pidgin                                                1:3.0.0~collab-1+201606060617~ubuntu14.04.1                    amd64        graphical multi-protocol instant messaging client for X
ii  pidgin-data                                           1:3.0.0~collab-1+201606060617~ubuntu14.04.1                    all          multi-protocol instant messaging client - data files
ii  pidgin-sipe                                           1.21.1+sipe-0+201605311247~ubuntu14.04.1                       amd64        Pidgin plugin for MS Office Communicator and MS Lync
ii  python-farstream                                      0.1.2-1ubuntu3                                                 amd64        Audio/Video communications framework: Python bindings
ii  remmina                                               1.2.0~rcgit+sipe-0+201606011019~ubuntu14.04.1                  amd64        remote desktop client for GNOME desktop environment
ii  remmina-common                                        1.2.0~rcgit+sipe-0+201606011019~ubuntu14.04.1                  all          common files for remmina remote desktop client
ii  remmina-plugin-rdp                                    1.2.0~rcgit+sipe-0+201606011019~ubuntu14.04.1                  amd64        RDP plugin for remmina remote desktop client
ii  remmina-plugin-vnc                                    1.2.0~rcgit+sipe-0+201606011019~ubuntu14.04.1                  amd64        VNC plugin for remmina remote desktop client

If other info are needed, please ask me.

xhaakon commented 8 years ago

@pollaiolo This will require a full log. Even better if you could capture the connection process with Wireshark.

Send the logs to the mail in my profile if you don't want to post them publicly.

framaglia commented 8 years ago

I've sent you an email, thanks.

xhaakon commented 8 years ago

proxy: Unable to connect to destination host: Proxy protocol 'http' is not supported.

So I think this is an effect of the update of networking subsystem which Pidgin 3 has recently undergone. Those changes resulted in a sizable chunk of custom code in libpurple being dropped and Pidgin now uses networking classes from Glib GIO.

The problem seems to be the glib that ships with Ubuntu 14.04 (2.40.0) doesn't include the HTTP proxy support added in later versions. I don't have any easy fix for this at hand.

To work around the issue you could:

Please let me know if any option sounds viable to you before I proceed with anything else.

framaglia commented 8 years ago

I will try using a different proxy and update the libraries. I will let you know if it worked. Thanks agains,

2016-06-09 16:45 GMT+02:00 Jakub Adam notifications@github.com:

proxy: Unable to connect to destination host: Proxy protocol 'http' is not supported.

So I think this is an effect of the update of networking subsystem which Pidgin 3 has recently undergone. Those changes resulted in a sizable chunk of custom code in libpurple being dropped and Pidgin now uses networking classes from Glib GIO.

The problem seems to be the glib that ships with Ubuntu 14.04 (2.40.0) doesn't include the HTTP proxy support added in later versions https://git.gnome.org/browse/glib/commit/gio/ghttpproxy.c?id=ed4a742946374f7ee3c46b93eb943c95f04ec4c4. I don't have any easy fix for this at hand.

To work around the issue you could:

  • not use proxy for Sipe connections
  • try using a different kind of proxy server like SOCKS5
  • update your Ubuntu (16.04 LTS offers itself here)

Please let me know if any option sounds viable to you before I proceed with anything else.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tieto/sipe/issues/98#issuecomment-224917759, or mute the thread https://github.com/notifications/unsubscribe/ADl1pJRrKV3QVCuPOXXE0vlHMPKkqh6Iks5qKCcZgaJpZM4Iw1qG .

framaglia commented 8 years ago

It worked upgrading glib to 2.48 :) Thanks for your help!

2016-06-09 17:14 GMT+02:00 francesco maglia kikz.maglia@gmail.com:

I will try using a different proxy and update the libraries. I will let you know if it worked. Thanks agains,

2016-06-09 16:45 GMT+02:00 Jakub Adam notifications@github.com:

proxy: Unable to connect to destination host: Proxy protocol 'http' is not supported.

So I think this is an effect of the update of networking subsystem which Pidgin 3 has recently undergone. Those changes resulted in a sizable chunk of custom code in libpurple being dropped and Pidgin now uses networking classes from Glib GIO.

The problem seems to be the glib that ships with Ubuntu 14.04 (2.40.0) doesn't include the HTTP proxy support added in later versions https://git.gnome.org/browse/glib/commit/gio/ghttpproxy.c?id=ed4a742946374f7ee3c46b93eb943c95f04ec4c4. I don't have any easy fix for this at hand.

To work around the issue you could:

  • not use proxy for Sipe connections
  • try using a different kind of proxy server like SOCKS5
  • update your Ubuntu (16.04 LTS offers itself here)

Please let me know if any option sounds viable to you before I proceed with anything else.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tieto/sipe/issues/98#issuecomment-224917759, or mute the thread https://github.com/notifications/unsubscribe/ADl1pJRrKV3QVCuPOXXE0vlHMPKkqh6Iks5qKCcZgaJpZM4Iw1qG .

vlna commented 8 years ago

Alternative workaround is use of command unset http_proxy ; pidgin instead of pidgin