Get content length zero

Skip to first unread message

muhamad iqbal

Apr 21, 2017, 10:48:49 PM4/21/17
to Printer
Hi All,
I'm using arduino yun to develop this printer.
If I saw the debug, it seems I connected to the backend,
but I can't get the data.
I've tried using GET and the result is nothing:
curl -X GET " HTTP/1.0" -H "Accept: application/vnd.exciting.printer. A2-raw" -H "X-Printer-Version: 1.0.6" 

this is my debug result
6074: Writing to test.txt...
6113: wrote:
6117: done.
6118: Inital Loops
6267: Cache Filename /mnt/sda1/TMP
6268: Attempting to connect to
6524: Yeay Connected
6669: Waiting for data
6684: Waiting for data
6699: Waiting for data
6713: Waiting for data
6727: Waiting for data
6742: Waiting for data
6755: statusOk :1
6780: calculating content_length :0
6780: Content length: 0
6790: Waiting for data
6799: Server disconnected
6814: content_length :0
6818: Bytes: 0
6819: Duration: 700


James Adam

Apr 22, 2017, 3:30:03 AM4/22/17
t looks like something was clogging the print queue; I've restarted the backend and the queue is now back to zero (you can see the number on the right hand side of Hopefully that means your arduino will have some data to download now!

– James
You received this message because you are subscribed to the Google Groups "Printer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit
Reply all
Reply to author
0 new messages