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

[JGit] Sandbox repositories with LFS fail authentication #55

Open
fbiville opened this issue Jul 2, 2021 · 1 comment
Open

[JGit] Sandbox repositories with LFS fail authentication #55

fbiville opened this issue Jul 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@fbiville
Copy link
Collaborator

fbiville commented Jul 2, 2021

This is a consequence of https://bugs.eclipse.org/bugs/show_bug.cgi?id=535814.

---
 - Update for sandbox https://github.com/neo4j-graph-examples/yelp.git failed with the following error:
java.io.IOException: org.eclipse.jgit.api.errors.JGitInternalException: org.eclipse.jgit.api.errors.FilterFailedException: Execution of filter command 'git-lfs smudge -- 'data/yelp-35.dump'' on file 'data/yelp-35.dump' failed with return code '2', message on stderr: 'Downloading data/yelp-35.dump (915 MB)
	fatal: could not read Username for 'https://github.com': No such device or address
	Error downloading object: data/yelp-35.dump (d73d2c3): Smudge error: Error downloading data/yelp-35.dump (d73d2c35203ec855e09100e53d6607172920769e73b78069cc9c6bdf8b384a26): batch response: Git credentials for https://github.com/neo4j-graph-examples/yelp.git not found.
	
	Errors logged to /tmp/sandbox-updater8621491578302407309/yelp/.git/lfs/logs/20210702T095131.41546237.log
	Use `git lfs logs last` to view the log.
	'
 - Update for sandbox https://github.com/neo4j-graph-examples/twitch.git failed with the following error:
java.io.IOException: org.eclipse.jgit.api.errors.TransportException: Rejected by "pre-push" hook.
	fatal: could not read Username for 'https://github.com': No such device or address
	Git credentials for https://github.com/neo4j-graph-examples/twitch.git not found.
	
---

	at com.neo4j.sandbox.updater.BatchUpdater.updateBatch(BatchUpdater.java:93) ~[classes/:na]
	at com.neo4j.sandbox.Main.run(Main.java:19) ~[classes/:na]
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:791) ~[spring-boot-2.5.2.jar:2.5.2]
	... 5 common frames omitted
@fbiville fbiville added the bug Something isn't working label Jul 2, 2021
fbiville added a commit that referenced this issue Jan 12, 2022
This works around #55

Co-authored-by: Michael Hunger <[email protected]>
fbiville added a commit that referenced this issue Jan 12, 2022
This works around #55

Co-authored-by: Michael Hunger <[email protected]>
@fbiville
Copy link
Collaborator Author

432bb75 (+ aee2e76 and f2a4076) reinstate the Git CLI-based implementation, so that LFS repo can be updated again in CI, thanks @jexp for the help.

I'm keeping this issue open since I'd like to go back to the JGit-based implementation once the aforementioned ticket is resolved.

@fbiville fbiville added enhancement New feature or request and removed bug Something isn't working labels Jan 12, 2022
@fbiville fbiville changed the title Sandbox repositories with LFS fail authentication [JGit] Sandbox repositories with LFS fail authentication Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant