Unable to connect
Describe the bug A clear and concise description of what the bug is. After having set the server the connection doesn't happen with the following error msg : Authentication failed, please check whether credentials are correct
SSHAuthAbortError(Connection closed before authentication. No auth method tried. No attempts made)
To Reproduce Steps to reproduce the behavior:
- Set a server
- Save it
- See the error
Desired Results A clear description of the result you expected. I expected the connection to be established
Actual Results A clear description of the actual result. No connection was established return error msg
Device Android 16 Pixel 10pro GrapheneOS Server box version 1291
type: logcat
osVersion: google/blazer/blazer:16/BP4A.260105.004.E1/2026011301:user/release-keys
flags: dev options enabled
package: tech.lolli.toolbox:129103, targetSdk 36
buffers: main,system,crash,events,kernel
level: warn
--------- beginning of crash
01-16 16:41:32.967 12723 12723 E AndroidRuntime: FATAL EXCEPTION: main
01-16 16:41:32.967 12723 12723 E AndroidRuntime: Process: tech.lolli.toolbox, PID: 12723
01-16 16:41:32.967 12723 12723 E AndroidRuntime: android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{229011a u0 tech.lolli.toolbox/.ForegroundService c:tech.lolli.toolbox}
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2536)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2504)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2888)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:132)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.os.Looper.dispatchMessage(Looper.java:333)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:263)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.os.Looper.loop(Looper.java:367)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9331)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at com.android.internal.os.ExecInit.main(ExecInit.java:50)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:366)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2200)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ContextImpl.startForegroundService(ContextImpl.java:2139)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:875)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at W3.h.a(SourceFile:1)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at tech.lolli.toolbox.MainActivity.M0(SourceFile:256)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at tech.lolli.toolbox.MainActivity.J0(SourceFile:1)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at W3.i.f(SourceFile:1)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at M2.j$a.a(SourceFile:18)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at D2.c.l(SourceFile:19)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at D2.c.i(SourceFile:45)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at D2.b.run(SourceFile:1)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:1070)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:125)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: ... 9 more
--------- beginning of main
01-16 17:23:32.610 12971 12971 W ImeBackCallbackProxy: Ime callback not found. Ignoring unregisterReceivedCallback. callbackId: 267042053 remaining callbacks: 0
01-16 17:23:34.690 12971 12971 W InputMethodManager: Ignoring showSoftInput() as view=B2.z{ba2f177 VFED..... .F....ID 0,0-1280,2856 #2 aid=1073741824} is not served.
Have you checked your server's IP, port, password or identity keys? This might be related to incorrect configuration on your server or in your app, not a ServerBox itself problem.
android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{229011a u0 tech.lolli.toolbox/.ForegroundService c:tech.lolli.toolbox}
01-16 16:41:32.967 12723 12723 E AndroidRuntime: Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2200)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.app.ContextImpl.startForegroundService(ContextImpl.java:2139)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:875)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at W3.h.a(SourceFile:1)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at tech.lolli.toolbox.MainActivity.M0(SourceFile:256)
01-16 16:41:32.967 12723 12723 E AndroidRuntime: at tech.lolli.toolbox.MainActivity.J0(SourceFile:1)
Have you checked your server's IP, port, password or identity keys? This might be related to incorrect configuration on your server or in your app, not a ServerBox itself problem.
Hey man, I appreciate your help, I would not have open this issue, if it was a misconfiguration of my part, I checked twice and a 2 years old could set it up. Every thing was set up correctly, I'm able to connect with sysadmin app https://github.com/prathameshkhade/SysAdmin which unfortunately is unmaintained. It looks like It's a bug related to my device where the app is no making some connection of foreground service fast enough, so it close...
Have you checked your server's IP, port, password or identity keys? This might be related to incorrect configuration on your server or in your app, not a ServerBox itself problem.
Hey man, I appreciate your help, I would not have open this issue, if it was a misconfiguration of my part, I checked twice and a 2 years old could set it up. Every thing was set up correctly, I'm able to connect with sysadmin app https://github.com/prathameshkhade/SysAdmin which unfortunately is unmaintained. It looks like It's a bug related to my device where the app is no making some connection fast enough, so it close...
Okay I've noticed. Currently I can't reproduce this bug, but I will investigate deeper about SSH connections.
I now understand why it don't work its a server but i connect to it trough app in a docker i don't have access to the server it self! Its an app box, so ill close it and i'm sorry for the confusion. There is no way it cant work.