Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

There's no application running at localhost with profiler ag

Moderators: Vladimir Kondratyev, Anton Katilin

There's no application running at localhost with profiler ag

Postby parthibanrey2 » Thu May 21, 2020 9:02 am

I"m getting the below exception when connecting though java apis, but able to profile the same application through profiler UI from different machine.

com.yourkit.util.PresentableException: There's no application running at localhost with profiler agent configured to listen on port 10005
at com.yourkit.api.ControllerImpl.transformException(ControllerImpl.java:360)
at com.yourkit.api.ControllerImpl.makeRequest(ControllerImpl.java:332)
at com.yourkit.api.ControllerImpl.makeRequest(ControllerImpl.java:287)
at com.yourkit.api.ControllerImpl.runBatch(ControllerImpl.java:1193)
at com.yourkit.api.ControllerImpl.<init>(ControllerImpl.java:168)
at com.yourkit.api.Controller.<init>(Controller.java:108)

But when i run the below command in same server, i'm able to see the port running.
ps aux | grep -i 10001
root 12312 0.0 0.1 32080 18888 pts/5 Sl 02:35 0:00 cf ssh -N -T -L 10005:localhost:10001

PFB the agent logs for the remote application.
parthibanrey2
 
Posts: 1
Joined: Thu May 21, 2020 8:45 am

Re: There's no application running at localhost with profile

Postby Anton Katilin » Thu May 21, 2020 9:23 am

Please note that you map port 10005 to 10001:
-L 10005:localhost:10001
In this case you should connect to localhost:10001.
Anyway, please check the ports are correct everywhere.
Anton Katilin
 
Posts: 5947
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.