stellar-deprecated / stellar-client

INACTIVE. Browser based client for stellard. This repository is inactive. It points to the stellard network, which is being replaced by stellar-core. Please refer to the replacement repository, interstellar-client, which points to the stellar-core network.
Other
306 stars 74 forks source link

StellarWallet.getWallet unknown error #1158

Open nullstyle opened 9 years ago

nullstyle commented 9 years ago

https://app.getsentry.com/gostellarorg/stellar-client/group/42133629/

This may be a wallet-js-sdk error. The underlying error is "WalletNotFound", but that doesn't make sense since there appears to be a valid logged in session (meaning at some point the wallet existed)

bartekn commented 9 years ago

I don't think WalletNotFound error is a bug in js-sdk. It can throw WalletNotFound only if server responds with a JSON containing code field equal not_found. But a user entered existing username because she successfully opened login_v2 view in stellar-client. Is wallet server behind a caching layer (CloudFlare)? It's strange so it'd be good to investigate more.

There are samples with other errors too:

nullstyle commented 9 years ago

Everything is behind cloudflare, but it should bypass caching for the api actions, especially if they don't provide any cache headers themselves.