I actually just found this note by searching that exact thing.

I just tried to set it up but have problems with uploading. Can't know for sure if it's the code or my setup because it hasn't provably worked yet. It seems that ctx.request.body is empty. I can confirm that the data comes through the proxy by listening the port with netcat.

I believe this is what triggers the error for me:

if (ctx.request.body) {

upload = await uploadWriteStream(ctx.req);

mimeType = contentType || upload.type;

} else throw new Error("Invalid upload");

blossom-server:rules Looking for match image/png 336ccc3bac7ab8ea4d48e60fabd66bb8f258da997107a1a33585856a8158b6f8 +0ms

blossom-server:rules Found rule for 1 week +0ms

Error: Invalid upload

Browser gets 500 error "Something went wrong".

Reply to this note

Please Login to reply.

Discussion

No replies yet.