Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    i have the full path from the former
    anders
    @tabcat00:matrix.org
    [m]
    determineAddress will basically create a manifest and return the address of the manifest
    you can use the address in the .open method to get the db/store
    the access control options are in determineAddress and not in .open because they are part of the manifest which is immutable
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    i see
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    okay, adding a lot of entries causes write events publishing on pubsub
    but still not persisting
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    how long should it take to open the store usually
    if i havent opened it before
    and it resides on another node
    anders
    @tabcat00:matrix.org
    [m]
    the manifest is persisted in ipfs, other nodes need it to open the database. if another node cant resolve it then the nodes arent able to communicate for whatever reason
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    oh do i need ipns pubsub
    anders
    @tabcat00:matrix.org
    [m]
    if it can find it after a while thats pretty normal but can be sped up by connecting the nodes so the content is found faster
    ipns wont help here i think
    we need pubsub and ipfs/ipld which are a bit different
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    setting logger to log just log the cache stuff is not super helpful haha
    just tells me its trying
    anders
    @tabcat00:matrix.org
    [m]
    if you want to try you can downgrade orbitdb to 0.27 but i dont think this will help
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    i think its a ipld issue? unable to open database: unable to fetch database manifest, timed out
    it was trying to open something along the lines of Post "http://127.0.0.1:5001/api/v0/block/get?arg=%2Fipld%2Fbafyreif[stuff]66sccjv4"
    anders
    @tabcat00:matrix.org
    [m]
    you cant fetch the manifest you wrote to the ipfs node
    unless that is a different node than the one the manifest was created on
    but you still cant fetch it from ipfs/ipld
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    it is on a different node
    anders
    @tabcat00:matrix.org
    [m]
    the nodes arent able to communicate
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    ah
    anders
    @tabcat00:matrix.org
    [m]
    they cant find each other
    can you still not load anything on the node that wrote the entries in the first place
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    im using orbitdb control center to create to try to reduce the amount of potentially wrong things
    ill try using my apps creation settings and seeing what happens
    still times out if i set a timeout
    otherwise hangs?
    anders
    @tabcat00:matrix.org
    [m]
    it wont timeout if its using go-ipfs
    its broken for the block api + ipfs http api
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    i set it to time out after 5 seconds so i wouldnt be sitting for hours haha
    but trying to access a local store does not hang!
    but still no writes
    is orbit address supposed to be all lowercase, actually
    anders
    @tabcat00:matrix.org
    [m]
    i dont know what you mean
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    i noticed when i created a db in control center it was mixed case
    anders
    @tabcat00:matrix.org
    [m]
    they may use different encoding
    i dont know
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    ah
    anders
    @tabcat00:matrix.org
    [m]
    orbitdb control center doesnt use the latest orbitdb version
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    ah, alright
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    load isnt timing out, just not writing though
    anders
    @tabcat00:matrix.org
    [m]
    plz send a code snippet of opening a store, writing, closing, opening and loading and then reading there are no entries
    this should all be done from the same orbitdb/ipfs node
    Seven Zant (Disco Time)
    @f:matrix.thedisco.zone
    [m]
    this is all i have right now, sorry about all the helper packages