This is a migrated thread and some comments may be shown as answers.

HTTPS Traffic gets captured in Charles but not Fiddler, Fiddler causes error in Jetty Java library

1 Answer 131 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Arya
Top achievements
Rank 1
Arya asked on 02 Oct 2016, 07:18 PM

Initially I thought this was a bug from the Jetty HttpClient Java library, after I filled out a bug report and things were checked into we found out that Fiddler proxy replies to the CONNECT with a response that contains Connection: close.

I tried to capture the same traffic in Charles and it's working with no issues. Here is the link to my Jetty bug report page.

https://github.com/eclipse/jetty.project/issues/973#issuecomment-250836144

 

Here is the link to the log file  http://dropcanvas.com/11ltw

 

Any idea why it's working fine in Charles but not in Fiddler?

1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 07 Oct 2016, 04:29 PM
Hello,

That seems to be a bug in Jetty indeed. Connection:close does not mean close the connection after getting the response to CONNECT request. This is a good discussion on the subject - http://stackoverflow.com/questions/22875092/why-fiddler-adds-connectionclose-on-connect-response. There are many others, too. Eric Lawrence did a good job explaining that a couple of times.

So while waiting for a fix as a workaround you could remove the Connection header with FiddlerScript before sending the reply to the client.

Regards,
Tsviatko Yovtchev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
Arya
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or