GET v1/stores 500 (Internal Server Error)
In addition to the bug we see in https://github.com/blockstack/blockstack-core/issues/689, we've been getting several complaints about GET requests resulting in a 500 server error. This seems to be happening on several apps being developed. Here are a few complaints I found through Slack:
@larrysalibra @jcnelson @kantai
I was able to create a 500 internal server error by doing rapid-fire putFile() without waiting for the promise return. I was able to recreate this using a blockstack id with and without an associated username.
my code:
blockstack.putFile(STORAGE_FILE, JSON.stringify(this.transactions))
console.log('writing file: ' + JSON.stringify(this.transactions))
console output: https://gist.github.com/dantrevino/334d36b72cef1cc4bc014e6b1039ffca
There are more than 4 successful writes before the error appeared, but I truncated the log.
full log is here if you want it: https://gist.github.com/dantrevino/2f4b151e0f04e4ea1f8d7820c7c8f6cc
Closing this issue, as this endpoint is now no longer used by the latest versions of blockstack.js and blockstack-browser -- and this issue is addressed by performing direct-to-hub storage commands in blockstack.js
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.