You need to sign in to do that
Don't have an account?

HTTP Response with two "Transfer-Encoding: chunked" headers returned from test.
Hi, When we are attempting to get a new access_token using a refresh_token on test.salesforce.com
salesforce is returning a return code of 200, but there are 2 Transfer-Encoding Fields with the value of 'chunked' in the response Header
This seems to be out of compliance with http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6
Which states
Whenever a transfer-coding is applied to a message-body, the set of transfer-codings MUST include "chunked", unless the message is terminated by closing the connection. When the "chunked" transfer- coding is used, it MUST be the last transfer-coding applied to the message-body. The "chunked" transfer-coding MUST NOT be applied more than once to a message-body. These rules allow the recipient to determine the transfer-length of the message
This behavior is not occuring on our login.salesforce.com instance, and I just noticed that it started happening on Tuesday when my Web client started to reject the double chunked response headers.
I'd raise a case for this.
Case Number 07622995 opened (help.salesforce.com).
This just started happening to us over the weekend (sometime after mid-day PT Friday Jun 1)
This is a serious problem for us.
First, we are seeing it on login.salesforce.com: this is happening on the production org.
Part of client infrastructure is Python-based. Python's httplib class concatenates Transfer-Encoding values (as allowed per spec) and when it fails to see "chunked" (instead seeing, "chunked, chunked"), and also fails to see a Content-Length (obviously not there since the server is using chunked TE), it tries to read until close and hangs.
I'm new to this forum: where can I check on the status of case 07622995 and potentially elevate its urgency?
Thanks,
-CK
Do you have a simple repro case for this? I've been unable to reproduce this so far using curl, which shows only a single transfer-encoding:chunked header in the response
Curl confused me, too - because it doesn't print the duplicated header unless you give the '--trace out.trace' option. When I do that, I can clearly see the duplicated header:
Yes, i was using --trace, but was still only getting a single header, i'll try again.
But, looks like the auth team knows what the issue is and is working on getting a fix out. I'll update this with more info when i get it.
ok, i finally stopped fat fingering the curl options, and can see the same trace as you.
Good to hear it's reproducible by others.
Is that case only visible to Salesforce staff? From my partner portal account, I see I can log a new case but not sure how to check status of an existing one. Should I be filing a separate issue?
For any others having the same problem, an ugly brute-force hack to Python httplib.py to be tolerant of the bad extra header is to look for these lines of code:
Not sure why you'd want to log another case, do you have more than one issue (i only see one mentioned in this thread), I updated your case to link it with the bug #, you should be able to call support and get more details on when the fix is being released.
What bug # is that? URL? So far all I have on my case (07622995) is "its a know issue and our senior team is working". Thanks!
For any Perl folk out there, here's our patch to Net::HTTP which survives the bad Salesforce header. (RT#77240)
Its on the issues list now, see http://success.salesforce.com/issues_view?id=a1p30000000S7JNAA0
Thanks, Simon! That page lists the Fix Status as "Next Patch Release" - does that include an estimated ship date somewhere? (Sorry for all the newbie questions; trying to determine if this is something we should just be patient with for a few days or if we need to roll out patched Python distributions everywhere, etc.)
Thanks, -CK
You can call support (sorry, yes, you actually have to call) and the support rep should be able to give an estimated release date.
Looks like they've started deploying the patch that contains this fix.
test.salesforce.com (cs7.salesforce.com) and login.salesforce.com (prg.my.salesforce.com) look fixed to me. I don't know how to test the others. I get INVALID_SESSION_ID errors when I ignore the returned instance_url and hit the others instances.