Time |
Nick |
Message |
02:34 |
|
jeffdavis joined #evergreen |
07:50 |
|
BDorsey joined #evergreen |
07:55 |
|
collum joined #evergreen |
08:36 |
|
jvwoolf joined #evergreen |
08:37 |
|
mmorgan joined #evergreen |
08:41 |
|
rfrasur joined #evergreen |
08:59 |
|
Dyrcona joined #evergreen |
09:14 |
Stompro |
content-cafe-- |
09:15 |
Stompro |
I re-enabled it this morning... and immediately started getting 500 result codes. |
09:17 |
Dyrcona |
:( |
09:24 |
Stompro |
By that I mean, "2022-12-01 08:17:00 virt-egapp1 osrf_json_gw: [INFO:4628:AddedContent.pm:307:1669902976462846] added content request returned with code 500" |
09:25 |
Stompro |
Evergreen isn't giving me internal server errors, that is just what Content Cafe is returning. |
09:26 |
Dyrcona |
Yeahp. |
09:27 |
Dyrcona |
It seems spotty to me, but I could be choosing things where some of the jackets have been cached by Evergreen. It will keep them for a day or so, IIRC. |
09:27 |
Dyrcona |
I've not searched the logs because I'm not sure how to get to them in our new hosting environment. |
09:35 |
Dyrcona |
Weird... Moving something to a different row looks different in two different interfaces even though the HTML is pretty much the same. |
09:39 |
Dyrcona |
Hmm. Cach is messing with me or something. |
09:39 |
Dyrcona |
Cache.... |
09:47 |
Stompro |
I'm seeing requests taking 1.2 minutes to finally come back with a 404 when the added content request comes back with a 500 response. |
09:47 |
csharp_ |
@decide cach or cache? |
09:47 |
pinesol |
csharp_: go with cach |
09:47 |
csharp_ |
@decide cache or catch |
09:47 |
pinesol |
csharp_: That's a tough one... |
09:47 |
csharp_ |
@decide cache or cash |
09:47 |
pinesol |
csharp_: That's a tough one... |
09:49 |
Stompro |
I wonder if this line "die "added content request failed: " . $res->status_line ."\n" unless $res->is_success;" in AddedContent.pm is maybe the wrong way to handle a bad request? |
09:50 |
Stompro |
I'm not sure where that would be logged. |
09:51 |
csharp_ |
it would just go to stdout |
09:51 |
csharp_ |
in /openils/var/log I think |
09:51 |
|
rfrasur joined #evergreen |
09:51 |
csharp_ |
harder to track in a multi-server environment |
09:58 |
Stompro |
Ohh, the 500 result indicates a timeout... I was thinking that the content cafe site was actually returning an internal server error. |
09:59 |
Stompro |
csharp_, thanks, I found them. |
09:59 |
csharp_ |
Stompro: happy to help! |
10:01 |
Dyrcona |
Maybe B&T are being DOS'd? They've been having issues lately... |
10:01 |
jeffdavis |
looks like you can set a longer timeout interval for Content Cafe in opensrf.xml if that would help with testing |
10:02 |
jeffdavis |
not sure setting it to 1.2 minutes is a great idea though |
10:06 |
Dyrcona |
We're using Bootstrap 4 with Angular? |
10:11 |
Stompro |
jeffdavis, I'm fine with the request timing out quickly... but it just seems strange that the request to opac/extras/ac/jacket/small/r/ doesn't return 404 faster. |
10:12 |
Stompro |
And it doesn't seem like it registers with the error counter, that is supposed to disable the added content provider after x number of failures. |
10:18 |
Stompro |
I wonder if they put their api behind something like cloudflare that is doing some fancy filtering... like blocking parallel requests... or rate limiting. |
10:26 |
Dyrcona |
Flex stuff from Bootstrap 4 docs doesn't work. I can't find any decent docs for ng-bootstrap 7, either. |
10:43 |
|
dguarrac joined #evergreen |
10:50 |
|
Christineb joined #evergreen |
11:17 |
csharp_ |
oh postgresql 14, why oh why do you care about where VERBOSE belongs in a VACUUM statement |
11:17 |
csharp_ |
VACUUM VERBOSE ANALYZE vs VACUUM ANALYZE VERBOSE |
11:35 |
Dyrcona |
There's probably a release note on that, but I never noticed. |
11:36 |
Dyrcona |
csharp_: Are you using Pg 14 in produciton, or moving data for testing? |
11:57 |
Dyrcona |
If I want a purchase order to try again after a FTP error, I just update the status to retry, right? I can't remember if there are other fields to change. |
11:58 |
Dyrcona |
The status of acq.edi_message I mean. |
12:01 |
Dyrcona |
Oh well, guess it's time to call it a day. |
12:03 |
|
jihpringle joined #evergreen |
12:14 |
|
terranm joined #evergreen |
13:05 |
|
terranm joined #evergreen |
13:09 |
terranm |
So I'm working on this local project and I'm stuck on a super basic perl thing. When someone logs into My Account, I have a sub that runs on Account.pm to check whether their account meets renewal eligibility requirements and if they do, then I take them to a form. That's all working fine. But when I do that initial check, I ALSO want to store a |
13:09 |
terranm |
variable that I can refer to again later in the session from a different script. Should I use $ENV? Or something else? |
13:22 |
berick |
terranm: you could store values in memcache |
13:23 |
berick |
see examples of OpenSRF::Utils::Cache |
13:25 |
terranm |
berick++ |
13:42 |
|
collum joined #evergreen |
13:48 |
|
terranm joined #evergreen |
13:48 |
terranm |
It works! Hallelujah! |
14:19 |
|
jihpringle joined #evergreen |
14:21 |
csharp_ |
berick++ |
15:06 |
Stompro |
More content cafe testings... when load a catalog results page with 10 items, I'm seeing 7 successful requests, and 3 requests that eventually time out. The Timeout setting has no effect, because that only works when the agent is waiting for a response. tcpdump shows that the only communication is the initial packet to setup the connection, and then retries being sent. |
15:08 |
Stompro |
Makes me think that B&T is limiting connections per second in a very unfriendly way. |
15:15 |
|
mantis1 joined #evergreen |
17:05 |
|
jvwoolf left #evergreen |
17:08 |
|
mmorgan left #evergreen |
20:07 |
|
JBoyer joined #evergreen |