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

The app shouldn't crash when the connection to a node fails #443

Closed
faboweb opened this issue Feb 5, 2018 · 1 comment · Fixed by #486
Closed

The app shouldn't crash when the connection to a node fails #443

faboweb opened this issue Feb 5, 2018 · 1 comment · Fixed by #486
Assignees
Labels
bug 🐛 issues related to unhandled errors in the code that need to be fixed

Comments

@faboweb
Copy link
Collaborator

faboweb commented Feb 5, 2018

Apparently the app crashes, when gaia can't connect to a certain node. The expected behavior is, that the app chooses a new node and tries to connect to that node.

@faboweb faboweb added the bug 🐛 issues related to unhandled errors in the code that need to be fixed label Feb 5, 2018
@jbibla
Copy link
Collaborator

jbibla commented Feb 5, 2018

in addition... i think we should consider refreshing the view for the user when we reconnect. otherwise, the view just displays the loading graphic and you have to refresh manually.

electron  gaia server ready
          reconnected to 159.89.3.34:46657

electron  requesting to reconnect

electron  Picked seed: 159.203.88.224:46656 of [ '178.62.35.120:46656',
            '138.68.21.243:46656',
            '159.203.88.224:46656',
            '138.197.131.102:46656',
            '95.85.37.158:46656',
            '159.89.3.34:46656' ]

electron  1:20:16 PM 159.203.88.224:46657 is alive

electron  quitting running baseserver
          starting gaia server with nodeIP 159.89.3.34:46657
          startBaseserver /Users/jolesbi/.Cosmos-dev/baseserver
          spawning /Users/jolesbi/goApps/bin/gaia with args ""rest-server" "--port" 9070 "--home" "/Users/jolesbi/.Cosmos-dev/baseserver" "--node" "159.89.3.34:46657""

electron  gaia exited with code null

electron  gaia: 2018/02/05 13:20:16 Serving on ":9070"

electron  gaia server ready

electron  reconnected to 159.89.3.34:46657

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 issues related to unhandled errors in the code that need to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants