Team Chat Logs

February 4, 2010

2010 1
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28

[14:12:31.243102]<milmazz>Hi
[15:44:35.194135]<sykopomp>bitten-slave http://trac.my.domain/projects/something/build -> 404 not found: http://trac.my.domain/projects/somethin/build (g is missing)
[15:45:58.589404]<osimons>sykopomp: it is /builds btw for slave communication (/build is for the web ui)
[15:46:09.107621]<sykopomp>If I spell it 'somethingg', the HEAD request works, (accessing /projects/something/build), but the POST that comes after that fails.
[15:47:51.573308]<sykopomp>osimons: ah. That seems to have stopped that one. Now it's complaining about method not allowed.
[15:48:32.421713]<osimons>bitten-slave -v ...... for verbose logging
[15:50:20.406482]<sykopomp>[DEBUG ] Sending POST request to 'https://trac.my.domain/projects/something/builds'
[15:50:22.170742]<sykopomp>[ERROR ] HTTP Error 405: Method Not Allowed (Only POST allowed for build creation)
[15:52:03.271532]<osimons>with authentication or without?
[15:52:11.228141]<sykopomp>with
[15:52:14.652471]<sykopomp>I'm passing it a -u and -p
[15:52:32.796632]<osimons>what bitten versions of master + slave?
[15:52:50.691176]<osimons>i fixed that not too long ago, iirc - hang on...
[15:52:58.313483]<sykopomp>the slave, I just checked out from trunk about 10 minutes ago
[15:53:08.065609]<sykopomp>the master is a day old, maybe two.
[15:53:47.667824]<sykopomp>I believe. I assume the sysadmin checked it out from trunk.
[15:54:59.015110]<osimons>oh. i thought this may be related to this: http://bitten.edgewall.org/changeset/793
[15:59:11.870503]<osimons>sykopomp: i think you need to turn on Trac debug logging and compare the events on the slave with the master - it should be more obvious exactly what happens
[15:59:41.707457]<sykopomp>osimons: alright, thanks.
[16:00:00.700167]<osimons>is there some proxying involved or anything inbetween that may change the request?
[16:00:41.952059]<sykopomp>osimons: that's probably a good question to ask. I don't actually know.
[16:01:29.127453]<osimons>sykopomp: you are using auth as you say, and your -v logging succeeds with authentication then I presume?
[16:01:42.011060]<osimons>- readable from the verbose slave logging?
[16:02:36.635068]<sykopomp>osimons: I'm not sure if it's succeeding. It says it's enabling authentication, then it says "Performing basic/digest authentication". Not sure if that means it succeeded, or if it was starting it.
[16:02:39.940509]<sykopomp>it fails after that.
[16:03:05.377323]<osimons>sykopomp: and your master is using basic or digest and not forms auth?
[16:03:26.840932]<sykopomp>I honestly don't know :\
[16:03:59.403274]<sykopomp>unfortunately, I got assigned to do this, but I don't actually have admin access to any of this, nor was I the one who set up trac and bitten.
[16:04:15.668321]<osimons>how do you login to your trac - a browser "alert" dialog, or an html form integrated into the web pages?
[16:04:32.984042]<sykopomp>I think it uses LDAP somehow?
[16:04:52.743152]<sykopomp>but yes, a browser alert dialog
[16:04:58.294886]<sykopomp>not the web form.
[16:08:04.648824]<osimons>oki. slave has support for basic/digest + form auth. your auth may well be the problem depending on how it is handled. need to check web server and trac logs and compare what actually happens. can't say unfortunately.
[16:09:31.233189]<sykopomp>that's a very useful clue, though, thank you.
[16:09:43.121677]<sykopomp>I'll forward this to someone who's actually allowed to look at this stuff :\