Evergreen ILS Website

IRC log for #evergreen, 2019-03-11

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
01:10 beanjammin joined #evergreen
01:47 beanjammin joined #evergreen
02:44 beanjammin joined #evergreen
03:06 jamesrf joined #evergreen
05:30 pinesol News from qatests: Failed Running pgTAP tests <http://testing.evergreen-ils.org/~li​ve/test.42.html#2019-03-11T05:00:57,112741866-0400 -0>
06:49 JBoyer joined #evergreen
07:00 agoben joined #evergreen
07:15 rjackson_isl joined #evergreen
07:44 bdljohn joined #evergreen
07:55 littlet joined #evergreen
08:27 bos20k joined #evergreen
08:48 mmorgan joined #evergreen
08:50 bdljohn1 joined #evergreen
08:54 bdljohn joined #evergreen
08:56 bdljohn1 joined #evergreen
09:00 terran joined #evergreen
09:05 Dyrcona joined #evergreen
09:34 yboston joined #evergreen
10:11 Bmagic I love the smell of Evergreen 3.1.10 in the morning
10:12 * Dyrcona prefers napalm. :P
10:14 terran :)
10:15 Bmagic And keyword search isn't half bad either :)
10:29 mmorgan Bmagic++
10:47 bdljohn joined #evergreen
10:49 bdljohn1 joined #evergreen
10:50 bdljohn joined #evergreen
10:56 terran Bug Squashing Week final report: https://wiki.evergreen-ils.org/dok​u.php?id=dev:bug_squashing:2019-03  - thanks everyone!!!!
10:57 littlet terran++
10:58 mmorgan terran++
11:05 jamesrf joined #evergreen
11:08 gsams terran++
11:25 Bmagic Creating parts in webby is causing this error on the browser console "XML Parsing Error: no root element found"
11:26 Dyrcona What do you mean by "webby?" Do you mean the Equinox-hosted community server or do you mean on your locally-hosted web staff client?
11:27 Bmagic the web client on our production server
11:30 Dyrcona I've never seen that one.
11:31 mmorgan Bmagic: Adding Monograph Parts to the bib record, or adding parts to items?
11:31 Bmagic Manage parts -> create new
11:32 Bmagic hmmmm, it works elsewhere
11:32 Bmagic maybe a cache issue
11:36 Christineb joined #evergreen
11:43 abneiman csharp++ # belated thank you for fixing mailing list page
11:44 aabbee joined #evergreen
11:46 Bmagic looks like the issue is that the browser is refusing to download the dojo stuff. 404. Maybe there is something missing in eg_vhost?
11:46 Bmagic it works on browsers that have those files cached
11:47 Bmagic could nginx interfere with it I wonder
11:49 khuckins joined #evergreen
11:50 beanjammin joined #evergreen
11:56 berick Bmagic: maybe try curl / wget
11:56 Bmagic I'll see
11:56 Bmagic example
11:56 Bmagic https://stone.missourievergreen.org/js/doj​o/openils/widget/nls/en/AutoFieldWidget.js
11:56 berick some files always return 404
11:57 Bmagic oh
11:57 Bmagic so that's not a problem?
11:57 berick i don't have that file on my dev server either
11:57 Bmagic https://stone.missourievergreen.​org/js/dojo/dojo/openils_dojo.js net::ERR_ABORTED 404
11:58 berick another one
11:58 berick it's a bundle file that may not exist
12:05 sandbergja joined #evergreen
12:14 terran joined #evergreen
12:19 pastebot "Bmagic" at 64.57.241.14 pasted "adding monograph parts" (104 lines) at http://paste.evergreen-ils.org/10055
12:19 Bmagic I'm at a loss
12:24 berick Bmagic: is there a server error as well?
12:24 berick to match the _CUD error at the bottom of your logs
12:25 Bmagic I was just trying to dig the logs out. It's random brick though
12:31 berick and as a reminder CUD errors are often a result of misconfigured cache server in eg_vhost.conf or probablems routing xmpp requests between bricks.
12:32 Bmagic yep, I thought of that. eg_vhost.conf agrees with the real memcache server (or are you talking about something else?)
12:35 Bmagic I got it to fail on a non load balanced brick finally
12:40 Bmagic oh man, the error happens even when it's successful
12:44 berick Bmagic: hmm, I wonder if it's related to: https://bugs.launchpad.net/evergreen/+bug/1808016
12:44 Bmagic It seems that the difference between working and not working is the error "uncaught exception: Transaction begin error"
12:44 pinesol Launchpad bug 1808016 in Evergreen "PCRUD returns osrfMethodException after "Request Complete"" [Undecided,New]
12:46 berick or maybe not related..  transaction begin error would certainly prevent the updates from working
12:46 Bmagic On the browser session where it's failing, I do have the second to last network request to osrf-http-translator with a 400
12:47 Bmagic inspecting the params of the POST: osrf-msg[{"__c":"osrfMessage","__p":{"threadTrace":1,​"type":"REQUEST","payload":{"__c":"osrfMethod​","__p":{"method":"open-ils.pcrud.transaction​.begin","params":["authtocken"]}},"locale":"e​n-US","tz":"America/Chicago","api_level":1}}]
12:48 Bmagic and the response was Bad Request
12:52 Bmagic Looking at the working browser, I can find the same request in the browser console and it's exactly the same request but it wasn't a bad request over there
12:55 Bmagic I'm reinstalling the application on seperate machine to see what I can see
12:56 Bmagic and I appreciate the ideas and helpful guidance
13:10 Dyrcona Bmagic: That request does not look bad to me.
13:10 Bmagic yeah, confirmed
13:10 Bmagic it has to be something else above the application
13:10 Bmagic nginx cache?
13:14 jeff do you have nginx configured to cache any requests?
13:27 Bmagic not sure, just stock
13:27 Bmagic where's that configed?
13:31 Bmagic grep cache -R /etc/nginx/* has one hit for "ssl_session_cache shared:SSL:50m;"
13:37 berick Bmagic: you have mod_remoteip configured in eg_vhost.conf ?
13:37 berick and have the mod enabled
13:39 Bmagic three lines starting with RemoteIPInternalProxy 127.0.0.1/24 ?
13:40 Bmagic Those lines are commented, but the mod is enabled on apache2
13:41 Bmagic shesh, those lines sound familiar.... probably in the official install instructions. Face palm
13:42 Bmagic http://evergreen-ils.org/documentation/in​stall/OpenSRF/README_3_0_2.html#_optional​_using_a_web_proxy_apache_2_4_and_above
13:42 berick yeah, i'm not seeing a default configuration for remoteip in the mods
13:42 berick i think you'll need to uncomment those
13:43 Bmagic What's strange though, is on my single box, adding parts works and those lines are commented
13:44 berick ISTR it being intermittent.  it may not solve your problem, but I would give it a shot
13:44 Bmagic oh for sure
13:44 Bmagic apache reload ought to catch it?
13:44 berick yes i think
13:44 Bmagic :)
13:45 berick hm, I need to add that the ansible installer
13:47 Bmagic oh man, that seems to have fixed it
13:47 Bmagic so, apache needed the real browser client IP in order to glue the two requests together?
13:48 berick exactly
13:48 Bmagic hilarious
13:48 Bmagic Therefore, a load balanced environment would cause breakage but not single
15:14 aabbee just noticed that LP has a "Link a related branch" link on the right. should i be using that, or adding a link to the branch in a comment? does it matter?
15:17 Dyrcona aabbee: No, that only works with bzr hosted by Canonical/Launchpad.
15:17 aabbee ah, ok. thanks!
15:18 Dyrcona At least, that's what it used to do. I haven't looked in a long time.
15:20 Dyrcona Yeahp. I just checked.
15:21 Dyrcona Well, maybe it would work if bshum's copy of git on Lp was updated from the working repository. :)
15:23 aabbee heh, i'll just link in a comment
15:23 Dyrcona That's what we normally do.
15:24 Dyrcona And, all of that said, we've been talking about getting away from Launchpad for a couple of years, so getting more involved with it would be a step in the wrong direction.
15:27 sandbergja_ joined #evergreen
15:46 jamesrf joined #evergreen
16:52 Christineb joined #evergreen
17:10 mmorgan left #evergreen
17:30 pinesol News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
21:37 sandbergja joined #evergreen
21:58 sandbergja joined #evergreen
22:29 beanjammin joined #evergreen
22:49 beanjammin joined #evergreen

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat