By firely on Tuesday, 17 November 2015
Posted in General
Replies 12
Likes 0
Views 0.9K
Votes 0
Hi

I have setup the Facebook app and filled in the details as per your documentation. but when i try to login to facebook i just get the error:

No data received

ERR_EMPTY_RESPONSE

Unable to load the webpage because the server sent no data.

I have used EasyBlog for years now and never had this problem. I am not sure what it means.
i have started the submission for approval for Facebook but I think i need to login via Easyblog first because the submission says i need to test it first. so i am a bit stuck.

please help.

thanks
Hey firely,

Actually that was known issue if your server installed mod_security and most likely your web server is rejecting the URL that is being redirected from Facebook back to the site.

Perhaps you should check this with your hosting provider and see how it goes?

However, I have received our customer share with us regarding one of the solution, but I do not know this method is it use in other different hosting. Perhaps you can share with your hosting regarding this.

Yes, go into WHM at Home »Security Center »ModSecurity™ Tools » Rules List, from there click the Edit Custom Rules button.
You can remove and re-add the line for the "10_asl_rules.conf" as you need to test.


By the way, please remember to assign your domain to your license to obtain for support in the future. You can do so by accessing your license area at http://stackideas.com/dashboard
·
Tuesday, 17 November 2015 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

My hosting company checked out the ModSecurity and even turned it off but this doesn't help.
However, after much searching and testing I find that it is the SSL certificate. if i disable that (and change the URL to just http in the API settings) then it works. If i make the site secure, (and change API setting to https for the domain) then it doesn't work.
Is there a reason for this? Our website MUST be secure but we can't use EasyBlog Autopost with it

Thanks
·
Thursday, 19 November 2015 08:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply,

That's a new one to us.

May I know do you have SSH access to your server, can you try typing the following commands, and let us know what you get? You should see something similar to what's posted below. This verifies that your server can 'see' Facebook. If you don't have access, you may need to contact your hosting provider to see if there's any reason your site can't access these addresses.

Command:
Code:
nslookup api.facebook.com

This verifies that your site can lookup the actual IP address of the Facebook API site. Should see something like:
Code:
Non-authoritative answer:
Name: api.facebook.com
Address: 69.63.181.48

Command:
Code:
ping api.facebook.com

This verifies that you can send and receive from that address. If this fails, would indicate a firewall or other security mechanism preventing communication. Should see (Press cntrl-C to stop the 'ping'):
Code:
PING api.facebook.com (69.63.181.46) 56(84) bytes of data.
64 bytes from api-11-01-snc2.facebook.com (69.63.181.46): icmp_seq=1 ttl=245 time=46.7 ms
64 bytes from api-11-01-snc2.facebook.com (69.63.181.46): icmp_seq=2 ttl=245 time=46.8 ms
64 bytes from api-11-01-snc2.facebook.com (69.63.181.46): icmp_seq=3 ttl=245 time=46.6 ms

There are other possibilities regarding server/site configuration issues, keep us updated after your webhosting execute above command in your server.

Also can you consult with your webhosting regarding this possibility? May i know your site PHP already get compiled with SSL support yet?

Reference link : http://stackoverflow.com/questions/3958594/curl-issues-with-https-and-facebook-graph-api

By the way, can you provide us with your Facebook access as well?
·
Thursday, 19 November 2015 16:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Thanks for your reply.

I have asked my hosting company to look into it and they say they tested and there is no connection issue with Facebook and the SSL settings are correct.

Now not sure what to do?

Many thanks,
·
Friday, 20 November 2015 13:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey firely,

Can you guide me how to temporary disable SSL certificate in your site? because I would like to test Facebook connection in your site and see what is the different between that.

Because our customer didn't encounter this issue where the site using SSL certificate.
·
Friday, 20 November 2015 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
I have the same error and I dont use SSL.
·
Wednesday, 25 November 2015 13:43
·
0 Likes
·
0 Votes
·
0 Comments
·
If I disabel firewall in Plesk it works. But I need to know witch setting block it because I need the firewall
·
Wednesday, 25 November 2015 13:52
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Wednesday, 25 November 2015 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

