Get content length zero

22 views
Skip to first unread message

muhamad iqbal

unread,
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://printer.exciting.io/printer/xxx 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 printer.exciting.io
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

printer.ino

James Adam

unread,
Apr 22, 2017, 3:30:03 AM4/22/17
to gfr-p...@googlegroups.com
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 printer.exciting.io). 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 gfr-printer...@googlegroups.com.
To post to this group, send email to gfr-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/gfr-printer.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages