Topic-icon Error trying to setup canvas on facebook.

Active Subscriptions:

None
13 years 10 months ago #24681 by mjh5598
I am getting this error now when i try to login to joomla with the facebook login button. - Can it be related to ipv6 ?
Facebook API Error: Failed to connect to 2a03:2880:2110:3f01:face:b00c:0:1: Network is unreachable
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24683 by mjh5598
I just tried it again and now i got a chrome error :

The website encountered an error while retrieving www.XXXX.net/component/com_jfbconnect/cb...k,loginFacebookUser/. It may be down for maintenance or configured incorrectly.
The topic has been locked.
Support Specialist
13 years 10 months ago #24693 by alzander
The address above is still definitely an IPv6 address (2a03:2880:2110:3f01:face:b00c:0:1), and the message is definitely indicating that your server can't communicate over IPv6. This is actually a common mis-configuration issue: the DNS on your server is IPv6 enabled, but the underlying network can't communicate that way. So, IPv6 addresses are looked up but can't be used.

The error page you're seeing is likely caused by the same issue. JFBConnect is having problems communicating with Facebook for required operations during login and so therefore is erroring out. If you go into Global Configuration and turn off GZip and set Error Reporting to "Maximum", you may get a more detailed error message that will help debug things further.

Hope that helps. We're working on a bug-fix release for JFBConnect (due out early next week) that will have a fallback for IPv6 servers that are configured incorrectly. The code comes from Facebook on how to do this. In general though, it will cause slower logins since it will first be attempted over IPv6, have to fail, and then revert to IPv4. It will work, but it's recommended to fix the underlying problem if possible.

If you'd like that code now to try, we can send it. We haven't tested it at all yet, but it may help.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24711 by mjh5598
Hi..i disabled ipv6 on the server - interfaces, hosts, and bind --- I am still getting a slow response with errors below -
But I am able to login and jfb connect is importing the facebook profile - not sure what to do next - any ideas ? try your fix ?

192.168.2.70 - - [13/Jul/2012:09:20:33 -0400] "GET /templates/rt_tachyon_j16/css/thirdparty.css HTTP/1.1" 200 10318
192.168.2.70 - - [13/Jul/2012:09:20:39 -0400] "GET /index.php?option=com_jfbconnect&task=loginFacebookUser&return=Lw==&cb=1342185613558 HTTP/1.1" 301 20
192.168.2.70 - - [13/Jul/2012:09:20:39 -0400] "GET /component/com_jfbconnect/cb,1342185613558/return,Lw==/task,loginFacebookUser/ HTTP/1.1" 303 20
192.168.2.70 - - [13/Jul/2012:09:20:46 -0400] "GET /component/com_jfbconnect/return,Lw==/task,loginFacebookUser/?state=521b2e30381a99cc8dd1188ee484c56b&code=AQDopwnLVArykodKH7ksJYjfTflJf1Fn7TTlsabqj_Aw0v1fxsb2sYsYPEGW_RtyhHnhR7wyHcgnF6Ie86GB2-pnHiEVzIWwzMagyMhZbm_Piv0DvGJw3Sx6uYuyb9g5sppGXLCxARKC_pUV7GDwQb2B8WnKSvmF2occjZeMvo-5BVX7flQIEyLkeU-D0Tb-750 HTTP/1.1" 500 20
192.168.2.70 - - [13/Jul/2012:09:55:34 -0400] "GET / HTTP/1.1" 200 35197
192.168.2.70 - - [13/Jul/2012:09:54:13 -0400] "GET / HTTP/1.1" 200 35200
192.168.2.70 - - [13/Jul/2012:10:01:02 -0400] "GET / HTTP/1.1" 200 35196
192.168.2.70 - - [13/Jul/2012:10:01:11 -0400] "GET / HTTP/1.1" 200 35200
192.168.2.70 - - [13/Jul/2012:10:01:19 -0400] "GET /index.php?option=com_jfbconnect&task=loginFacebookUser&return=Lw==&cb=1342188053568 HTTP/1.1" 301 20
192.168.2.70 - - [13/Jul/2012:10:01:22 -0400] "GET /component/com_jfbconnect/cb,1342188053568/return,Lw==/task,loginFacebookUser/ HTTP/1.1" 500 20
192.168.2.70 - - [13/Jul/2012:10:02:20 -0400] "GET / HTTP/1.1" 200 36166
192.168.2.70 - - [13/Jul/2012:10:03:56 -0400] "GET /images/avatar/thumb_eb2a8438d735f24949be7eed.jpg HTTP/1.1" 200 5042
192.168.2.70 - - [13/Jul/2012:10:04:10 -0400] "GET / HTTP/1.1" 200 36192
192.168.2.70 - - [13/Jul/2012:10:04:19 -0400] "GET /images/avatar/thumb_eb2a8438d735f24949be7eed.jpg HTTP/1.1" 200 5042
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24712 by mjh5598
okay..i logged out of the site and tried to log back in - i get this error in chrome :
The website encountered an error while retrieving xxx.xxxxxxxx.net/component/com_jfbconnec...SVpiwSmajIIiCpps#_=_. It may be down for maintenance or configured incorrectly.

and this error in the apache logs :


192.168.2.70 - - [13/Jul/2012:10:12:17 -0400] "GET /index.php?option=com_jfbconnect&task=logout&return=Lw== HTTP/1.1" 301 20
192.168.2.70 - - [13/Jul/2012:10:12:22 -0400] "GET /component/com_jfbconnect/return,Lw==/task,logout/ HTTP/1.1" 303 20
192.168.2.70 - - [13/Jul/2012:10:12:22 -0400] "GET / HTTP/1.1" 200 35198
192.168.2.70 - - [13/Jul/2012:10:12:40 -0400] "GET /index.php?option=com_jfbconnect&task=loginFacebookUser&return=Lw==&cb=1342188733690 HTTP/1.1" 301 20
192.168.2.70 - - [13/Jul/2012:10:12:45 -0400] "GET /component/com_jfbconnect/cb,1342188733690/return,Lw==/task,loginFacebookUser/ HTTP/1.1" 303 20
192.168.2.70 - - [13/Jul/2012:10:12:53 -0400] "GET /component/com_jfbconnect/return,Lw==/task,loginFacebookUser/?state=0edfc26356915236c4cdaed4a89e0846&code=AQB70kTsd3S8bZVl1SLbUXxVS5p5_Oa2t7NiIOOxS52EQvTG_h9s0SqNOD7E7TcamDxMcT4AXlteHVVOm12QaOkAnx6mvbJ8Zx52Sj3PjHfH3PJVJnRUC0EEa981DU72pgfYcD8SmzDLLQKEDpGJ9VggYHRLUePFxuy589Ys-W1QQMyH52wSVpiwSmajIIiCpps HTTP/1.1" 500 20
The topic has been locked.
Support Specialist
13 years 10 months ago #24716 by alzander
Can you go into Global Configuration and turn off GZip and set Error Reporting to "Maximum", you may get a more detailed error message that will help debug things further. Additionally, please try disabling all JFBC Profile plugins you have enabled. From looking at your site, I'd guess you should only have the JomSocial profile plugin enabled. If you have others enabled, especially for extensions you don't have installed, disable those.

Sounds like we're on the right track though now that IPv6 is disabled.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24720 by mjh5598
okay..turned on max debuging - but which plugin should i disable specifically - i tried to turn off - but disabled the jfb facebook login - I have these installed:

Authentication - JFBConnect Facebook
Content - JFBCContent
JFBConnect - Profiles - JomSocial
System - JFBCSystem
User - JFBConnect Facebook

thanks
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24721 by mjh5598
i get this in the log when all is enabled :

