Userland: Bug report - SSH terminal close immediately when no internet connection

Created on 27 Jan 2019  路  5Comments  路  Source: CypherpunkArmory/UserLAnd

Describe the bug

When starting Ubuntu via SSH without any internet connection the terminal open and close immediately, I managed to record my screen and extract this error message:

/data/data/tech.ula/files/support/dbclient: Connection to Motaz@localhost: 2022 exited: Connect failed: Permission denied

[Process completed (code 1) - press Enter]

Steps to reproduce the behavior:

  • Disable WIFI and Mobile data connection or enable Airplane mode

Screenshots

UserLAnd

Device Information

Device: Xiaomi Redmi Note 5 Pro
Android Version: Oreo 8.1.0 (MIUI Global 10.2.1.0)
UserLAnd Version: 2.2.1
The device is not rooted

Additional context

None

All 5 comments

Hmm connect on username@localhost -p 2022 command

There are many people having an issue with the Redmi 5. Thank you for following the template and providing a screen shot. Can you try to get a proot log? You need to stop the app/distro, then go to the app settings and enable proot debugging and then set the proot debugging to level 9. After that, you need to launch again and observe the same crash. Then we need you to provide us with the PRoot_Debug_Log file that was generated. It is normally stored on your (real or emulated) sdcard partition.

If you have internet connection, does the ssh client launch normally?

@corbinlc your welcome :smiley:

If you have internet connection, does the ssh client launch normally?

Yes it's launch without any problems and if you turn off internet connection will still running there no problems also.

PRoot Logo file:
PRoot_Debug_Log

Hi @corbinlc, I found the cause of this problem it's the Restrict data usage in MIUI the Mobile data is disabled so I enabled it and the problem solved.

Restrict data usage

Was this page helpful?
0 / 5 - 0 ratings

Related issues

laem picture laem  路  5Comments

Enzycal picture Enzycal  路  7Comments

freebrowser1 picture freebrowser1  路  7Comments

MaffSi picture MaffSi  路  9Comments

DevelopedLogic picture DevelopedLogic  路  7Comments