Upload/Download files trouble

Maybe i’m doing something wrong (new user alert) but i have trouble with uploading files from my local network and downloading files from the Astroprint.

Sometimes uploading works. Most of the time i get an ‘internal server error’. When i refresh the browser window, the upload shows up on the Astrobox as being 0.1 K and it starts analyzing and never stops.

When downloading from Astroprint the progress indicator only goes to <100% and then quits. I don’t get any errors. If i refresh the browser window, the download shows up on the Astrobox as being xK and it starts analyzing and never stops.

1 Like

OK, tried a new SD Card, all seems fine, but after a few prints same problem.

I also get ‘BAD REQUEST’ errors trying to upload to Astrobox.

There was a known error when uploading files to the AstroBox if you’re not logged in as a user. Could this be your problem?

Keep having problems. Fresh installs, new sd cards, new rpi’s. Always the same pattern. At first upload and cloud download works, after an hour i get errors writing.

I just checked and the box card is 100% full.

Removed the 4GB sd card. Wrote a fresh image on an 8GB sd card. Inserted, ran setup, uploaded and downloaded some files. And an hour later, sd card full again.

If you go into the astrobox settings screen and go under advanced on the left there is a section titled logs does this show a large size?

Nope, just 4KB…

Only one error in log file

2015-06-17 17:43:02,817 - EepromReader - ERROR - Could not find AstroBox/src/ext/makerbot_driver/EEPROM/eeprom_map_707_0x00.json

Are you using raspi-config to make sure your expand the filesystem to use the full size of your card ?

1 Like

yup! Monitored the new install.

I could see rootfs usage rising till it reached 100% and then the problems started again.

Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 7513804 7497420 0 100% /
/dev/root 7513804 7497420 0 100% /

What do you do while the filesystem is filling up? How long does it take ?

That is the strange thing. I do nothing just left it overnight. I don’t know exactly how long it takes, but when i came back this morning it was full again.

It probably has to do with logging. What’s he size of /var/log/syslog?

/var/log/syslog -> 2.6GB

/var/log/kern.log -> 2.6GB

Log lines that filling logs, i removed the repeats
Jun 17 18:11:34 astrobox-9039 kernel: [ 34.916666] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2162644k SSFS
Jun 17 18:30:30 astrobox-9039 kernel: [ 1146.453348] Transfer to device 5 endpoint 0x2 frame 929 failed - FIQ reported NYET. Data may have been lost.
Jun 17 18:30:40 astrobox-9039 kernel: [ 1154.830547] STV06xx 1-1.5:1.0: URB packet length is smaller than the specified chunk length
Jun 17 18:30:40 astrobox-9039 kernel: [ 1156.502700] dwc_otg_hcd_handle_hc_fsm: 237 callbacks suppressed
Jun 17 18:30:40 astrobox-9039 kernel: [ 1156.502741] Transfer to device 5 endpoint 0x2 frame 737 failed - FIQ reported NYET. Data may have been lost…
Jun 17 18:30:45 astrobox-9039 kernel: [ 1160.720305] STV06xx 1-1.5:1.0: URB packet length is smaller than the specified chunk length
Jun 17 18:30:51 astrobox-9039 kernel: [ 1168.113826] gspca_main: ISOC data error: [22] len=0, status=-71
Jun 17 18:30:51 astrobox-9039 kernel: [ 1168.120158] STV06xx 1-1.5:1.0: URB error -71, resubmitting
Jun 17 18:30:52 astrobox-9039 kernel: [ 1168.136182] STV06xx 1-1.5:1.0: URB error -71, resubmitting<3>[ 1168.145817] gspca_main: ISOC data error: [0] len=0, status=-71

Did some searching, seems related to the webcam. Now trying it with another model. After about one hour no increase in disk usage visible.

I’m running this without WIFI, could that be a factor?

Also i’m seeing a avahi-daemon[2103]: Invalid response packet from host in the logs every 3 to 5 seconds. Could that be a problem?

OK, Disk is being filled again.

This time with

pwc: Iso frame 9 has error -71

This also seems Cam related. Maybe i should look for more a compatible cam.

Will test without Cam now

What camera are you using?

Without the Cams no problems.

The two cams i used where old logitech cams, no id’s/#/names on cams. They should be linux compatible and where seen by Astrobox.

But i will go and look for a cheap compatible cam.

Thanks for your support!