192.168.2.70 - - [13/Jul/2012:11:09:59 -0400] "GET / HTTP/1.1" 200 35195
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(141): Adding CACHE_SAVE filter for /components/com_community/assets/status_offline.png
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(148): Adding CACHE_REMOVE_URL filter for /components/com_community/assets/status_offline.png
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(141): Adding CACHE_SAVE filter for /components/com_community/assets/default-favicon.png
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(148): Adding CACHE_REMOVE_URL filter for /components/com_community/assets/default-favicon.png
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(705): cache: Caching url: /components/com_community/assets/status_offline.png
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(711): cache: Removing CACHE_REMOVE_URL filter.
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(705): cache: Caching url: /components/com_community/assets/default-favicon.png
[Fri Jul 13 11:10:03 2012] [debug] mod_cache.c(711): cache: Removing CACHE_REMOVE_URL filter.
[Fri Jul 13 11:10:03 2012] [info] mem_cache: Cached url: XXX.XXXXXXX.net:80/components/com_commun...s/status_offline.png?
192.168.2.70 - - [13/Jul/2012:11:10:03 -0400] "GET /components/com_community/assets/status_offline.png HTTP/1.1" 200 422
[Fri Jul 13 11:10:03 2012] [info] mem_cache: Cached url: XXX.XXXXXXX.net:80/components/com_commun.../default-favicon.png?
192.168.2.70 - - [13/Jul/2012:11:10:03 -0400] "GET /components/com_community/assets/default-favicon.png HTTP/1.1" 200 741
[Fri Jul 13 11:10:11 2012] [debug] mod_cache.c(141): Adding CACHE_SAVE filter for /index.php
[Fri Jul 13 11:10:11 2012] [debug] mod_cache.c(148): Adding CACHE_REMOVE_URL filter for /index.php
[Fri Jul 13 11:10:11 2012] [debug] mod_deflate.c(615): [client 192.168.2.70] Zlib: Compressed 0 to 2 : URL /index.php, referer: XXX.XXXXXXX.net/
[Fri Jul 13 11:10:11 2012] [debug] mod_cache.c(589): cache: /index.php?option=com_jfbconnect&task=loginFacebookUser&return=Lw==&cb=1342192184534 not cached. Reason: Query string present but no explicit expiration time
192.168.2.70 - - [13/Jul/2012:11:10:11 -0400] "GET /index.php?option=com_jfbconnect&task=loginFacebookUser&return=Lw==&cb=1342192184534 HTTP/1.1" 301 20
[Fri Jul 13 11:10:11 2012] [debug] mod_cache.c(141): Adding CACHE_SAVE filter for /component/com_jfbconnect/cb,1342192184534/return,Lw==/task,loginFacebookUser/
[Fri Jul 13 11:10:11 2012] [debug] mod_cache.c(148): Adding CACHE_REMOVE_URL filter for /component/com_jfbconnect/cb,1342192184534/return,Lw==/task,loginFacebookUser/
[Fri Jul 13 11:10:11 2012] [debug] mod_cache.c(141): Adding CACHE_SAVE filter for /index.php
[Fri Jul 13 11:10:11 2012] [debug] mod_cache.c(148): Adding CACHE_REMOVE_URL filter for /index.php
[Fri Jul 13 11:10:17 2012] [error] [client 192.168.2.70] PHP Fatal error: Call to undefined method plgJFBCProfilesJomsocial::getJoomlaUserID() in /var/www/XXX.XXXXXXX.net/p_040912/plugins/jfbcprofiles/jomsocial/jomsocial.php on line 291, referer: XXX.XXXXXXX.net/
[Fri Jul 13 11:10:17 2012] [debug] mod_deflate.c(615): [client 192.168.2.70] Zlib: Compressed 0 to 2 : URL /index.php, referer: test11.pickaride.net/
[Fri Jul 13 11:10:17 2012] [debug] mod_cache.c(589): cache: /index.php not cached. Reason: Response status 500
192.168.2.70 - - [13/Jul/2012:11:10:11 -0400] "GET /component/com_jfbconnect/cb,1342192184534/return,Lw==/task,loginFacebookUser/ HTTP/1.1" 500 20
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24722 by mjh5598
okay..i disabled JFBConnect - Profiles - JomSocial --- because it was getting errors in debug - as you suggested - now able to login.
Have to test with new account. but what am i loosing with disabling this ??
thanks
The topic has been locked.
Support Specialist
13 years 10 months ago #24724 by alzander
Can you go to the JFBConnect Overview page and check the version of your JomSocial profile plugin? I think yours is out of date and simply needs to be updated.

If it's showing that you have the most recent version installed, let us know and we'll go from there.

Thanks,
Alex
The topic has been locked.