Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署好之后,客户端提交,提示406 #1

Open
hsh6333 opened this issue Oct 14, 2020 · 3 comments
Open

部署好之后,客户端提交,提示406 #1

hsh6333 opened this issue Oct 14, 2020 · 3 comments

Comments

@hsh6333
Copy link

hsh6333 commented Oct 14, 2020

git.exe push --all --recurse-submodules=check --progress "ccsaas"
fatal: unable to access 'https://1746046180428486.cn-hangzhou.fc.aliyuncs.com/2016-08-15/proxy/git-lfs-95a4/lfs/Repo.git/info/lfs/': The requested URL returned error: 406

报406错误,不知道哪里的问题
我的QQ 469926609,看到请回复一下,给我发邮件也行

@zhxxch
Copy link
Owner

zhxxch commented Oct 16, 2020

fatal: unable to access 'https://1746046180428486.cn-hangzhou.fc.aliyuncs.com/2016-08-15/proxy/git-lfs-95a4/lfs/Repo.git/info/lfs/': The requested URL returned error: 406

报406错误,不知道哪里的问题

@hsh6333

406错误的意思是不支持客户端请求的(MIME)格式。但git-lfs客户端不会出这种问题,所以您的git程序在向git-lfs服务器发送请求。

正常情况下git.exe向git远程地址发送请求,git-lfs.exe向git-lfs远程地址发送请求,在本lfs服务器的设计中,这两个远程地址的功能截然不同,不可相互替代。因此您需要分别配置git本身使用的仓库地址remote.<remote-name>.url以及LFS地址remote.<remote-name>.lfsurl

@hsh6333
Copy link
Author

hsh6333 commented Nov 2, 2020 via email

@zhxxch
Copy link
Owner

zhxxch commented Nov 3, 2020

@hsh6333
请尝试一下官方版LFS服务器能不能满足您的使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants