Skip to content

Errors when working offline #1014

@jpschewe

Description

@jpschewe

Today I was doing some work without being connected to the internet and ungit kept giving me errors. It seems that it doesn't like not being able to talk to the upstream repository.

2017-12-10T18:16:54.754Z - warn: Responding with ERROR:  {"isGitError":true,"errorCode":"offline","command":"-c color.ui=false -c core.quotepath=false -c core.pager=cat -c credential.helper=/home/jpschewe/src/mungit/bin/credentials-helper 2 8448 fetch origin --prune","workingDirectory":"/home/jpschewe/projects/fll-sw/working-dir","error":"ssh: Could not resolve hostname github.com: Name or service not known\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n","message":"ssh: Could not resolve hostname github.com: Name or service not known\r","stderr":"ssh: Could not resolve hostname github.com: Name or service not known\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n","stdout":""}
2017-12-10T18:16:54.754Z - warn: Sending exception to Sentry.io
raven@2.2.1 alert: failed to send exception to sentry: getaddrinfo ENOTFOUND sentry.io sentry.io:443
raven@2.2.1 alert: failed to send exception to sentry: getaddrinfo ENOTFOUND sentry.io sentry.io:443

Originally posted to mungit at exsilium#9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions