Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

[BUG] HTTP Status 401 on pull/push to remote origin #1058

@euh2

Description

@euh2

Describe the bug
I consistenly get 401 (forbidden) status code when trying to pull or push to or from remote repository. On pull my git-server first shows 401 in the logs, then 200, and the repo is updated locally (on my phone). So pull seems to work despite the first triggering 401 on my remote. Maybe the first request does not include authentication?

I then edit someting locally (on my phone) and try to synchronize. On push (or sync) my remote issues 401 and this app asks again for the password (token).

I read previous issues and recent updates addressing this (or similar) issues, but maybe this is something different, I assume.

To Reproduce
Steps to reproduce the behavior:

  1. Have a remote Git-server (Gitea ie.)
  2. Add server URL in this app as https://USERNAME@DOMAIN/URI_ON_SERVER, ie. https://bill@mygit.fqdn.com/bill/secrets.git. When saving this info in the app and pull, you will be prompted for a password (I use app token from Gitea)
  3. Pull seems to work somehow, but try to push or sync and you will again be asked for the password. Server shows only 401, no 200 as when pulling.
  4. When reproduced, comment on this issue!

Expected behavior
Hmm, I really like the Just Works™ philosophy. But I have lots of appreciation for developers working their ways.

Screenshots
Probably not necessary.

Device information (please complete the following information):

  • Device: OnePlus6
  • OS: Stock (Android 10, I believe)
  • App version 1.11.2 (latest available)

Additional context
Gitea is the remote, but I assume this is not relevant (ie. GitNex Android App works with same config)
By the way, when I enable debugging in this app, where are the logs stored? Couldn't find them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions