username0x0a / eternityplugins

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

0.1.3.2 on miranda 0.9.16: no debug log, no connection. #100

Closed GoogleCodeExporter closed 9 years ago

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

Facebook

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

Facebook 0.1.3.2 plugin
Miranda-IM 0.9.16
Windows 7 Pro 32 bit, all Windows Update patches applied.
Other non-distribution Miranda plugins I have installed (latest stable Unicode 
versions in every case)
- Updater
- MergeContacts
Skin: Full contact transparent list on clist_modern.

What steps will reproduce the problem?
1. Try to go online on facebook
2.
3.

What is the expected output?

It connects. Regardless of possible connection problems, it logs a debug log 
since I have that option enabled.

What do you see instead?

It tries to connect briefly, then it fails and remains offline. No log is 
stored anywhere.

Please provide any additional information below.

Facebook used to work fine, until the new security measures were released 
(HTTPS and connection tracking). At that point it never connected again, and 
the previous version of the plugin crashed often. I upgraded the plugin to 
0.1.3.2, now it doesn't crash, but it doesn't connect either.

Right now, my facebook account is HTTPS enabled. I use no proxies to reach 
Internet. No firewalls are affecting outbound-initiated connections of any 
type. Facebook chat works on the web. I have tried with the HTTPS option in the 
Miranda Facebook plugin, both on and off, with the same result. I have exited 
and reloaded Miranda every time I changed anything, just in case.

I enabled the debug log feature, but I can find no long anywhere: not in the 
miranda program folder, or in the plugins folders, or in the %TEMP% folder.

Original issue reported on code.google.com by ru.marti...@gmail.com on 9 Feb 2011 at 11:19

GoogleCodeExporter commented 9 years ago
http://forums.miranda-im.org/showthread.php?21867-Facebook-Plugin-Discussion&p=2
12144#post212144

Original comment by ROBYER on 10 Feb 2011 at 8:05

GoogleCodeExporter commented 9 years ago
Thank you. I assume it is the same problem you mention there: "It will be fixed 
in new version, until that you can disable that option in fb (website) 
settings. "

Still don't know why I can't see any log in the miranda folder or anywhere 
else. The log seems to be working for those other people.

Original comment by ru.marti...@gmail.com on 10 Feb 2011 at 8:35

GoogleCodeExporter commented 9 years ago
I dont know, maybe you have enabled UAC in windows and Miranda in program 
files? etc.
Log will be created in miranda root folder with <internal fb protocol name>.txt 
name...

Original comment by ROBYER on 10 Feb 2011 at 11:12

GoogleCodeExporter commented 9 years ago
Yes, that's probably it. I will change the permissions on the Miranda folder.

Original comment by ru.marti...@gmail.com on 10 Feb 2011 at 11:17

GoogleCodeExporter commented 9 years ago
That whas it. Changing permissions was not enough, but creating an UAC manifest 
for Miranda to change their privilege level did the trick.

For what it's worth, I'm attaching the log. If it's the same problem that was 
reported in the thread, then this defect can be closed. Thanks! :)

