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

Tried setting java proxy; Fiddler still not capturing traffic

2 Answers 835 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 11 Jan 2016, 09:17 PM

Hi - running Fiddler Web Debugger (v4.6.2.0) on W7 64

1) Running a java app (q.jar, attached)

2) I set proxy in Java control panel:

Control Panel>Java>General>Network Settings:
Use Proxy Server:
Address: 127.0.0.1 (or localhost)
Port: 8888

3) I launch q.jar (double-click in Windows Explorer) which gives me a java warning message that the app cannot connect to the web server.  This is normal (the web server was taken down a few years ago), so I am trying to use fiddler to redirect to my local server.

But I cannot get fiddler to capture the q.app traffic to get the needed config info for redirection.

Could anyone please help me?

Thanks -

Sam

2 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 14 Jan 2016, 01:16 PM
Hello,

Please, first make sure that Fiddler is running on port 8888 (this could be changed in Fiddler settings).

Then check out what library is q.jar using to handle http traffic. The way you set up the proxy server works only for the standard Java libraries. Custom libraries might have different ways to set up the proxy.

Regards,
Tsviatko Yovtchev
Telerik
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
0
Sam
Top achievements
Rank 1
answered on 14 Jan 2016, 05:59 PM

Thanks very much for you reply.

 >>  make sure that Fiddler is running on port 8888

I assume that means Tools>Fiddler Options>Connections>Fiddler listens on port: 8888

>> check out what library is q.jar using to handle http traffic

I wish I knew how to do this... can anyone point me in the right direction?

I extracted the q.jar file and did a search for "http" and these lines seemed relevant, but I'm ignorant about java and about "http libraries":

QoraanServlets.java:

import javax.servlet.http.*;
...
public class QoraanServlets extends HttpServlet  {
...
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{

 

Tags
Windows
Asked by
Sam
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Sam
Top achievements
Rank 1
Share this question
or