v1pi: Raspberry Pi Image with Octoprint and CNC.js (and wifi hotspot)

Installed 2018-09-29-v1pi-no-hotspot Everything was working fine on both sides. Then on the CNC.js side I got Forbidden Access when I try to run CNC.js now thats all I get. Etched the Image again, emptied the browser cache. Use different computers. Still can get pasted “Forbidden Access”

Any Ideas?

Update:
http://v1pi.local:8000/#/workspace
works fine

2 Likes

You weren’t trying https were you? I know I have a problem in my haproxy config for https.

I can’t think of a way that’s possible… And I can’t think of what I could have done to cause that.

I’ve been using that image since I made it, but only on my printers, so I haven’t tried the CNC.js side much.

I was using http://v1pi.local:5080

Although 8000 loads it quickly crashes.

[attachment file=“Screen Shot 2018-10-11 at 6.03.34 PM.png”]

Screen-Shot-2018-10-11-at-6.03.34-PM.png

I excel at the improbable. I doubt it is anything you did.

I doubt it too, because I haven’t done much :).

I’ll look through the CNC.js issues tonight. I did update that to the latest.

You jad this worling before, right?

Worst kind of error, intermittent. It just let me in at :5080 after a pi reboot. Then about ten minutes later, Forbidden Access when the page refreshed. Still happily running and loading at :8000.

But you had the previous version working fine?

The actual CNC.js is at :8000. The haproxy is at 5080 amd it’s forwarding those requests to 8000… Why am I doing that? Now you’ve got me thinking…

So…we have had some interesting visit stats today.

[attachment file=71915]
Tooo freaking cool! I love it. Broke into the top 10 even.

v1pistat.jpg

So that’s the link from the landing page, I guess? Is that just from today? I should have installed some ads :).

I really have no idea how many of these are out there. The only thing close is the traffic numbers from the github pages. It doesn’t track release downloads. AFAIK.

I would assume most people don’t use that link to get here, most of the time. So there must be a lot more than 42 of them out there. :smiley: . Thanks for sharing.

You can put me down for at least 10 of those.

Trying to figure out how I screwed up a two step process.

Yes, So… looking over the one file that I had to edit.

network={

ssid=“Ryan”

psk=“Seacrest”

}

country=US

I left this at the bottom of the File:

country=GB # United Kingdom
#country=CA # Canada
#country=DE # Germany
#country=FR # France
#country=US # United States

I’ll try again and see if not being in two places at once helps.

Edits:

  1. Yup, It didn’t like being in two places at once. Damned good thing you knew my SSID and Password. :slight_smile:
  2. Well… Ran for a couple of hours… Then forbidden access again…
  3. Changed the Landing page to point at 8000. So Far, so good.

Change #3 did the trick. Server has been up and running for two todays with no errors. Heres the edit in info.html, changed 5080 to 8000.

[attachment file=“Screen Shot 2018-10-16 at 8.12.31 AM.png”]

 

Screen-Shot-2018-10-16-at-8.12.04-AM.png

No that is the previous browser location, and how many pages were seen after, collectively. So Steve and others were checking there machines and coming to the site. So total pages seen after being at that address for half the day.

[attachment file=71975]

This is just for the page views on the tiny landing page I made, I have to assume the github is much much higher. Sorry sometimes I forget I have these kinds of tools at my disposal. You used to be able to see a flow chart of what page was next but I can’t find it.

v1piststs2.jpg

Huh. So if I was at cnn.com, and I typed V1Engineering.com in the address bar, that gets counted as from cnn.com? I thought it was something more like it only mattered if you clicked a link on cnn.com that took you to v1engineering. I have much to learn about these analytics. I also assumed if you opened a new tab to go to v1engineering, it wouldn’t know that you were just at v1pi.local in another tab. Certainly v1pi isn’t sharing that, so it would have to be the browser sharing that info.

I am not really sure. Does v1pi have a direct link to the site in it?

IIRC, the about links here and the logo links to the homepage.

Jeff, Thanks for making this disk image available. I installed it because I had all the parts laying around. Now I can’t live without it. After recently being retired my MPCNC time has gone way up and this little server has been getting a workout.

2 Likes

Thanks for the nice words, Steve.

I just had to jump on here and give a big thanks and kudos to Jeff!

Just turned on my MPCNC for the first time this past weekend, way too late into the evening on Sunday… Basically just jogged the axes from the LCD, went “yay it moves and there was no smoke!” and went to bed. I don’t have much time to work on things during the week, but decided to try the v1pi image last night, and it was totally painless! Took maybe 25 minutes, and that’s only because I read through all the documentation thinking there certainly had to be more to it.

I’ve done a lot with other RPi images, and I’ve built a 3D printer of my own design from scratch, so I’ve got some experience with working with these things. Between Ryan’s pre-configured Marlin image and Jeff’s v1pi image, this thing felt nearly turn-key! Thank you both for all the work you’ve put in, it’s been a really fun and rewarding experience putting this together.

As an aside, I’m an embedded systems (computer) engineer by trade, so let me know if there’s anything specific you’d like some help with, I’m fairly handy with code. Don’t always have a lot of time to work on projects, but I’d be happy to help where I can.

Now to get this thing trammed in and start making some chips!

2 Likes

Alright! There’s no management around here, so just work on what you want. I can definitely empathize with the time constraints. Thanks for the kind words.

Thank you very much for the image, it makes the installation really easy.

I’ve been playing around with CNC.js and it does not run the gcode as smoothly as Octoprint, there is a short pause every now and then. Has everyone else noticed that?

1 Like