stacks-core icon indicating copy to clipboard operation
stacks-core copied to clipboard

GET v1/stores 500 (Internal Server Error)

Open wackenvoss opened this issue 9 years ago • 5 comments

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:

screen shot 2017-11-28 at 12 44 06 pm screen shot 2017-11-28 at 12 43 34 pm screen shot 2017-11-28 at 12 43 16 pm screen shot 2017-11-28 at 12 49 49 pm

wackenvoss avatar Nov 28 '17 18:11 wackenvoss

@larrysalibra @jcnelson @kantai

wackenvoss avatar Nov 28 '17 18:11 wackenvoss

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.

dantrevino avatar Nov 30 '17 15:11 dantrevino

full log is here if you want it: https://gist.github.com/dantrevino/2f4b151e0f04e4ea1f8d7820c7c8f6cc

dantrevino avatar Nov 30 '17 15:11 dantrevino

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

kantai avatar Jan 09 '18 18:01 kantai

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.

blockstack-devops avatar Dec 08 '24 00:12 blockstack-devops