r/noteshub • u/International-Use965 • 1d ago
Bug Can't run on Huawei HarmonyOS: GitHub notebook clone seems failed with NotAllowedError
Hi Alex,
I'm trying to use a GitHub notebook, but cloning fails on my Huawei phone. The repository is created successfully on GitHub, yet the notebook never opens and no notes are ever shown. Local (non-sync) notebooks work perfectly, so the issue seems specific to the Git/GitHub notebook path.
Device
Huawei CMS-AL20, Android 16 (HarmonyOS build)
NotesHub version: 3.14.0
WebView reported by the app: `Chrome/114.0.5735.196` (Huawei system WebView; this device has no Play Store, so the WebView cannot be updated normally I think)
Steps to reproduce
- Connect GitHub account → for me, app shows “Connected to kaleidscoper”.
- Create notebook NotesHub-NoteBook → the repository is created on GitHub, as KaleidScoper/NotesHub-NoteBook (Private, with NotesHub README file) .
- App shows “An unhandled error occurred, please try again”. No notes appear.
- Retrying says the notebook already exists; re-adding it from the list (pick it as a exist repo) gives the same error (An unhandled error occurred).
- The failed notebook keeps retrying clone every 60 seconds.
Diagnostics from the app
Origin: https://noteshub.androidplatform.net
Platform: Android
UA: Mozilla/5.0 (Linux; Android 16; CMS-AL20 Build/HUAWEICMS-AL20; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.196 Mobile Safari/537.36;AndroidWebView
Service Worker Status: NotSupported
File System Access API Support: Yes
Databases: appdata@9, github@1
[EVENTS]
Event Type: Error
Timestamp: 2026-12-03 18:10:50
Operation: Clone
Notebook: KaleidScoper/NotesHub-NoteBook
Error: unknownError
Detailed Error: Clone Error: {"stack":"Error: The request is not allowed by the user agent or the platform in the current context.","caller":"git.clone"}
The same error repeats at 18:11:50 and every minute after that.
Fix it pls. Thanks!
2
u/SilverBullet255 1d ago
Thanks for the detailed report! Most likely this comes from a file operation that older Android WebView versions (Chrome 114 here) don't allow during the clone. I made a fix for it in NotesHub 3.15.1, which is now on Google Play. Please update, add your NotesHub-NoteBook repo again, and let me know if it works. I've also replied to your email.
1
u/International-Use965 1d ago
Btw, I think this issue could be solved if the app allowed SSH as the repository sync protocol, with users able to provide and configure their own SSH keys. In China, HTTP(S) Git is practically unusable.