username0x0a / eternityplugins

Collection of self-made or modded Miranda IM plugins
0 stars 0 forks source link

FB plugin doesn't work via HTTP proxy with authentication #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*****What product are you using? (Also please, select lower in Labels in
Product-* field)

Facebook plugin 0.0.0.6

*****What version of the product are you using? On what operating system?

Miranda 0.8.10 on wxp pro en 32bit

*****What steps will reproduce the problem?
1. Setup Miranda to connect thru HTTP proxy (Options -- Network -- All 
connections...
------------------------
Outgoing connections:
[X] user proxy server
Type: HTTP, Host: <yourproxy>
Port: <YourProxyPort>
[X] Enable authentication
Username: <YourProxyUserName>
Password: <YourProxyPassword>
[ ]use NTLM auth
[X] resolve hostnames through proxy
[ ] Portrange
[X] Validate SSl certificates

Incomming connections:
[ ] Port range
[ ] Enable UPnP port mapping
------------------------

2. Go online

What is the expected output?
All protocols should normally connect.

What do you see instead?
If connection via proxy is disabled (At home), it normally works.
if connection thru proxy is enabled (at work), it returs following error:

---------------------------
Facebook
---------------------------
Probably wrong password entered, please try again.
---------------------------
OK   
---------------------------

(Other protocols (MSN + Jabber) connect normally.)

****Please provide any additional information below.
My guess is that FB plugin is not ready yet for connection via HTTP proxy 
with authentication.
It might be, that my company's HTTP proxy is somehow malforming the 
request or answer and FB plugin doesn't handle it. (Connection to Facebook 
using normal webbrowser works correctly.)

Regards
Lukas

Original issue reported on code.google.com by lpravd...@gmail.com on 30 Nov 2009 at 11:16

GoogleCodeExporter commented 9 years ago
It is not related to authenticating proxy, I'm getting the same problem with my 
proxy
which doesn't need authentication. The error can be reproduced on every machine 
with
Privoxy (http://www.privoxy.org).

My guess is that the plugin was not written with proxy communication in mind - 
this
refers to the facebook plugin code taking the HTTP code "200" as an error - but 
the
proxy responds with 200 if it establishes the requested connection successfully
(http://www.codeproject.com/KB/IP/akashhttpproxy.aspx). So the proxy responds 
with
200 and the data, but the plugin rejects it as invalid data ...

Original comment by yours.ge...@gmail.com on 5 Jan 2010 at 5:20

GoogleCodeExporter commented 9 years ago
I may test the non-authorized access, if you give me further connection 
details. 
Dunno what to do about the authenticated way, Miranda NetLib should solve this 
automatically, but I've never tried anything about proxies, so this is little 
new to 
me...

Original comment by n3weRm0re.ewer on 5 Jan 2010 at 6:07

GoogleCodeExporter commented 9 years ago
I can second the findings to a degree.
It works with HTTP but not HTTPS (SQUID Proxy).
No external AUTH is enabled. 

I get no feedback, the plugin just does not connect.

Original comment by cybor...@gmail.com on 13 Mar 2010 at 9:18