error when fetching from git repo

Asked by Toan

I got the below error when fetching from github git repo. Would you please help, and help me what I can do to fix it. thanks

2016-02-18 19:44:43 INFO Starting job.
2016-02-18 19:44:43 INFO Getting exising bzr branch from central store.
2016-02-18 19:44:43 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2016-02-18 19:44:43 INFO 35 bytes transferred
2016-02-18 19:45:01 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2016-02-18 19:45:08 INFO Importing branch.
2016-02-18 19:45:49 INFO 3112940 bytes transferred
2016-02-18 19:55:44 INFO 342 bytes transferred
2016-02-18 19:55:45 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/scripts/code-import-worker.py", line 96, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/scripts/code-import-worker.py", line 91, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/lib/lp/codehosting/codeimport/worker.py", line 583, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/lib/lp/codehosting/codeimport/worker.py", line 737, in _doImport
    inter_branch.fetch(limit=revision_limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/bzrplugins/git/branch.py", line 722, in fetch
    self.fetch_objects(stop_revision, fetch_tags=fetch_tags, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/bzrplugins/git/branch.py", line 745, in fetch_objects
    determine_wants, self.source.mapping, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/bzrplugins/git/fetch.py", line 713, in fetch_objects
    progress=lambda text: report_git_progress(pb, text))
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/bzrplugins/git/remote.py", line 425, in fetch_objects
    lambda x: os.write(fd, x), progress)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/bzrplugins/git/remote.py", line 415, in fetch_pack
    pack_data, progress)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17925/bzrplugins/git/remote.py", line 240, in fetch_pack
    raise parse_git_error(self.transport.external_url(), e)
bzrlib.plugins.git.remote.RemoteGitError: [Errno 104] Connection reset by peer
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

Recipe:

https://code.launchpad.net/~tpham3783/+junk/wireshark

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
Last query:
Last reply:
Revision history for this message
Best William Grant (wgrant) said :
#1

I suspect a change in GitHub's HTTPS git server. I've switched the import to use git:// rather than https://, and it's updated now.

Revision history for this message
Toan (tpham3783) said :
#2

Thanks William Grant, that solved my question.