AstroPrint.com can't be reached

I’m trying to set up Astrobox on Raspberry Pi. Everything went smoothly until I hit the page ‘AstroPrint.com Account’, on which I got an error AstroPrint.com can’t be reached.

I’m pretty sure I entered the correct user name and password. I directly logged into astroprint.com with the same credentials without any problem.

I ssh’ed to Astrobox (Raspberry Pi) to test the connectivity. Connection to api.astroprint.com:80 is ok but api.astroprint.com:443 times out. I’m sure 443 port is not blocked, since it’s my home network and every other SSL websites work ok.

Any clue on what could go wrong here?

Try these commands:

$ wget https://api.astroprint.com/check
$ cat check

The result should be:

{"status":"ok"}
1 Like

pi@astrobox:~ $ curl https://api.astroprint.com/check {"status":"ok"}

However I’m still getting the error message.

Is there a way to turn on verbose logging (level=DEBUG) in Astrobox to check what happened?

Honestly guys this software is infuriating. I get the same error of Astroprint.com can’t be reached" I have tried the above and like Kenneth and tried the
$ wget https://api.astroprint.com/check
$ cat check

{“status”:“ok”}

And all checks out. What gives?

This is not to mention about 50% of the time the PiCam works only on stills. Even though it works fine on other pi’s with raspbian and that the initial boot did not create a wifi hotspot so I hooked it up to a monitor and set up the wifi via command line…

I have tried this on several pi’s a B, B+, zero, zeroW, and A. All with approved wifi dongles and all confirmed to work on other os’s and devices. UGH!

I am sorry I am complaining, one error is acceptable but every step I take it is another issue.

I have googled it https://www.google.ca/search?q=astroprint+cannot+be+reached&oq=astroprint+cannot+be+reached&aqs=chrome..69i57.5816j0j7&sourceid=chrome&ie=UTF-8#safe=off&q=“astroprint.com+can’t+be+reached”&*

Nothing there nor on this forum shows me anything others than people like me having the issue but not one solution

I’m going to respond here using also some information your provided in the support ticket you openend for the benefit of others that might have similar problems.

While the WiPi dongle is supported on the Pi platform we have a more restrictive number of dongles that we support. The reasons why and which ones these are can be found here: https://astroprint.zendesk.com/hc/en-us/articles/203641685-Which-WiFi-USB-dongles-are-supported-

Due to this you didn’t see a hotspot and went on to configure the network manually which led to the problem you’re having. When network is configured manually via the command line, you also need to do this: https://astroprint.zendesk.com/hc/en-us/articles/207866186-Can-I-configure-the-Raspberry-Pi-network-myself-

Since you can take photos, your camera problems might be related to webrtc compatibility as explained here: https://astroprint.zendesk.com/hc/en-us/articles/209139946-Browser-support-for-AstroBox-Live-Streaming

1 Like

Looks like you are struggling with similar problems that I have struggled with. Do you want to shoot me a private message so that we can help each other?

@Kenneth_Jiang did you read my recommendations? Were you also using an unsupported dongle and / or configured the network manually?

Setting up the network myself link fixed my issues. The wifi was a WiPi and not approved thus having to set up manually. The camera issue still persists, the still picture works but not streaming video. I am on a Mac and wish it was supported for the camera but I also have a PC to test with and the video stream does not work on it either with both a USB webcam and also the pi cam. Also the fact that iOS is not supported is disappointing. None of the camera stuff is a huge deal but it would be awesome to have.

Thanks for the help I am up and running now.

Can I offer a suggestion? Octoprint has a txt file on the SD card one can edit with a text editor before booting up to manually set up the wireless. Is it possible for Astroprint to do the same? It would make the install go much better for us tinkering types.

@Ben, the “manual” network does that. It basically gives all network configuration responsibility to the user.

If you can take photos, your problem is not the camera. It’s likely WebRTC compatibility issues. More info here: https://astroprint.zendesk.com/hc/en-us/articles/209139946-Browser-support-for-AstroBox-Live-Streaming

If you don’t care for live streaming over different networks and are happy with streaming over local network only (basically what ocotoprint does) you can do this also: https://astroprint.zendesk.com/hc/en-us/articles/216985186-Alternative-Camera-System-for-Raspberry-Pi

Ok Ill give that a go with local streaming. Thanks.