[11:40:10] ***** Beginning SignOn process
[11:40:10] ***** Negotiating connection with Facebook
[11:40:10]    >> Entering api_check()
[11:40:10] @@@@@ Sending request to 
'https://code.google.com/p/eternityplugins/wiki/FacebookProtocol_DevelopmentProg
ress'
[11:40:11] @@@@@ Got response with code 200
[11:40:11] ----- Got header 'Date': Thu, 10 Feb 2011 11:40:17 GMT
[11:40:11] ----- Got header 'Pragma': no-cache
[11:40:11] ----- Got header 'Expires': Fri, 01 Jan 1990 00:00:00 GMT
[11:40:11] ----- Got header 'Cache-Control': no-cache, must-revalidate
[11:40:11] ----- Got header 'Content-Type': text/html; charset=UTF-8
[11:40:11] ----- Got header 'X-Content-Type-Options': nosniff
[11:40:11]       New cookie 'PREF': 
ID=7162ea1117bf7ac1:TM=1297338017:LM=1297338017:S=U16J42bxi0Dcqwy-
[11:40:11] ----- Got header 'Server': codesite
[11:40:11] ----- Got header 'X-XSS-Protection': 1; mode=block
[11:40:11] ----- Got header 'Content-Length': 11879
[11:40:11]    << Quitting api_check()
[11:40:11]    >> Entering login()
[11:40:11] @@@@@ Sending request to 'https://www.facebook.com/home.php?'
[11:40:11] @@@@@ Got response with code 302
[11:40:11] ----- Got header 'Cache-Control': private, no-cache, no-store, 
must-revalidate
[11:40:11] ----- Got header 'Expires': Sat, 01 Jan 2000 00:00:00 GMT
[11:40:11] ----- Got header 'Location': http://www.facebook.com/login.php
[11:40:11] ----- Got header 'P3P': CP="Facebook does not have a P3P policy. 
Learn why here: http://fb.me/p3p"
[11:40:11] ----- Got header 'Pragma': no-cache
[11:40:11]       Deleted cookie 'isfbe'
[11:40:11]       New cookie 'lsd': 8C8eZ
[11:40:11]       New cookie 'next': https%3A%2F%2Fwww.facebook.com%2Fhome.php
[11:40:11]       New cookie 'next_path': %2Fhome.php
[11:40:11] ----- Got header 'Content-Type': text/html; charset=utf-8
[11:40:11] ----- Got header 'X-Cnection': close
[11:40:11] ----- Got header 'Date': Thu, 10 Feb 2011 11:40:18 GMT
[11:40:11] ----- Got header 'Content-Length': 0
[11:40:11] @@@@@ Sending request to 
'https://login.facebook.com/login.php?login_attempt=1'
[11:40:13] @@@@@ Got response with code 302
[11:40:13] ----- Got header 'Cache-Control': private, no-cache, no-store, 
must-revalidate
[11:40:13] ----- Got header 'Expires': Sat, 01 Jan 2000 00:00:00 GMT
[11:40:13] ----- Got header 'Location': 
https://login.facebook.com/loginnotify/setup_machine.php?next=https%3A%2F%2Fwww.
facebook.com%2Fhome.php&persistent=1
[11:40:13] ----- Got header 'P3P': CP="Facebook does not have a P3P policy. 
Learn why here: http://fb.me/p3p"
[11:40:13] ----- Got header 'Pragma': no-cache
[11:40:13]       New cookie 'datr': o85TTZh22b_fPq_cXb-3fRwG
[11:40:13]       Deleted cookie 'isfbe'
[11:40:13]       New cookie 'lgnntfy': 
%7B%22t%22%3A%229a9ace395e394d1db727a183b0c32de7%22%2C%22u%22%3A557183873%7D
[11:40:13]       Deleted cookie 'next'
[11:40:13]       Deleted cookie 'next_path'
[11:40:13] ----- Got header 'Content-Type': text/html; charset=utf-8
[11:40:13] ----- Got header 'X-Cnection': close
[11:40:13] ----- Got header 'Date': Thu, 10 Feb 2011 11:40:19 GMT
[11:40:13] ----- Got header 'Content-Length': 0
[11:40:13] @@@@@ Sending request to 
'https://login.facebook.com/loginnotify/setup_machine.php'
[11:40:13] @@@@@ Got response with code 200
[11:40:13] ----- Got header 'Cache-Control': private, no-cache, no-store, 
must-revalidate
[11:40:13] ----- Got header 'Expires': Sat, 01 Jan 2000 00:00:00 GMT
[11:40:13] ----- Got header 'P3P': CP="Facebook does not have a P3P policy. 
Learn why here: http://fb.me/p3p"
[11:40:13] ----- Got header 'Pragma': no-cache
[11:40:13]       Deleted cookie 'isfbe'
[11:40:13]       New cookie 'reg_fb_gate': 
https%3A%2F%2Flogin.facebook.com%2Floginnotify%2Fsetup_machine.php
[11:40:13]       New cookie 'reg_fb_ref': 
https%3A%2F%2Flogin.facebook.com%2Floginnotify%2Fsetup_machine.php
[11:40:13] ----- Got header 'Content-Type': text/html; charset=utf-8
[11:40:13] ----- Got header 'X-Cnection': close
[11:40:13] ----- Got header 'Date': Thu, 10 Feb 2011 11:40:20 GMT
[11:40:13] ----- Got header 'Content-Length': 4155
[11:40:13] !!!!! login(): Something with Facebook went wrong
[11:40:13] ##### Beginning SignOff process
[11:40:13]    >> Entering logout()
[11:40:13] @@@@@ Sending request to 'https://www.facebook.com/logout.php'
[11:40:13] ***** SignOn complete
[11:40:14] @@@@@ Got response with code 302
[11:40:14] ----- Got header 'Cache-Control': private, no-cache, no-store, 
must-revalidate
[11:40:14] ----- Got header 'Expires': Sat, 01 Jan 2000 00:00:00 GMT
[11:40:14] ----- Got header 'Location': http://www.facebook.com/
[11:40:14] ----- Got header 'P3P': CP="Facebook does not have a P3P policy. 
Learn why here: http://fb.me/p3p"
[11:40:14] ----- Got header 'Pragma': no-cache
[11:40:14]       Deleted cookie 'isfbe'
[11:40:14]       Deleted cookie 'roadblock'
[11:40:14] ----- Got header 'Content-Type': text/html; charset=utf-8
[11:40:14] ----- Got header 'X-Cnection': close
[11:40:14] ----- Got header 'Date': Thu, 10 Feb 2011 11:40:20 GMT
[11:40:14] ----- Got header 'Content-Length': 0
[11:40:14]    << Quitting logout()
[11:40:14] ##### SignOff complete

Original comment by ru.marti...@gmail.com on 10 Feb 2011 at 11:45

GoogleCodeExporter commented 9 years ago
Yes, its the same.

Original comment by ROBYER on 10 Feb 2011 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by n3weRm0re.ewer on 11 Feb 2011 at 4:26