Sep 19, 2018

How to fix Unable to open socket file: target process not responding or HotSpot VM not loaded

You are running as user1 but the target process seems to be owned
by 'somebody else' - this is not guaranteed to work because of the limitations of
the Attach API:

You can connect only to the same-user processes.