gaia
gaia copied to clipboard
Any way to know the status of a GAIA hub service?
Since Jan 18 2020 we have seen a change of behaviour when putting a file in a gaia hub space. We get a file update it, and put it back. Then getting it again, only the initial contents are seen. Behaves as a blocked file. The same happens for different users. Is there any commands to know the status of a Gaia hub service? Space available, state of the files, etc?
Has the behaviour of the Gaia Hub funtionality changed?
Are you seeing this behavior on the PBC hosted hub at https://hub.blockstack.org? Or are you running your own Gaia hub?
Yes, the behaviour is seen on https://hub.blockstack.org . The putfile works when there is no existing file, but now if exists, it does not replace it. The .then indicates that the saving was succesful, but when we get the contents of the file, it only has the original data.
@zone117x We are still facing problems with the update of files (put a file with an existant file with the same name) in the Gaia Hub Server hosted by PBC. Can create a file, but then cannot be updated. It maintains the same content. Also we see some intermittance when putting a new file. This started happening last Friday 17th. It behaves like this, does not matter if the user has a new account or old. Our application cannot be used because of this. Any ideas?
@zone117x We are still facing problems with the update of files (put a file with an existant file with the same name) in the Gaia Hub Server hosted by PBC. Can create a file, but then cannot be updated. It maintains the same content. Also we see some intermittance when putting a new file. This started happening last Friday 17th. It behaves like this, does not matter if the user has a new account or old. Our application cannot be used because of this. Any ideas?
Experiencing the same thing.
@Nsandomeno Did you notice that new files now (today) are not set as readonly? And probably some of the old ones kept like that?
@paradigma-cl I have not noticed that but my files are still not successfully uploading to Gaia as they once were. Still no sign of any solution to this. I would have thought an issue like this would have been experienced more broadly.
@Nsandomeno Have you seen the same behaviour with different users? Since, this morning (Thursday) we noticed that new files could be uploaded and updated. The older ones, most of them, the behave as readonly. Maybe the folder you are using is redonly also? It could be good to check that.
I ran into the following today:
POST https://hub.blockstack.org/store/1AdqWQnAMsb8uQsrZy96G2P7HYd1zkpMnr/key.json 500
App.vue?234e:175 error uploading public key: Error: Error when uploading to Gaia hub
at Object.eval (hub.js?a757:45)
at Generator.next (<anonymous>)
at fulfilled (hub.js?a757:4)```
I'm using blockstack 19.3.0.
Looks like there was an unintended breaking change with the Azure driver (used by the public hub), where uploading zero-byte length files triggers this error. Can anyone confirm that this is the use case?
The error is also triggered when content-length
is missing from the POST request. However, if I understand correctly, it is not possible to omit that content-length
in a regular web browser fetch
POST request w/ CORs. It would require using a lib/tool outside the web browser (like in a node.js app, electron, native mobile app, etc) -- is anyone doing this?
I'll open issues for fixing the zero-byte error and improved error handling rather than a 5xx. Could also allow unspecified content-length, need to review and make sure this won't cause any other problems.
This started working for me again on Monday without any changes to my code. Today I am now running into: Failed to load resource: the server responded with a status of 404 ()
... again no changes to code.
We need to write a diagnostic tool telling us what is the state of the Gaia Storage as I proposed in https://forum.blockstack.org/t/problems-of-permissions-and-accesability-of-gaia-hub/10208/7?u=proe