#musicbrainz-devel

/

      • SultS joined the channel
      • 2013-06-14 16532, 2013

      • voiceinsideyou joined the channel
      • 2013-06-14 16511, 2013

      • Leftmost joined the channel
      • 2013-06-14 16501, 2013

      • andreypopp joined the channel
      • 2013-06-14 16503, 2013

      • andreypopp joined the channel
      • 2013-06-14 16502, 2013

      • andreypopp joined the channel
      • 2013-06-14 16545, 2013

      • SultS_ joined the channel
      • 2013-06-14 16539, 2013

      • Leftmost joined the channel
      • 2013-06-14 16507, 2013

      • MBJenkins
        * Ian McEwen: Merge branch 'area-search-fixes'
      • 2013-06-14 16508, 2013

      • MBJenkins
        * Ian McEwen: area search fixes: fix up tests
      • 2013-06-14 16551, 2013

      • tinix
        Zebbler Encanti Experience - Psychic Projections - Data Mind
      • 2013-06-14 16553, 2013

      • tinix
        uuuuuuuuuuuuugh
      • 2013-06-14 16555, 2013

      • Prophet5 joined the channel
      • 2013-06-14 16526, 2013

      • zas joined the channel
      • 2013-06-14 16554, 2013

      • reosarevok joined the channel
      • 2013-06-14 16513, 2013

      • reosarevok
        ocharles, do you have any idea of what causes the inability to stay logged in? :(
      • 2013-06-14 16518, 2013

      • djce joined the channel
      • 2013-06-14 16510, 2013

      • ocharles
        reosarevok: no
      • 2013-06-14 16515, 2013

      • ocharles
        or I would have fixed it :)
      • 2013-06-14 16526, 2013

      • reosarevok
        Meh, it's *very* annoying :(
      • 2013-06-14 16543, 2013

      • ocharles
        I know, it's a priority
      • 2013-06-14 16548, 2013

      • reosarevok
        Ok
      • 2013-06-14 16558, 2013

      • ocharles
        but I'm unable to even reproduce it myself
      • 2013-06-14 16520, 2013

      • ocharles
        I'm assuming you're using beta?
      • 2013-06-14 16530, 2013

      • ocharles
        I wonder if beta hasn't been updated and is setting the wrong cookie
      • 2013-06-14 16509, 2013

      • ocharles
        I'm logged out on beta, but I'm still logged in on the main servers
      • 2013-06-14 16529, 2013

      • reosarevok
        No
      • 2013-06-14 16532, 2013

      • reosarevok
        I'm using prod
      • 2013-06-14 16538, 2013

      • ocharles
        Ok
      • 2013-06-14 16546, 2013

      • reosarevok
        On Chrome, in case it matters
      • 2013-06-14 16514, 2013

      • reosarevok
        I get logged out at least once a day (since every time I go check the subscription mail in the morning I'm logged out)
      • 2013-06-14 16536, 2013

      • ocharles
        Are you opening multiple tabs straight away?
      • 2013-06-14 16502, 2013

      • reosarevok
        Yeah, of course :)
      • 2013-06-14 16524, 2013

      • reosarevok
        (and usually some of them find me logged out, some do not - not necessarily in order, either)
      • 2013-06-14 16527, 2013

      • ocharles
        ok, try not doing that next time
      • 2013-06-14 16535, 2013

      • ocharles
        It sounds race-conditiony
      • 2013-06-14 16546, 2013

      • ocharles
        In fact, if all those tabs send the same cookie, then that's probably what logs you out
      • 2013-06-14 16559, 2013

      • ocharles
        The first one would consume the remember me token, the next would try but fail because that token doesn't exist now, and would log you out
      • 2013-06-14 16552, 2013

      • reosarevok
        ... er, ok
      • 2013-06-14 16501, 2013

      • reosarevok
        But that certainly would need fixing anyway
      • 2013-06-14 16503, 2013

      • ocharles
        That is something I can at least test
      • 2013-06-14 16506, 2013

      • reosarevok
        Ok
      • 2013-06-14 16510, 2013

      • ocharles
        sure, I'm just trying to work out what the problem is
      • 2013-06-14 16528, 2013

      • djce joined the channel
      • 2013-06-14 16552, 2013

      • djce joined the channel
      • 2013-06-14 16530, 2013

      • ocharles
        Ok, I'm pretty convinced that multiple tabs is the problem.
      • 2013-06-14 16506, 2013

      • ocharles
        If you have no session in progress, the browser will send your 'remember_me' token. The server consumes this token exclusively (it atomically gets/deletes it) and then opens a session for you, logging you in.
      • 2013-06-14 16541, 2013

      • ocharles
        If you make another request without a session but with a 'remember_me' token, you will have a new session opened for you, but the 'remember_me' token will fail to authenticate you
      • 2013-06-14 16549, 2013

      • ocharles
        Now you've removed your logged in session, and you will be logged out
      • 2013-06-14 16505, 2013

      • ocharles
        Because the session is global (over musicbrainz.org) you're logged out in all tabs
      • 2013-06-14 16509, 2013

      • ocharles
        I'm not sure how to fix this though. I could put a 'grace window' on token consumption, but then I have to write a little daemon to periodically clean these up. Maybe Redis can be set to do that
      • 2013-06-14 16504, 2013

      • ocharles
        I'll give that a try and we'll see if things get better
      • 2013-06-14 16520, 2013

      • warp
        ocharles: redis can expire things for you
      • 2013-06-14 16531, 2013

      • warp
        ocharles: why does the token need to be consumed?
      • 2013-06-14 16531, 2013

      • ocharles
        warp: they are one use tokens
      • 2013-06-14 16548, 2013

      • djce joined the channel
      • 2013-06-14 16550, 2013

      • warp
        yes, why are they one use tokes? :)
      • 2013-06-14 16554, 2013

      • ocharles
        you don't want someone grabbing all your cookies because then they can always login as you
      • 2013-06-14 16558, 2013

      • ocharles
        even if you've used that token up
      • 2013-06-14 16517, 2013

      • ocharles
        yes, I'll try with redis and EXPIRE
      • 2013-06-14 16529, 2013

      • ocharles
        and whenever a token is consumed, it will be set to expire in 5 minutes
      • 2013-06-14 16555, 2013

      • warp
        so in that case they're no longer one use tokens, but limited use tokes?
      • 2013-06-14 16528, 2013

      • ocharles
        yea
      • 2013-06-14 16553, 2013

      • warp
        ok, that sounds good.
      • 2013-06-14 16547, 2013

      • warp
        (not having a session and then opening a bunch of musicbrainz tabs at once which should all log in with the remember me token is a valid thing to do :)
      • 2013-06-14 16507, 2013

      • warp
        ocharles: if I do the above, will you still generate new remember me tokens for each of those tabs? or only once when the token is used while it is not yet expiring?
      • 2013-06-14 16515, 2013

      • ocharles
        at the moment, I will give you new tokens for all the tabs
      • 2013-06-14 16526, 2013

      • ocharles
        maybe we should always expire these tokens after $some_large_duration
      • 2013-06-14 16531, 2013

      • warp
        ocharles: oh and.. can I stay logged in using a remember me tokens on different machines and different browsers?
      • 2013-06-14 16534, 2013

      • ocharles
        to prevent redis forever growing
      • 2013-06-14 16551, 2013

      • ocharles
        warp: yes, each browser will have its own session store, and thus its own remember_me token
      • 2013-06-14 16500, 2013

      • ocharles
        (and when you log in each will have its own session)
      • 2013-06-14 16556, 2013

      • warp
        ocharles: yes, redis stores everything in memory, so please do not store anything indefinitely :)
      • 2013-06-14 16512, 2013

      • ocharles
        :)
      • 2013-06-14 16518, 2013

      • warp
        (Though I'd suggest a year or so for the expire date of non-expiring remember me tokens)
      • 2013-06-14 16538, 2013

      • ocharles
        Yea, I was thinking a year
      • 2013-06-14 16534, 2013

      • ocharles
        lame, you can't expire members in a set
      • 2013-06-14 16508, 2013

      • ocharles
        And Redis.pm doesn't know what setex is, apparently
      • 2013-06-14 16501, 2013

      • ocharles
        Ok, in review reosarevok
      • 2013-06-14 16505, 2013

      • ocharles
        Should be able to go to beta soon :)
      • 2013-06-14 16547, 2013

      • ocharles joined the channel
      • 2013-06-14 16531, 2013

      • ocharles
        joy, enabling the nixos firewall stops ipv6 working :(
      • 2013-06-14 16516, 2013

      • ocharles
        ping6 google.com # for example, doesn't work
      • 2013-06-14 16550, 2013

      • ijabz joined the channel
      • 2013-06-14 16530, 2013

      • djce joined the channel
      • 2013-06-14 16550, 2013

      • tinix1 joined the channel
      • 2013-06-14 16547, 2013

      • ijabz joined the channel
      • 2013-06-14 16533, 2013

      • djce joined the channel
      • 2013-06-14 16557, 2013

      • tinix joined the channel
      • 2013-06-14 16538, 2013

      • xlotlu joined the channel
      • 2013-06-14 16509, 2013

      • ijabz joined the channel
      • 2013-06-14 16557, 2013

      • ijabz
        luks: ping
      • 2013-06-14 16553, 2013

      • luks
        ijabz: pong
      • 2013-06-14 16534, 2013

      • ijabz
        I tried submitting a few acoustd.mbids and acoustic didn't seem to update
      • 2013-06-14 16519, 2013

      • ijabz
        tried again, still not tree this is with user key aOTPs1LD
      • 2013-06-14 16509, 2013

      • luks
        I don't see anything wrong with the update process
      • 2013-06-14 16531, 2013

      • ocharles
      • 2013-06-14 16501, 2013

      • ocharles
        I'm guessing I broke it with the relationship example stuff
      • 2013-06-14 16554, 2013

      • nikki
        I'm pretty sure it is
      • 2013-06-14 16522, 2013

      • ocharles
        ok, put in the latest fix version
      • 2013-06-14 16545, 2013

      • ijabz joined the channel
      • 2013-06-14 16557, 2013

      • aandre joined the channel
      • 2013-06-14 16526, 2013

      • ijabz
        luks (sorry on phone), so Ive checked it gets sent, and I get ok status back so why would it not show up on the view page
      • 2013-06-14 16536, 2013

      • ijabz
        can you track it if I sends it again ?
      • 2013-06-14 16526, 2013

      • luks
        ijabz: I can look up the old submissions as well
      • 2013-06-14 16548, 2013

      • djce joined the channel
      • 2013-06-14 16554, 2013

      • reosarevok
        Do servers need kicking again?
      • 2013-06-14 16545, 2013

      • reosarevok
        Hmm, might have been just a moment
      • 2013-06-14 16542, 2013

      • reosarevok
        Or not, 502 entering votes...
      • 2013-06-14 16552, 2013

      • olaf_ joined the channel
      • 2013-06-14 16511, 2013

      • olaf_
        did I crash the server, or is vvodafone gsm just misbehaving? cant tweak this anymore: http://musicbrainz.org/release/c1093b4a-f9bb-424c…
      • 2013-06-14 16519, 2013

      • aandre has left the channel
      • 2013-06-14 16521, 2013

      • olaf_
        nor can picard deal with it
      • 2013-06-14 16507, 2013

      • ocharles returns from lunch
      • 2013-06-14 16507, 2013

      • reosarevok
        What you mean you can't tweak it?
      • 2013-06-14 16518, 2013

      • reosarevok
        You had an open edit setting the "front" to back, I've approved it
      • 2013-06-14 16528, 2013

      • olaf_
        it cant load album info, thats what It says when I click on load-in-tagger
      • 2013-06-14 16531, 2013

      • reosarevok
        Oh
      • 2013-06-14 16539, 2013

      • reosarevok
        Probably just that the servers are acting silly
      • 2013-06-14 16542, 2013

      • ocharles
        do we still have an unhappy server?
      • 2013-06-14 16504, 2013

      • reosarevok
        Well, it's working *right now*, but not 2 min ago
      • 2013-06-14 16504, 2013

      • ocharles
        looks like astro is on fire
      • 2013-06-14 16506, 2013

      • ocharles pops a fire suit on
      • 2013-06-14 16525, 2013

      • olaf_
        and flipping the back/front pics was not instantly visible. the second attempt of loading front gave me a sort of backtrace
      • 2013-06-14 16559, 2013

      • reosarevok
        olaf_: most edits aren't instantly visible, they need to be voted on
      • 2013-06-14 16533, 2013

      • olaf_
        ok, now I see front/back is visible
      • 2013-06-14 16542, 2013

      • olaf_
        and correct even
      • 2013-06-14 16530, 2013

      • olaf_
        now picard can load the info.
      • 2013-06-14 16530, 2013

      • reosarevok
        Yes, because I approved the change and fixed the rest
      • 2013-06-14 16552, 2013

      • ocharles
        Hrm, astro seems to have put itself out
      • 2013-06-14 16500, 2013

      • ocharles
        ping me if the site is unresponsive again
      • 2013-06-14 16507, 2013

      • nikki grumbles at the amount of "canceling statement due to user request" ISEs she's receiving lately
      • 2013-06-14 16520, 2013

      • ocharles
        nikki: looking worse again atm?
      • 2013-06-14 16534, 2013

      • nikki
        no, it's just pretty much a constant trickle of them over the last few days
      • 2013-06-14 16554, 2013

      • nikki
        but normally they're very rare and tend to only happen when things have gone really bad :(
      • 2013-06-14 16525, 2013

      • nikki
        so I really don't know what's supposed to be wrong
      • 2013-06-14 16526, 2013

      • ocharles
        presumably the response takes 30 seconds as well?
      • 2013-06-14 16548, 2013

      • nikki
        most of them are just emailed me to me, but the one I got earlier was instant
      • 2013-06-14 16507, 2013

      • ocharles
        it should never be instant, that means the timeout would be kicking in really quick
      • 2013-06-14 16517, 2013

      • ocharles
        Do you have the queries that this happens for? Are they the same query?
      • 2013-06-14 16537, 2013

      • ocharles
        If you see a cancellation that didn't take 30 seconds, see if the host is in the error
      • 2013-06-14 16506, 2013

      • olaf_ has left the channel
      • 2013-06-14 16531, 2013

      • nikki
        the host isn't in the emails I get, the one I reported was from beta so pino
      • 2013-06-14 16546, 2013

      • ocharles
        hrm
      • 2013-06-14 16513, 2013

      • ocharles
        beta had an instant timeout, you mean?
      • 2013-06-14 16516, 2013

      • nikki
        yes
      • 2013-06-14 16522, 2013

      • nikki
        at least, it seemed instant to me
      • 2013-06-14 16540, 2013

      • nikki
        I almost reported it as a beta ticket until I refreshed and it went away and I read the ISE and noticed it was the same as the emails :/
      • 2013-06-14 16519, 2013

      • nikki
        looking at the queries, there are a lot of release ones but maybe we just get a lot of people loading releases
      • 2013-06-14 16509, 2013

      • nikki
        and one of them is /ws/2/artist with only *-rels inc flags, one is a recording search, one is an artist search, one is displaying a recording...