Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
|actual error is failed to make connection with backend
|tbrowder: Which interface is Cro listening on? And which IP are you using to talk to it? Do they match? :-)
01:24 Xliff left
|cro is listening to localhost, port 10000
|cro is running on a remote server reached via an IP derived from a dns lookup on the domain gbumc.church. the reverse proxy uses the domain name plus the port 10000
|tbrowder: That may not work because localhost is only advertised on the loopback network -- which is not where DNS IPs will appear.
|Which is to say, you may be routing the packets to the wrong interface
|ok, so i'll try listening on the real ip then. thnx
|np, good luck
|.tell japhb \o/ touchdown!! yaaay THANKS
|still sorting out the pieces, but my cro app is working. now i need to get systemd to handle the cro app start.
|and aslo figure out how to actually duplicate the path info from my original home page into serving it from the cro app...
|i'm trying to use the static route but i don't understand what cro router thinks it base directory for '/' is. i tried using "static './index.shtml'" but that didn't work.
|is it confused by the suffix '.shtml'?
|oh, i can slurp that file and serve it as a string but it loses some images in subdirs in the process.
|tbrowder: Glad to hear you got the basic app working. :-)
|yep, a happy "event"!
|i think i see the static file problem: .shtml is NOT in apache's mime types so a module and directive can probably take care of that
|oops, that is already in my conf files, so that may not be the exact answer...
|i couldn't get the alternative static signature work. right now my solution is to rename index.shtml to index.html and it served, barely. none of the img links worked. do i have to go the full cro template route for that?
|s/signature work/signature to work/