Smart HTTP not working #625
Closed
opened 2024-03-06 18:30:12 +00:00 by ncrmro
·
5 comments
No Branch/Tag Specified
No results found.
v10.6.0
v10.5.0
v10.4.1
v10.4.0
v10.3.0
v10.2.0
v10.1.4
v10.1.3
v10.1.2
v10.1.1
v10.1.0
v10.0.2
v10.0.1
v10.0.0
v9.6.1
v9.6.0
v9.5.1
v9.5.0
v9.4.0
v9.3.0
v9.2.1
v9.2.0
v9.1.0
v9.0.4
v9.0.3
v9.0.2
v9.0.1
v9.0.0
v8.3.0
v8.2.0
v8.1.0
v8.0.3
v8.0.2
v8.0.1
v8.0.0
v7.0.4
v7.0.3
v7.0.2
v7.0.1
v7.0.0
v6.0.5
v6.0.4
v6.0.3
v6.0.2
v6.0.1
v6.0.0
v5.0.9
v5.0.8
v5.0.7
v5.0.6
v5.0.5
v5.0.4
v5.0.3
v5.0.2
v5.0.1
v5.0.0
v4.1.1
v4.1.0
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.0
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.11
v2.1.10
v2.1.9
v2.1.8
v2.1.7
v2.1.6
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.0
v1.5.5
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.9
v1.4.8
v1.4.7
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
Labels
Clear labels
has/backport
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/other
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: lunny/helm-chart#625
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Howdy I'm trying to use Obsidian Git Sync over HTTP and I get a Smart HTTP error. I did a bit of reading and this seems to be a CGI scrip that gets executed but I'm using ingress-nginx. I guess I would need to put gitea behind apache? I know nginx can do CGI also I think but I recall it not being supported well by ingress-nginx.
Any pointers or ideas?
In what way is this related to the helm chart? Happy to help if so. 🙂
@justusbunsi Smart HTTP is releated this this helm chart because Gitea at the application layer seems to support it, it is astandard feature in Github etc and it a feature in core git. I'm not able to sync Obsidian Notes git plugin to my private gitea instance installed via this helm chart.
Per Gitea guidelines for back end deployment
Helm Charts typically should set any required or optional infrastructure or at least provide notes mentioning certain features (like Smart HTTP) won't work without additional configuration.
I've checked the go-gitea/gitea repo and this one for issues mentioning Smart HTTP and I'm not finding a lot.
I'm just wondering if anyone has any details or solutions around getting Smart HTTP functionality to work and provide a place to show up for others searching for this issue.
I've never come across Smart HTTP and i'm just hopping to get Obsidian git plugin working (i'm sure others will also like to keep their notes hosted on private git).
Hrm. I'm still not sure if the error is related to the chart. But since I cannot rule out an issue, let's think about it 🙂: Your initial post reads like you are uncertain about the proxy being an issue here. If you want to be sure that it's not the proxy, you could try using a port-forward for testing. If you can use Obsidian sync with it. That way you are not routing through ingress-nginx.
That said, could you share your values.yaml (those different/added to the defaults)? And do you have some bullet point reproduction instructions? I've never used obsidian so far.
@justusbunsi Its less that I think the proxy is the issue and more that I know I've not done anything to inform ingress-nginx ff the CGI settings that I think Smart HTTP would be set up as.
I have ran into this CGI bit in other helm charts and they typically have Apache handling any CGI.
To your point though I should prob check with the Gitea team on how Gitea implements this CGI.
Obsidian Works fine when using SSH key, on iphone thought you need a password + HTTP hence why I think this is happening. You have to download the repo zip extract and paste it over the obsidian vault in the iphone files app to get the .git folder inplace with the HTTP remote setup.
There is a community plugin that handles the git backups.
@justusbunsi also thank you, apologies if i'm being terse and a bit hard to follow here.
I've also made a post on the forums in an attempt to see if anythin special needs to be done for the Smart HTTP stuff to work.
https://forum.gitea.com/t/gitea-smart-http/8716