go to 'Global configuration'>
Server>
Force SSL - change to 'none' (currently entire site)

Please remember this is a LIVE client site. we want it secure after testing.

Please note i have had to change the URL in the Facebook app to none https. i have tried both ways in both Facebook and Easyblog. the only way i can actually sign into Facebook is when neither are https.
However, even then when i try to post to Facebook by clicking on the Facebook icon in the post list, it says it has posted to Facebook but it doesn't.

when i put the site back to secure it definately doesn't work but like i said, it is not 100% in non secure.

i did upgrade to the newer version of Easyblog. would that have something to do with it?
I have never had a problem with the older versions and this is the first one I have used with version 5+

thanks for any help.
·
Thursday, 26 November 2015 10:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Firely,

I am sorry for the delay of this reply,

After troubleshoot, it seems like your server only disable mod_security on frontend, you can test it by yourself regarding Facebook return the code URL , for example :

https://www.deuxbelettes.com/administrator/index.php?code=AQBHO-W_Q_rn2UxygvP1tccJxWPNJ_pcYRybnaGjKDJ_ur7dz2AYggnkLxu6i3m3Ir-hbNteqH393n0v0BoAoTkCNxhxddV_Zmql4TmJIABhdzwQd8j26QqCXA_fWL0Kcy3DPn0SYU6ISkzxGQofVMwgMNnIlDnsoebYbWeTkszVyJRoXzj5z1JuZ0j7AEsZq9A4LJrnqQi8l7Z0jmfulgx-4A7iT0EHNFopMwpZwV5zWrQWws7z3WQCSCRjKJ8QDyMaANvUUpsIP7772zG8SlIYv4FaD1TFY6OwBJORyk0bSuN-uqAhB0RwebzFXDn5Qme6lZhvz-I9x9jqTnZ5Ylid
&state=aHR0cHM6Ly93d3cuZGV1eGJlbGV0dGVzLmNvbS9hZG1pbmlzdHJhdG9yL2luZGV4LnBocD9vcHRpb249Y29tX2Vhc3libG9n


If you remove the /administrator/ from the URL e.g.

https://www.deuxbelettes.com/index.php?code=AQBHO-W_Q_rn2UxygvP1tccJxWPNJ_pcYRybnaGjKDJ_ur7dz2AYggnkLxu6i3m3Ir-hbNteqH393n0v0BoAoTkCNxhxddV_Zmql4TmJIABhdzwQd8j26QqCXA_fWL0Kcy3DPn0SYU6ISkzxGQofVMwgMNnIlDnsoebYbWeTkszVyJRoXzj5z1JuZ0j7AEsZq9A4LJrnqQi8l7Z0jmfulgx-4A7iT0EHNFopMwpZwV5zWrQWws7z3WQCSCRjKJ8QDyMaANvUUpsIP7772zG8SlIYv4FaD1TFY6OwBJORyk0bSuN-uqAhB0RwebzFXDn5Qme6lZhvz-I9x9jqTnZ5Ylid
&state=aHR0cHM6Ly93d3cuZGV1eGJlbGV0dGVzLmNvbS9hZG1pbmlzdHJhdG9yL2luZGV4LnBocD9vcHRpb249Y29tX2Vhc3libG9n

You can able to access without hitting No data received ERR_EMPTY_RESPONSE.

Can you consult with your webhosting provider regarding this? And see is it disable mod_security from backend also?
·
Friday, 27 November 2015 13:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

My hosting company say they have disabled mod_security for the backend and all folders.
·
Tuesday, 01 December 2015 05:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am sorry for the delay of this reply,

That was strange is because other our customer when their hosting disabled completely for the mod_security, then it will work fine.

By the way, I've tested using my Facebook app configure in your Easyblog Facebook autopost when I turn off SSL from your backend, after authenticated with my Facebook app into your backend Easyblog setting, then I turn on back SSL in your site, it seems work fine for the autopost.

In other word, when you publish a post in your site, it will success autopost in your Facebook page.

Perhaps you can try this method temporary and see how it goes?

If you need this further assistance, can you provide us with your Facebook access so I can setup with this method?
·
Tuesday, 01 December 2015 16:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post