carlcaulkett
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
No pressure 😉 Good luck 🤞
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
I guess not...
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Hi @a2svior! I see that
Lightbug
is up to v0.1.12
as of 2 days ago. Does this mean that you've sorted out the crashing problem?365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
@a2svior Just woken up, and after leaving it in a working state last night, I tried it again, and found that it was failing, this time with a slightly different message...
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Amazingly, it has been up and working for an hour or more, but I just cannot work out what action will cause it to fail... 🤔
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
@a2svior Interesting that sometimes it seems to work okay...
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
np. Good catch 🫴⚾️
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
It seems strange they way the page is sometimes served but not others. Maybe it's some kind of cumulative problem whereby something has to reach a critical level before an exception is thrown... 🤔
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
I see it is the same 😃
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Is this what you had?
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
I'm using Oracle Cloud now but yeah, even when I couldn't access my page by the web,
docker ps -a
was showing...
I didn't know about docker logs container-id
though... I'lll try that now 😉365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Where do I find them?
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
No! That's the confusing thing... the container doesn't seem to be going down, just access to it from outside of Oracle, ie. through http://132.145.47.167:8080, seems to be intermittent...
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
and here is the HTML from my app..
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Here is my Oracle Cloud CLI...
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Now it's not working, I've got visions of some vindictive person radomly flicking a switch on and off to block or allow me access 😮
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Now it's working again. Go figure 🙃
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
It's interesting that for a lot of the time that I couldn't access the web page via the address I've just mentioned, I could still
ssh
into the Oracle Cloud CLI and issue curl http://localhost:8080
and get the full HTML, proving that my app and lightbug were both working as expected. It was just that access to the public web address was being blocked by something, and my first thoughts were that it was firewall related.365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
That's what http://132.145.47.167:8080/ is, isn't it. To give you an example of the hassle I'm having, that address worked 5 minutes ago, but is not working now!
365 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
@Owen Hilyard I've got a problem with Oracle Cloud and I wonder if you might know the answer. My instance is running and Docker is running and hosting my Mojo app just fine. If I
ssh
inyo the Oracle Cloud and issue a curl http://localhost:8080
the correct HTML comes back proving that the Mojo app is running.
Where I'm having problems is accessing the page via http://132.145.47.167:8080/. It seems to be okay right at the second, but every time I do an update and push a revised Docker, it seems to take ages before I can gain access to it again.
I wondered if it was down to the firewall provisions. I've added an Ingress rule to allow access on port 8080, and, for a while I was workiing on the assumption that I had to delete the existing Ingress rule and reenter it exactly as before, in order to give the firewall a nudge, as it were, But i've abandoned this theory. Instead, it just seems to take ages before I can access the site again. It's really frustrating 😮365 replies