Android Question Rapid debugger failed to connect to process

Blueforcer

Well-Known Member
Licensed User
Longtime User
On one device i cant start my app with rapid debugger with USB ADB.
Seems like the port is blocked for any reason. a bit crazy since i dont use network.
I also tried to wipe the complete device but with no success.
It works on my Smartphone but not on our industrial panel.
Any tips?

B4X:
no available voice recognition services found for user 0
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=de.dinotec.netplus/.main} from uid 2000
Start proc 5140:de.dinotec.netplus/u0a72 for activity de.dinotec.netplus/.main
seccomp disabled by setenforce 0
Class anywheresoftware.b4a.BA failed lock verification and will run slower.
Common causes for lock verification issues are non-optimized dex code
and incorrect proguard optimizations.
attachBaseContext
common created.
Starting remote logger. Port: 57213
java.net.SocketException: socket failed: EACCES (Permission denied)
    at java.net.ServerSocket.createImpl(ServerSocket.java:309)
    at java.net.ServerSocket.getImpl(ServerSocket.java:259)
    at java.net.ServerSocket.bind(ServerSocket.java:377)
    at java.net.ServerSocket.<init>(ServerSocket.java:237)
    at java.net.ServerSocket.<init>(ServerSocket.java:181)
    at anywheresoftware.b4a.remotelogger.Connector.mainLoop(Connector.java:67)
    at anywheresoftware.b4a.remotelogger.Connector.run(Connector.java:53)
    at java.lang.Thread.run(Thread.java:764)
Skia GL Pipeline
java.net.SocketException: socket failed: EACCES (Permission denied)
    at java.net.ServerSocket.createImpl(ServerSocket.java:309)
    at java.net.ServerSocket.getImpl(ServerSocket.java:259)
    at java.net.ServerSocket.bind(ServerSocket.java:377)
    at java.net.ServerSocket.<init>(ServerSocket.java:237)
    at java.net.ServerSocket.<init>(ServerSocket.java:181)
    at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:143)
    at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:119)
    at java.lang.Thread.run(Thread.java:764)
android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
Initialized EGL, version 1.4
Swap behavior 2
open gpu gralloc module!
Displayed de.dinotec.netplus/.main: +282ms
Shutting down VM
System.exit called, status: 0
VM exiting with result code 0, cleanup skipped.
Attempting to set client state on removed layer: Splash Screen de.dinotec.netplus#0
Attempting to destroy on removed layer: Splash Screen de.dinotec.netplus#0
channel '15d61f5 Toast (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
 

Blueforcer

Well-Known Member
Licensed User
Longtime User
Is this a regular device? It looks like something restricts the app from opening the network port.
No its an industial panel, it had works at the beginning, but after some time it stops working.
But why it needs to open a network port if i want to debug with adb? The device is not connected to any network.
 
Upvote 0

Blueforcer

Well-Known Member
Licensed User
Longtime User
The IDE communicates with the device over the network connection. The network connection is bridged though ADB. There is no other way to communicate.
Since i have full root access to this device, is it possible to allow this port?
 
Upvote 0
Top