Welcome! Log In Create A New Profile

Advanced

Re: 400 bad request

June 12, 2009 09:44PM
Dave Cheney Wrote:
-------------------------------------------------------
> So, to confirm, there is no record of the request
> at all in your
> access log?

Nothing. I set the log level on the error log to debug also to see if that would force something into the error logs, but nothing.

But facebook is telling you that it
> could not contact your
> servers (sorry, I have no experience with writing
> facebook apps) ?
>
I'll try to explain as best I can. The request that generates the errors is not going through facebook, that's how we know it's nginx because the page displays the raw nginx error page with the nginx version number and all. That page is inside an iframe on a facebook canvas page. The iframe loads pages directly from our server. Inside the iframe is also some fb javascript code that loads a proxy file from our server directly to handle cross domain iframe communications, and at the same time sets cookies on our domain. We think it's the facebook javascript code we are running in our iframe that is setting the cookies that nginx doesn't like. We are pretty sure about this because some of the banner ads we run on other pages of our site are also facebook connect iframes, and they also have the same effect. Once they set a bad cookie, all the images on the facebook canvas which reference our servers start to break due to 400 responses.

Chris
Subject Author Posted

400 bad request

snacktime June 10, 2009 02:03AM

Re: 400 bad request

Dave Cheney June 10, 2009 04:33AM

Re: 400 bad request

snacktime June 10, 2009 02:13PM

Re: 400 bad request

snacktime June 10, 2009 02:39PM

Re: 400 bad request

Eden Li June 10, 2009 03:06PM

Re: 400 bad request

Dave Cheney June 10, 2009 10:47PM

Re: 400 bad request

snacktime June 12, 2009 07:35PM

Re: 400 bad request

Dave Cheney June 12, 2009 09:00PM

Re: 400 bad request

snacktime June 12, 2009 09:44PM

Re: 400 bad request

Dave Cheney June 12, 2009 10:22PM

Re: 400 bad request

snacktime June 13, 2009 06:29PM

Re: 400 bad request

Jim Ohlstein June 13, 2009 07:16PM

Re: 400 bad request

Rob Schultz June 13, 2009 07:19PM

Re: 400 bad request

snacktime June 12, 2009 09:12PM

Re: 400 bad request

Dave Cheney June 12, 2009 09:36PM

Re: 400 Bad request

Maxim Dounin September 14, 2011 07:14AM

Re: 400 Bad request

Francis Daly September 14, 2011 07:14AM

Re: 400 Bad request

Igor Sysoev September 14, 2011 11:32AM

Re: 400 Bad request

coviex September 14, 2011 01:45PM

Re: 400 Bad request

Igor Sysoev September 14, 2011 02:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 276
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready