-
Notifications
You must be signed in to change notification settings - Fork 459
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
docs: add git clone eof error troubleshooting #1009
docs: add git clone eof error troubleshooting #1009
Conversation
8dfab0d
to
b9c7972
Compare
docs/troubleshooting.rst
Outdated
fatal: the remote end hung up unexpectedly / fatal: early EOF / fatal: index-pack failed | ||
---------------------------------------------------------------------------------------- | ||
|
||
This issue can occur due to problems with your network while cloning edx-platform which is a fairly large repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In what situation does this error occur? Unless I'm mistaken, this happens whenever we run tutor images build ...
command, right? We should tell the reader that, such that they feel confident that the error that we are describing matches their experience.
Also, try to avoid the "you" pronoun whenever possible. For instance, some of the sentences can be rewritten as:
This issue can occur due to network problems while cloning edx-platform which is a fairly large repository.
First, try to run again the same command to see if it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the title with the sample command.
I've removed the "you" pronoun as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You left out the "your network" :) (and below as well)
docs/troubleshooting.rst
Outdated
|
||
This issue can occur due to problems with your network while cloning edx-platform which is a fairly large repository. | ||
|
||
You should first of all try to rerun the command you were trying to run to see if it works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good advice, but it does not inspire confidence. How many times should the user try to re-run the same command? Why should they do that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added that the command should be run once again and why it should be run again.
docs/troubleshooting.rst
Outdated
|
||
You should first of all try to rerun the command you were trying to run to see if it works. | ||
|
||
If that does not work, you can follow the tutorial above for `High resource consumption <#high-resource-consumption-on-tutor-images-build-by-docker>`_ and set `max-parallelism = 1` so that while edx-platform is being cloned, the network is not being utilized by another command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting max-parallelism=1 is not great advice. I would suggest just forwarding the user to the above tutorial, and they can figure out by themselves what is the right paralellism value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed that part and just forwarded the user to the other tutorial.
@regisb Would be please again have a look into it? |
docs/troubleshooting.rst
Outdated
fatal: the remote end hung up unexpectedly / fatal: early EOF / fatal: index-pack failed | ||
---------------------------------------------------------------------------------------- | ||
|
||
This issue can occur due to problems with your network while cloning edx-platform which is a fairly large repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You left out the "your network" :) (and below as well)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Issue
edx-platform
during the build process of theopenedx
/openedx-dev
image.tutor/tutor/templates/build/openedx/Dockerfile
Lines 41 to 43 in 13c420c
Changes
This error has been reported by multiple users, for example here and here. I myself have faced this as well.
The max I could try it out was on a 25 Mb/s wired connection and it still threw the error.