Something must have changed btw 1.6.1 and 1.8.1 which make clone fails for any repository which has Private: false
since. Indeed, turning this bit to true by Visibility
checkbox into Gitea repository settings then recreating the drone repo makes the clone operation works.
Gitea is configured with REQUIRE_SIGNIN_VIEW: True
The clone error output the famous:
fatal: could not read Username for 'https://example.com: No such device or address
This post help me to figure this: remote:gitea - Can't build a public repository when gitea's REQUIRE_SIGNIN_VIEW is true · Issue #2468 · harness/gitness · GitHub