ssbc / multiblob-http Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
in scuttlebot with ssb-ws plugin, with patchbay as client:
GET /blobs/get/&qjeAs8+uMXLlyovT4JnEpMwTNDx/QXHfOl2nv2u0VCM=.sha256
GET /blobs/get/&qjeAs8+uMXLlyovT4JnEpMwTNDx/QXHfOl2nv2u0VCM=.sha256
GET /blobs/get/&Zm/6FJsLdopu3zD1Z9i+uUhzei+t5TFbJV9sseFWpMc=.sha256
GET /blobs/get/&Zm/6FJsLdopu3zD1Z9i+uUhzei+t5TFbJV9sseFWpMc=.sha256
Error: no blob:&qjeAs8+uMXLlyovT4JnEpMwTNDx/QXHfOl2nv2u0VCM=.sha256
at /usr/local/src/ssb-ws/node_modules/multiblob-http/index.js:39:23
at /usr/local/src/scuttlebot/node_modules/multiblob/index.js:141:15
at continuation (/usr/local/src/scuttlebot/node_modules/cont/node_modules/continuable-para/node_modules/continuable-list/index.js:24:25)
at /usr/local/src/scuttlebot/node_modules/multiblob/index.js:114:9
at done (/usr/local/src/scuttlebot/node_modules/multiblob/index.js:41:38)
at FSReqWrap.oncomplete (fs.js:82:15)
_http_outgoing.js:403
throw new Error('Can\'t render headers after they are sent to the client.');
^
Error: Can't render headers after they are sent to the client.
at ServerResponse.OutgoingMessage._renderHeaders (_http_outgoing.js:403:11)
at ServerResponse.writeHead (_http_server.js:184:20)
at /usr/local/src/ssb-ws/node_modules/multiblob-http/index.js:41:13
at /usr/local/src/scuttlebot/node_modules/multiblob/index.js:141:15
at continuation (/usr/local/src/scuttlebot/node_modules/cont/node_modules/continuable-para/node_modules/continuable-list/index.js:24:25)
at /usr/local/src/scuttlebot/node_modules/multiblob/index.js:114:9
at done (/usr/local/src/scuttlebot/node_modules/multiblob/index.js:41:38)
at FSReqWrap.oncomplete (fs.js:82:15)
Getting this with ssb-server master + ssb-ws latest. This is happening when connecting to ws:/localhost:8989~shs:pPnZTDg8XedTXwgRqjMa5CGmDTwBTSuMzdqlAvNI8ck=
with https://github.com/arj03/ssb-browser-demo. No blobs are loading client side either, so could be something to do with the frontend.
/home/tim/projects/ssb-server/node_modules/multiblob-http/index.js:62
blobs.size(hash, function (err, size) {
^
TypeError: Cannot read property 'size' of undefined
at /home/tim/projects/ssb-server/node_modules/multiblob-http/index.js:62:13
at /home/tim/projects/ssb-server/node_modules/ssb-ws/blobs.js:36:15
at /home/tim/projects/ssb-server/node_modules/ssb-blobs/inject.js:292:11
at next (/home/tim/projects/ssb-server/node_modules/ssb-blobs/inject.js:170:7)
at /home/tim/projects/ssb-server/node_modules/ssb-blobs/inject.js:159:13
at /home/tim/projects/ssb-server/node_modules/multiblob/index.js:124:20
at continuation (/home/tim/projects/ssb-server/node_modules/continuable-list/index.js:24:25)
at /home/tim/projects/ssb-server/node_modules/multiblob/index.js:94:9
at done (/home/tim/projects/ssb-server/node_modules/multiblob/util.js:88:38)
at FSReqWrap.oncomplete (fs.js:154:5)
Investigating root cause now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.