The Pico W running my capsule is slow and unreliable (dies after 2 requests?) since a series of power outages a couple of days ago. RIP, maybe back to ESP32? :(
2 years ago · 👍 rick
I definitely had a bug there, my Gemini server didn't distinguish between "nothing was sent" and "nothing can be sent because it's a closed connection". Not sure why I haven't seen this before. · 2 years ago
@rick The server source code is at gemini://gemini.dimakrasner.com/main.py and my Pico runs a fork of micropython (https://github.com/micropython/micropython/pull/10783) with TLS close_notify - use rhell to put a DER key+cert pair and .gmi files in /pyboard and you're done · 2 years ago
gemini://gemini.dimakrasner.com/main.py
https://github.com/micropython/micropython/pull/10783
have you published any more information about how you are hosting this machine? I just bought a 5 W solar panel and I also just learned how to use Tailscale to expose self hosted services on my home network. you just gave me an idea for a fun weekend project – it would be fun to run a low power solar Gemini server. · 2 years ago
@arkaeriit yes, but every time I try to reproduce the problem with a console it just doesn't happen :( · 2 years ago
Ah, sorry! I read it as ”Zero W” 😆 My bad · 2 years ago
@dimkr That's a very strange issue. Do you have any serial log from the Pico you could use to identify the issue? · 2 years ago
@ew0k I had that problem when I used a Raspberry Pi, but I moved to ESP32 and later Pico W so I don't need to deal with a SD card that goes kaputt :( · 2 years ago
it’s most likely the sd card that’s gone kaputt · 2 years ago
@arkaeriit internal :( · 2 years ago
Is the capsule stored in an external flash module such as an SD card or is itwritten to some internal NOR flash? · 2 years ago