9:47 AM
kartikgupta0909
and also is the authentication complete?
9:47 AM
I would need it in the next task
9:48 AM
which is the client asking the server for pending jobs for a user.
9:49 AM
alastairp
right
9:49 AM
it's on my list this week of things to review
9:49 AM
I'll try and get it merged by wednesday
9:49 AM
this patch looks really good, btw!
9:50 AM
kartikgupta0909
thanks :)
9:55 AM
MajorLurker has quit
10:00 AM
MajorLurker joined the channel
10:03 AM
hellska has left the channel
10:23 AM
rahulr joined the channel
10:23 AM
chirlu
10:24 AM
And INSTALL.md already does mention --tmp-dir.
10:24 AM
MajorLurker has quit
10:25 AM
rahulr_ joined the channel
10:29 AM
MBJenkins
Yippee, build fixed!
10:29 AM
10:29 AM
ruaok
meh. our FTP mirror is behind. probably because of our network issues.
10:31 AM
armalcolite
ruaok: the token auth is working, though i still have a lot of things to add.
10:31 AM
ruaok: still not sure where should i commit the changes.
10:31 AM
ruaok
just a branch off master should do ok for now.
10:31 AM
I'm trying hard to get to LB stuff this afternoon.
10:31 AM
armalcolite
but that uses cassandra, and we wanted on postgres
10:32 AM
so i branched it off the postgres PR
10:32 AM
ruaok
ok, perfect.
10:32 AM
armalcolite
in that way i could test if things are going in DB
10:33 AM
so, token auth, session are working.
10:33 AM
even scrobbling is working but on a temp DB in mysql :p
10:34 AM
yet to plug the postgres bits instead on MySQL.
10:34 AM
s/on/of/
10:36 AM
just a question, what should be the lifetime of tokens? (not ∞, right?)
10:38 AM
ruaok: ^
10:39 AM
ruaok
how is a token defined in this case? if you have a token, you're logged in?
10:40 AM
armalcolite
you fetch a session, then session+token+key == logged_in
10:40 AM
ruaok
what is the key in this context?
10:40 AM
armalcolite
our LB key
10:41 AM
i was planning to reuse this
10:44 AM
ruaok
LB key -> please elaborate
10:45 AM
armalcolite
while importing listens from the LB page,
10:45 AM
we provide users with a user_token
10:45 AM
rahulr has quit
10:46 AM
this would be the "api_key" for the compat API. Using this we fetch a "api_token", and then the "sk" (session key)
10:46 AM
rahulr_ is now known as rahulr
10:46 AM
rahulr has quit
10:46 AM
rahulr joined the channel
10:47 AM
once we have all 3, user can invoke a write call (something like track.scrobble etc)
10:47 AM
ruaok is really confused
10:47 AM
D4RK-PH0ENiX has quit
10:48 AM
10:48 AM
ruaok
thx
10:48 AM
armalcolite
10:50 AM
MBJenkins
10:50 AM
ruaok
so, for this API auth stuff, we're not actually going to be talking to last.fm are we?
10:52 AM
> Authentication tokens are API account specific. They are valid for 60 minutes from the moment they are granted.
10:52 AM
is that the answer you were looking for?
10:52 AM
60 minutes?
10:52 AM
armalcolite
nope.
10:53 AM
ruaok: nope is for "so, for this API auth stuff, we're not actually going to be talking to last.fm are we?"
10:53 AM
ruaok: i got the answer. :D
10:53 AM
ruaok
k
10:59 AM
let me try and finish the accounting stuff, then I'll have more bandwidth for you armalcolite
10:59 AM
armalcolite
ruaok: ok.
11:09 AM
D4RK-PH0ENiX joined the channel
11:12 AM
Gentlecat
armalcolite: why do you need to extend existing token authentication?
11:12 AM
armalcolite
for compat_API.
11:13 AM
for creating a API similar to lastfm
11:13 AM
Gentlecat
ah, you are trying to replicate their thing
11:13 AM
armalcolite
yup!
11:15 AM
reosarevok sees "two minutes downtime", braces for 2 hours :p
11:16 AM
demonimin has quit
11:18 AM
ruaok
reosarevok: if it goes wrong, it will be 2 days.
11:18 AM
reosarevok
Damn.
11:18 AM
reosarevok crosses fingers
11:21 AM
demonimin joined the channel
11:24 AM
ruaok
ok, all done. we're back.
11:25 AM
well, back, but it didn't boot into the new firmware.
11:26 AM
chirlu has quit
11:26 AM
ok, one more time, zas?
11:26 AM
zas
another attempt
11:26 AM
ready?
11:26 AM
in progress
11:26 AM
ruaok
I was setting banners. :(
11:28 AM
answering to pings again
11:28 AM
Gentlecat
ruaok, zas: you at the office?
11:28 AM
ruaok
I am
11:28 AM
zas: better this time?
11:29 AM
zas
11:29 AM
yes
11:29 AM
ruaok
ok.
11:29 AM
zas
reminds me to set it as default (or copy to primary), if ok
11:29 AM
ruaok
ok, let's cross our appendages that this fixes it.
11:29 AM
Leo_Verto crosses appendages
11:30 AM
:)
11:34 AM
Gentlecat
zas: I more or less figured out docker setup for CB
11:34 AM
can we deploy some kind of beta?
11:34 AM
zas
sure
11:34 AM
Gentlecat
iirc, there was a domain name set up
11:36 AM
11:36 AM
there's no uwsgi and nginx yet
11:44 AM
chirlu joined the channel
12:03 PM
chirlu
Doesn’t look too successful, does it? :-|
12:04 PM
pingupingu joined the channel
12:06 PM
ruaok
nope
12:06 PM
chirlu
12:09 PM
QuoraUK joined the channel
12:13 PM
ruaok
chirlu: I asked zas this last night, I certainly have no answer for it: "How can we be certain that the failures we are seeing are in fact our switch going bad?"
12:13 PM
we know:
12:13 PM
1. rebooting helped for a short while, or so we *think*
12:14 PM
2. subsequent reboots didn't help
12:14 PM
3. most recent firmware didn
12:14 PM
't help
12:14 PM
4. no meaningful errors are appearing the logs of the switch.
12:15 PM
the switch doesn't look sick.
12:15 PM
zas: did you ever capture some packets on the network during an event?
12:16 PM
zas
not yet, i have to trigger it, needs a bit of scripting
12:21 PM
f*ck, again, but i did'nt finish script ...
12:21 PM
chirlu
Yeah, it could be that the good time after the first reboot was just a coincidence, or that it happened to interrupt some other process that was actually causing the issue.
12:22 PM
Do we know if internal connections are affected when it happens?
12:27 PM
ruaok
we've seen mixed things happen, chirlu
12:27 PM
once we noticed that sshing into the active machine was effectively not working.
12:28 PM
sshing into the other gateway machine and then sshing into the affected machine was great.
12:28 PM
and then once we saw both affected, I think.
12:28 PM
I don't think that internal connections are affected. but next time we have an event, zas, can you check?
12:29 PM
chirlu
But internal connections also use the switch?
12:30 PM
ruaok
yes.
12:30 PM
every machine we have at DWNI is on the switch.
12:31 PM
chirlu
Hm.
12:33 PM
ruaok wished for one whole week without something failing
12:39 PM
ruaok
12:41 PM
Gentlecat
ruaok: done
12:41 PM
ruaok
tahnks
12:51 PM
I just pushed a couple of minor verbiage changes to the donate/payment pages of MeB. Can you please updated again, Gentlecat?
12:52 PM
Gentlecat
done
12:53 PM
MBJenkins
12:53 PM
ruaok
thanks. looking good now.
12:53 PM
MeB is all looking adult like these days.
12:54 PM
6 years ahead of its 18th birthday. :-D
12:55 PM
Gentlecat
12:55 PM
ruaok
ah, ok, will look.
12:56 PM
can you look at this:
12:56 PM
"This user has no active access tokens"
12:56 PM
yet, the line is not actually flat.
12:57 PM
Gentlecat
interesting
12:59 PM
ruaok
KodeStar: ping.
13:01 PM
gcilou joined the channel
13:02 PM
ZarkBit_ joined the channel
13:03 PM
ZarkBit has quit
13:03 PM
ZarkBit_ is now known as ZarkBit
13:13 PM
Gentlecat: I'm tying to put plex.tv into the penalty box on meb.