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.
tbrowder actual error is failed to make connection with backend 00:00
japhb tbrowder: Which interface is Cro listening on? And which IP are you using to talk to it? Do they match? :-) 00:05
01:24 Xliff left
tbrowder cro is listening to localhost, port 10000 01:47
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 01:54
japhb tbrowder: That may not work because localhost is only advertised on the loopback network -- which is not where DNS IPs will appear. 02:14
Which is to say, you may be routing the packets to the wrong interface 02:15
tbrowder ok, so i'll try listening on the real ip then. thnx
japhb np, good luck
tbrowder thank you. 02:16
.tell japhb \o/ touchdown!! yaaay THANKS 11:48
still sorting out the pieces, but my cro app is working. now i need to get systemd to handle the cro app start. 11:50
and aslo figure out how to actually duplicate the path info from my original home page into serving it from the cro app... 13:32
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. 13:57
is it confused by the suffix '.shtml'? 13:58
back later...
oh, i can slurp that file and serve it as a string but it loses some images in subdirs in the process. 13:59
bye 14:00
japhb tbrowder: Glad to hear you got the basic app working. :-) 14:09
tbrowder yep, a happy "event"! 15:10
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 15:26
oops, that is already in my conf files, so that may not be the exact answer... 15:32
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? 17:54
s/signature work/signature to work/