Skip to content

[BUG] Android 17: cannot clone repository from server in the local network #1013

Description

@fawick

Describe the bug

I receive a Git operation error while cloning new repository from ssh://git@192.168.42.42:2222/foo/pass.git. The fine-printed error message is

failed to connect from /192.168.42.42 (port 2222) from /:: (port 40704): connect failed: ECONNABORTED (Software caused connection abort)

My pass repository remote is in a Forgejo instance which runs its SSH server on port 2222. I can clone the password store repository to my phone in Termux just fine (I run git clone ssh://git@192.168.42.42:2222/foo/pass.git on the Termux command line on the phone), so it is really not a network issue or reachability problem.

Steps to reproduce

Steps to reproduce the behavior:

  1. Install app and start by cloning repository
  2. Enter my Git repo URL
  3. Click on "Clone!"
  4. See error

Expected behavior

The repository is cloned.

Screenshots

No response

Device information

  • Device: Google Pixel 6
  • OS: Android 17
  • App version: 2.0.0

Additional context

No response

Pinned by agrahn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions