<gunnbr>
I mean--it's not particularly resource intensive. Doesn't take a very big server.
<gunnbr>
And you don't _have_ to run it via docker either. I just have that setup cause it's easier to deply that way.
<gunnbr>
But for debugging, I just run it from the command line.
<teepee>
I suppose running it via docker would be useful, so if anything happens, there's not a huge amount of messing around to get things setup again
<gunnbr>
Yeah, docker takes care of a lot for you.
<gunnbr>
Like I just have it set to restart the container if it exits unexpectedly, so that generally keeps the bot up.
<gunnbr>
And I've fixed the DB access problem, but libera keeps dropping the IRC onnection now. :'(
<teepee>
oh?
<gunnbr>
Yeah.... trying to get to the bottom of THIS problem now...
<teepee>
those things are always moving target it seems
<teepee>
circle-ci decided we need a token now to just grab the public artifiacts so the auto-updates failed for a couple of days
<teepee>
very annoying
<teepee>
also quite bad from security perspective
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
califax has quit [Remote host closed the connection]
califax has joined #openscad
pa has quit [Ping timeout: 276 seconds]
pah has joined #openscad
L29Ah has quit [Ping timeout: 246 seconds]
kintel has joined #openscad
Andy-pants has quit [Remote host closed the connection]
Andy-pants has joined #openscad
LordOfBikes has quit [Ping timeout: 276 seconds]
LordOfBikes has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guerd871 has quit [Remote host closed the connection]
guerd871 has joined #openscad
guerd871 has quit [Remote host closed the connection]
guerd871 has joined #openscad
guerd871 has quit [Remote host closed the connection]
guerd871 has joined #openscad
guerd871 has quit [Remote host closed the connection]
J232456 has joined #openscad
J2324 has quit [Ping timeout: 260 seconds]
guerd871 has joined #openscad
guerd871 has quit [Remote host closed the connection]
guerd871 has joined #openscad
guerd871 has quit [Remote host closed the connection]
guerd87 has joined #openscad
guerd87 has quit [Remote host closed the connection]
guerd87 has joined #openscad
<gunnbr>
This is so frustrating! Everything works great in my debug setups, but it doesn't work when I start the bot up in the container.
<InPhase>
Any specific issue/error identified?
<InPhase>
Oh, backlog above...
<InPhase>
gunnbr: Did you by any chance do one of those recent upgrades that added in an ssl backwards compatibility block?
<InPhase>
gunnbr: Your dual issues of connecting to the mysql server and connecting to IRC sound like maybe this sort of thing.
<gunnbr>
I updated from Ubuntu 20.04 to 22.04.
<InPhase>
Yeah, that triggered one of these.
<gunnbr>
And after I fixed the MySQL/MariaDB thing, I remembered it saying it was going to replace one of my config files.
<InPhase>
This was almost a year ago for me, so I only hazily remember the detail.
<gunnbr>
That was one I had to edit so the DB was accessible from outside localhost.
<gunnbr>
Okay--I'll search for SSL issues. That is one thing that I had to change to get it to run from the command line--I got rid of the SSL connection.
<InPhase>
It had a few different resolutions for different situations. For some older systems I had to add in exceptions to still connect to them.
<InPhase>
There was one system I had no solution until the other end upgraded.
<gunnbr>
Ugh.
<gunnbr>
Hopefully I can figure something out...
<InPhase>
Probably not the case here. :)
<InPhase>
But see if there are logs that might mention an ssl or cert thing.
<InPhase>
There are tons of threads of people suffering from this from 2022-04 the month. Here is mentioned a global config change to turn off the new security feature.
<InPhase>
This is, probably, not the smartest choice. But it IS just a bot after all. You're not doing finance here.
<InPhase>
(Unless you run many things on this server.)
<InPhase>
It might also just work as a quick check though, as if that fixes it you confirmed what you're hunting for, even if you don't like that solution. (If it fails to fix it, that doesn't necessarily rule out that it's still this. But maybe it shifts the probability a bit.)
<gunnbr>
Doesn't look like that fixed it.
<gunnbr>
But I need to play around a little more to make sure my config file got reloaded and all...
muesli has quit [Quit: NO CARRIER]
muesli has joined #openscad
jonasbits has quit [Quit: No Ping reply in 180 seconds.]
jonasbits has joined #openscad
guso78 has joined #openscad
guso7826 has joined #openscad
TheAssassin has quit [Remote host closed the connection]
<kintel>
Someone was looking into logging/formatting a while back. Not sure if that's interacting with this, but I suggested adding an overload to a common LOG() use-case. Any opinions? https://github.com/openscad/openscad/pull/4569
<teepee>
I think that was more about formatting data structures and proving a format() user function, so I'd expect that to be pretty orthogonal to simplifying the LOG signatures
<teepee>
e.g. formatting via {fmt}
<kintel>
I was tempted to simplify the logging code more, as that piece of code is a bit hard to read, but I fear I will break something : /
castaway has joined #openscad
<kintel>
teepee I may have asked this before, but turns out I never tested the master branch with -DENABLE_EGL.
<kintel>
-> I cannot get it to work as it complains about GLX being unavailable
<kintel>
Do you know if this is expected?
<kintel>
It's glewInit() that complains, I seem to get a good context
<kintel>
I'm obviously doing this without having an X11 display available, as I assume that was the goal of offscreen EGL :)
<kintel>
(this is on a pretty plain Ubuntu 22.04 btw)