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

JSON Blob is undergoing some server maintenance. Sorry for any turbulence. #83

Closed
mawais91 opened this issue Aug 25, 2021 · 16 comments
Closed

Comments

@mawais91
Copy link

I had few links on JsonBlob those were live from quite long time. Now I am getting 404 against those links. Any kind of help would be appreciated. Thanks

@Prabesh01
Copy link

same here.
many of my blobs are gone and opening the links show blank page

@mawais91
Copy link
Author

@tburch can you please look into this :(

@tburch
Copy link
Owner

tburch commented Aug 25, 2021

Hi, @mawais91 and @Prabesh01 Do you have IDs? There have been some people abusing the API, which caused it to lose some data Monday afternoon through Monday night (US time).

@mawais91
Copy link
Author

Yes @tburch I do have ids of blob I use in my applications..

@Prabesh01
Copy link

Yeah I too have.

@tburch
Copy link
Owner

tburch commented Aug 25, 2021

@mawais91 @Prabesh01 can you email those to my Github username @jsonblob.com?

@mawais91
Copy link
Author

mawais91 commented Aug 25, 2021

@tburch i have just sent you email that contains ids i am using.

@tburch
Copy link
Owner

tburch commented Aug 25, 2021

@mawais91 and @Prabesh01 this should be fixed. Please re-open if it's not.

@tburch tburch closed this as completed Aug 25, 2021
@Prabesh01
Copy link

@tburch
Yeah this issue has been fixed but am facing another.
The blobs aren't being written. Even if I manually edit blobs from browser, it isn't being saved.

And I noticed that you changed new blob ids from random alpha-numeric to numbers. Why so?

@tburch
Copy link
Owner

tburch commented Aug 26, 2021

@Prabesh01 can you elaborate on blobs not being saved? As far as I can tell, both the UI and API are working as expected (the UI just uses the API).

tburch@Aloysius-Snuffleupagus ~> curl -i -X "POST" -d '{"people":["bill", "steve", "bob"]}' -H "Content-Type: application/json" -H "Accept: application/json" https://jsonblob.com/api/jsonBlob
HTTP/2 201 
date: Thu, 26 Aug 2021 16:51:16 GMT
content-type: application/json
content-length: 35
location: http://jsonblob.com/api/jsonBlob/880494619076501504
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=3hH5qfg%2BcgG0BCRVzGSpt8ljEI5bMPnxR5BxEn5%2BhAPYZtGXxU5pyJ91QkPtxD5e%2BjhZDBvSlk3FTa%2F7cOfVumcTQonZZDJUSPozNj%2FEAPNvHYebTGKzU7FrTrGAbA0%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 684e905869570bef-DFW
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400

{"people":["bill", "steve", "bob"]}
---
tburch@Aloysius-Snuffleupagus ~> curl -i -H "Content-Type: application/json" -H "Accept: application/json" https://jsonblob.com/api/jsonBlob/880494619076501504
HTTP/2 200 
date: Thu, 26 Aug 2021 16:51:42 GMT
content-type: application/json
content-length: 35
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=kxYIYykHJ4iCeE9rof8nxYjTWeh5zcfGrevtedd9f%2FHvMjTPAG6NGrTdWdr5eietcO2Nt3tctei8%2BT1FdQT9jStL%2BIr7Y4zCjYeWgKuUdPV8%2FzWw4otOqpSceG31wU4%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 684e90fb09460b7e-DFW
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400

{"people":["bill", "steve", "bob"]}
---
tburch@Aloysius-Snuffleupagus ~> curl -i -X "PUT" -d '{"people":["fred", "mark", "andrew"]}' -H "Content-Type: application/json" -H "Accept: application/json" https://jsonblob.com/api/jsonBlob/880494619076501504
HTTP/2 200 
date: Thu, 26 Aug 2021 16:53:32 GMT
content-type: application/json
content-length: 37
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ExTXPnalOij0fA0NljG1A%2FzqTyjsjN1ebAvvvNgMmXiVLT1O%2FWnk5LWFRqwW1nhVJMI9hNWlJ7WTn1fo3vkSfy4NLe0DfiXHCxKhSmmp5bDISAvcW5virQAKNvLE3xk%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 684e93ae6c072f91-DFW
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400

{"people":["fred", "mark", "andrew"]}
---
tburch@Aloysius-Snuffleupagus ~> curl -i -H "Content-Type: application/json" -H "Accept: application/json" https://jsonblob.com/api/jsonBlob/880494619076501504
HTTP/2 200 
date: Thu, 26 Aug 2021 16:53:38 GMT
content-type: application/json
content-length: 37
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=pbTbqnwnqaobiSrZ5g1w%2BVteQUYE7N5%2B9%2Fb3Yd6Raqox2fVHK5tXIb2tKCn7GSXp%2FiahHVRibMK51rPWGC0qZHgkMKsufC%2FDnPD9GPJ9rEnW2NDP2fFx9nZORrIIEPs%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 684e93d2f9510efa-DFW
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400

{"people":["fred", "mark", "andrew"]}

The blob IDs have changed throughout the years... at first, they were MongoDB ObjectIds, then type-1 UUIDs, and now they're SnowFlake IDs. I made the change to support running more than 1 instance of JSONBlob to avoid type-1 UUID conflicts on object creation.

@Prabesh01
Copy link

Here's a blobs I am not able to edit and save:

https://jsonblob.com/b8dc3f9f-cb86-11eb-84c9-3b6f8e6f54e3

More blobs I am using have this issue, am just sharing one.

@Prabesh01
Copy link

@tburch
Try editing and saving it then reload, you will see that its not changed at all

@Prabesh01
Copy link

@tburch
Can you confirm that this issue is valid and its not just me facing it?

@tburch
Copy link
Owner

tburch commented Aug 30, 2021

Interesting. I can confirm it's not saving. I'll take a look and see what's going on.

@tburch tburch mentioned this issue Aug 30, 2021
@Prabesh01
Copy link

OK

Update the progress in #91

@tburch
Copy link
Owner

tburch commented Aug 30, 2021

@Prabesh01 fixed #91.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants