(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[11:06 AM] Andrew Hellershanks: Hello, everyone.
[11:06 AM] Andrew Hellershanks: I was stuck on a work call so I'm a bit late today.
[11:06 AM] Andrew Hellershanks: An agenda? What's that? ;)
[11:06 AM] Gavin.Hird @grid.xmir.org:8002: Hi Andrew
[11:06 AM] puff ball: I was stopping to see if there might be anyone here with a good grasp of the agent authentication flow... I'm trying to figure out why my agents are stuck as child agents instead of root agents in the scene.
[11:07 AM] Andrew Hellershanks: Lyr, sorry to hear we have some people not feeling well. I hope they will feel better soon.
[11:07 AM] Andrew Hellershanks: Hello, Gavin.
[11:07 AM] Lyr.Lobo @cc.opensimulator.org:8002: Thanks, Andrew
[11:08 AM] Vincent.Sylvester @hg.zetaworlds.com: Only commit we had this week was something for Cuga's issue on random traffic nuking his standalone, so hopefully that helped
[11:08 AM] Cuga.Rajal @rajal.org:9000: Still too early to tell, but no crashes so far
[11:08 AM] Ubit Umarov: oh that.. i was to tell ho lazy devs where
[11:10 AM] Cuga.Rajal @rajal.org:9000: It was a weird dotnet crash that took down the.net hTTP server
[11:10 AM] Vincent.Sylvester @hg.zetaworlds.com: Been a while that I looked at the whole child and root agent thing myself
[11:10 AM] Vincent.Sylvester @hg.zetaworlds.com: I been meaning too as viewers seem to render less and less regions lately
[11:11 AM] puff ball: I'm sure I'm missing a packet or something, but it's nowhere in the docs or the spec
[11:11 AM] puff ball: I'm just trying to figure out how to go from a login to a root agent in the scene, so I can start rendering objects in the environment...
[11:12 AM] puff ball: I'm able to send chat messages, render terrain and I'm retrieving some objectupdate packets, but I don't receive anything for the environment, and never receive a regionHandshake.
[11:12 AM] Gavin.Hird @grid.xmir.org:8002: less and less regions?
[11:12 AM] Vincent.Sylvester @hg.zetaworlds.com: Neighbor regions
[11:13 AM] Gavin.Hird @grid.xmir.org:8002: hmmm
[11:13 AM] Andrew Hellershanks: puff, what version of Open Simulator are you running?
[11:13 AM] Ubit Umarov: you should only get terrain aftart handshake
[11:14 AM] Vincent.Sylvester @hg.zetaworlds.com: If I recall region handshake somewhat depends on caps or at least only happens if those are all there
[11:14 AM] Vincent.Sylvester @hg.zetaworlds.com: uint flags = ControllingClient.GetViewerCaps(); if ((flags & (uint)(ViewerFlags.TPBR | ViewerFlags.SentTPBR)) == (uint)ViewerFlags.TPBR) ControllingClient.SendRegionHandshake();
[11:14 AM] puff ball: OpenSim 0.9.3.1
[11:15 AM] puff ball: what do you mean by "all there"? I am requesting the caps, and I'm able to use those... do you mean that I need to send all of the caps?
[11:16 AM] puff ball: I'm only requesting a subset of the caps, like ViewerAsset and a few others
[11:16 AM] Vincent.Sylvester @hg.zetaworlds.com: That I am not sure of, but with OpenSim there is also not all caps in use or rather using the older versions
[11:16 AM] Vincent.Sylvester @hg.zetaworlds.com: Assets coming from the region and not directly via asset server for example
[11:17 AM] puff ball: hmmm, could you link me to where the code checks for those caps? That might be my missing piece!
[11:19 AM] Vincent.Sylvester @hg.zetaworlds.com: ScenePresence.cs somewhere in SendInitialData() might be good to look at, but I don't really know all that much about it
[11:20 AM] Vincent.Sylvester @hg.zetaworlds.com: Login to your region with Firestorm and note down the log messages, look for those in the code and go back and forth from those, that should give you some idea... it's usually how I solve these conundrums xD
[11:21 AM] puff ball: yeah, that's what I've been trying but I can't seem to find the right logs...!
[11:21 AM] puff ball: is there a way to make OpenSim super verbose, with every packet going in and out ?
[11:21 AM] puff ball: I feel like that would solve all of my problems
[11:21 AM] Vincent.Sylvester @hg.zetaworlds.com: You can enable the http debug, which gives you some more data, but only on the http end, not the lludp stuff
[11:22 AM] puff ball: hmmm, that is still pretty useful... Maybe I should just compile an opensim version that logs every packet
[11:22 AM] puff ball: it would probably save me some time
[11:23 AM] Vincent.Sylvester @hg.zetaworlds.com: Reading through this it seems to request the viewer caps from the circuitcode so I guess you need to indicate to it that you have all the required caps to elevate to root agent
[11:23 AM] puff ball: !!!!
[11:23 AM] puff ball: do you know which caps are required?
[11:24 AM] Vincent.Sylvester @hg.zetaworlds.com: I posted some code earlier which is part of what it checks for
[11:24 AM] Vincent.Sylvester @hg.zetaworlds.com: debug http <in|out|all> [<level>] - Turn on http request logging. debug jobengine <start|stop|status|log> - Start, stop, get status or set logging level of the job engine. debug lludp data out <level> <avatar-first-name> <avatar-last-name>" - Turn on debugging for final outgoing data to the given user's client. From the debug options, these are console commands you can try
[11:24 AM] puff ball: !!!!
[11:24 AM] puff ball: this is awesome omg thank you so much
[11:25 AM] Vincent.Sylvester @hg.zetaworlds.com: The GetViewerCaps at the very bottom of LLClientView might be a starting point
[11:25 AM] Vincent.Sylvester @hg.zetaworlds.com: Load up the solution in visual studio to step through code more easily, that's probably the best option to make sense of this... if not for that I'd be totally lost too
[11:26 AM] puff ball: this is awesome, thank you so much! Hopefully this is the missing puzzle piece!
[11:27 AM] Vincent.Sylvester @hg.zetaworlds.com: Was hoping Joe would drop by today, he might know a thing or two about this, but you got Gavin, he might be able to dig in as well :)
[11:27 AM] Andrew Hellershanks: Good luck with tracking down your issue, puff ball.
[11:27 AM] Vincent.Sylvester @hg.zetaworlds.com: The protocol is a bit of a mess
[11:27 AM] puff ball: it is u__u7
[11:28 AM] puff ball: but with good docs maybe it'll be less scary lol
[11:28 AM] Vincent.Sylvester @hg.zetaworlds.com: With good docs some of the nonsense might finally get adjusted too, I think LL even lost overview at this point given how they tend to "implement" things
[11:29 AM] Vincent.Sylvester @hg.zetaworlds.com: Square pegs go into round holes with enough stubborn force
[11:29 AM] puff ball: lmao yeah, hoo boy
[11:30 AM] Vincent.Sylvester @hg.zetaworlds.com: I recall when pbr came in there was some adjustment to this caps stuff so it would properly indicate whether it had pbr or not so that's last time I interacted with that side of things
[11:30 AM] puff ball: I know Joe had this figured out, but he can be tough to get in touch with...
[11:31 AM] Ubit Umarov: region caps for a client are generated on reception of usecircuitcode
[11:32 AM] Ubit Umarov: if viewer asks for seeds via http, region will wiat some 30s for that lludp
[11:33 AM] puff ball: !! :0 30 seconds ?
[11:34 AM] puff ball: which lludp?
[11:34 AM] Ubit Umarov: usercircuitcode packet
[11:34 AM] Ubit Umarov: Packet Type: UseCircuitCode
[11:36 AM] Ubit Umarov: so viewer should send that before asking for seeds
[11:37 AM] Ubit Umarov: but since there is no oreder on udp traffic, specially releative to http,,, those 30 are there to help proper order
[11:37 AM] puff ball: ok, so my client sends UseCircuitCode, and then requests ViewerAsset, FetchLibDescendents2, and FetchInventoryDescendents2
[11:37 AM] puff ball: then it sends a complete agentmovementdata
[11:37 AM] Ubit Umarov: ( opensim will kill you atfer that.. sl may keep the http waitning for ever
[11:38 AM] Ubit Umarov: yeap after getting the seeds, you send complete agentmovementdata
[11:38 AM] puff ball: you're saying the correct flow is to send the CircuitCode packet, wait 30 seconds, and then send the request for the capabilities? Which packets are we waiting for the order of ?
[11:39 AM] Vincent.Sylvester @hg.zetaworlds.com: No send within 30 seconds, it's a timeout limit
[11:39 AM] Ubit Umarov: no i said to ask for seeds after usecircuit code...
[11:40 AM] Ubit Umarov: and informmed that region gives a tolerance of 30s for things ot happen
[11:40 AM] puff ball: ohh oh ok.
[11:40 AM] puff ball: so all of those can happen right after the other.
[11:40 AM] puff ball: It must be that I'm sending an incomplete list of capabilities then...
[11:40 AM] Ubit Umarov: complete movement will send you region handshake
[11:41 AM] puff ball: yeah, that's not coming in for some reason
[11:41 AM] Vincent.Sylvester @hg.zetaworlds.com: When in doubt use the "older" caps for things
[11:41 AM] Ubit Umarov: you must answer to to it with handshakereply
[11:42 AM] Vincent.Sylvester @hg.zetaworlds.com: Remember no ais or direct assets via cdn and older profiles etc.
[11:42 AM] puff ball: I have all that hooked up, but I don't seem to ever be getting the region handshake...
[11:43 AM] puff ball: omg, is the handshakereply what promotes it out of a child to a root
[11:44 AM] Ubit Umarov: handshakereplay has critial info like type or state of viewer object cache
[11:44 AM] puff ball: I see, I seee
[11:44 AM] Ubit Umarov: region will not send you objects ( or nothing ) without that
[11:45 AM] Ubit Umarov: nd seeds also include pseuso caps that are actually flags about viewer
[11:46 AM] Vincent.Sylvester @hg.zetaworlds.com: CompleteMovement and then you need to start sending agent updates, public void CompleteMovement(IClientAPI client, bool openChildAgents) in ScenePresence if I read that correctly
[11:46 AM] puff ball: to be clear, the seeds we're talking about are the XML requests that get us the base URL to retrieve capability endpoint info from ?
[11:47 AM] puff ball: and the pseudo caps aren't endpoints, they're just one way messages from the viewer to the server about the viewer state
[11:49 AM] Ubit Umarov: yes
[11:49 AM] puff ball: OK. it's gotta be that then. I must not be sending a capability that is required in order for RegionHandshakes to be sent
[11:50 AM] Vincent.Sylvester @hg.zetaworlds.com: On region console you should see a log messages regarding new caps agent with a circuit code and path
[11:50 AM] Ubit Umarov: hmm don-t think there is any specific
[11:50 AM] puff ball: I can post my logs here!
[11:50 AM] Andrew Hellershanks: Let me jump in here for a moment. Hold the current conversation as I need to ask a question of everyone before people start departing.
[11:51 AM] Vincent.Sylvester @hg.zetaworlds.com: Like I said if you login with Firestorm and note down what it says on region console you can find a lot of the places it visits during login, from there it's a few steps up and down and you should see some things connecting to each other
[11:51 AM] Vincent.Sylvester @hg.zetaworlds.com: new caps agent being one of them
[11:51 AM] Andrew Hellershanks: We are nine days away from Christmas. Our next meetings would be two days before Christmas and two days before New Years eve and day. Do we want to still meet then or should we take a break for the holidays and reconvene on January 6th?
[11:52 AM] Gavin.Hird @grid.xmir.org:8002: I cannot be there next week
[11:52 AM] Gavin.Hird @grid.xmir.org:8002: Dec 30 is fine
[11:52 AM] Andrew Hellershanks: I know this can be a busy time for some people. Especially those of you with family.
[11:52 AM] Cuga.Rajal @rajal.org:9000: I'm flexible
[11:53 AM] Vincent.Sylvester @hg.zetaworlds.com: 23rd is a regular work day, but if no one shows no one shows
[11:54 AM] Cuga.Rajal @rajal.org:9000: I'll be right back
[11:55 AM] Andrew Hellershanks: Ok. We could skip the 23 as a formal meeting. If anyone shows we can just have more of a social event depending on who shows up but then we have a regular meeting on the 30th.
[11:55 AM] Andrew Hellershanks: Anyone else care to weigh in?
[11:55 AM] Gavin.Hird @grid.xmir.org:8002: sounds like a plan to me
[11:55 AM] Vincent.Sylvester @hg.zetaworlds.com: Yeah that's fine
[11:55 AM] Cuga.Rajal @rajal.org:9000: I missed it, are we meeting?
[11:56 AM] Andrew Hellershanks: We are, Cuga. We were just discussing whether to have formal meetings on the 23rd and 30th.
[11:56 AM] Andrew Hellershanks: just a moment... phone.
[11:56 AM] Vincent.Sylvester @hg.zetaworlds.com: One more thing to report. According to grid_stats we have reached 100k regions now, 269 grids logged
[11:57 AM] Andrew Hellershanks: I'm back
[11:58 AM] Cuga.Rajal @rajal.org:9000: wb
[11:58 AM] Vincent.Sylvester @hg.zetaworlds.com: If by then you haven't logged another crash then I may setup a honey pot on my end, cause I am curious what's going around trying to exploit game servers
[11:58 AM] Andrew Hellershanks: ok. I'll pop in on the 23rd and see who shows up, if anyone. I'll wish everyone a Merry Christmas. If I don't see you on the 23rd I'll look forward to seeing you again on the 30th.
[11:59 AM] Vincent.Sylvester @hg.zetaworlds.com: I noticed an increase in things trying to exploit all manners of holes in common software lately, git, wordpress, joomla, woocommerce etc, it's flooding quite a bit
[11:59 AM] Vincent.Sylvester @hg.zetaworlds.com: Wouldn't surprise me if part of why the wiki is slow is because of that junk
[11:59 AM] puff ball: oof yeah, AI scrapers
[11:59 AM] Gavin.Hird @grid.xmir.org:8002: I am not going to be here next week, so a Merry Christmas to you all
[11:59 AM] Andrew Hellershanks: Could be. I saw some nonsense getting posted in a Discord channel recently.
[11:59 AM] Cuga.Rajal @rajal.org:9000: Merry Xmas Gavin
[12:00 PM] Ubit Umarov: errr actually caps are no longer generated by usercircui
[12:00 PM] Vincent.Sylvester @hg.zetaworlds.com: Have merry holidays Gavin :)
[12:00 PM] puff ball: :0 caps aren't generated there?
[12:00 PM] Gavin.Hird @grid.xmir.org:8002: take care everyone
[12:00 PM] Andrew Hellershanks: Bye, Gavin.
[12:00 PM] Ubit Umarov: but when region is informed ny grid or other region that the av is on the way
[12:00 PM] puff ball: hmmm, ok
[12:01 PM] puff ball: so then caps wouldn't affect this at all ?
[12:01 PM] Andrew Hellershanks: The phone call I just received is work related. Person forgot that I have a meeting at this time.
[12:02 PM] Ubit Umarov: os you can ask for seed when you get the url
[12:02 PM] Andrew Hellershanks: Ubit, would you mind finishing the meeting? The main thing is to turn off the chat logger before you leave.
[12:02 PM] Vincent.Sylvester @hg.zetaworlds.com: Just turn it off, it doesn't work anyways
[12:03 PM] Andrew Hellershanks: Oh. I thought it still did to a point. ok, if that is the case I will do so.
[12:03 PM] Ubit Umarov: perty joe could not come today
[12:03 PM] Vincent.Sylvester @hg.zetaworlds.com: Andrew, nah the other box there does the logging now, I just copy it from the site I gave you
[12:03 PM] Ubit Umarov: he had same fights with login on a rust viewer
[12:03 PM] Andrew Hellershanks: Before I leave I will end with my usual final remark.
[12:03 PM] Andrew Hellershanks: Thank you all for coming. See you again next week.
[12:03 PM] Andrew Hellershanks: Have a safe and happy holiday.
[12:04 PM] puff ball: would posting my server logs help? The last log I get is a complete movement from scene presence, which makes me think I should get the handshake
[12:04 PM] Andrew Hellershanks: Ah, ok. I didn't see the other logger there.
[12:04 PM] Andrew Hellershanks: You need to make it green or make it cover the one that isn't working. :)
[12:04 PM] Andrew Hellershanks: ok, I have to run.
[12:05 PM] Andrew Hellershanks: /me waves
[12:05 PM] Cuga.Rajal @rajal.org:9000: tc Andrew
[12:05 PM] Vincent.Sylvester @hg.zetaworlds.com: Are you then sending agent updates?
[12:06 PM] Vincent.Sylvester @hg.zetaworlds.com: I think it needs to see you are actually alive, at least there is some code that seems to indicate it checks for agent updates
[12:06 PM] Cuga.Rajal @rajal.org:9000: I need to head out as well. See you next week, or Happy Holidays!
[12:06 PM] Cuga.Rajal @rajal.org:9000: *and* Happy Holidays :)
[12:06 PM] Cuga.Rajal @rajal.org:9000: /me waves and poofs
[12:06 PM] puff ball: I am sending those agent updates, and I am sending them with updated location values, though some of it is stubbed out
[12:07 PM] Vincent.Sylvester @hg.zetaworlds.com: If you compare a log from FS login vs. yours then you may find missing log messages you can search in the code, that'd be my approach
[12:07 PM] puff ball: yeah, I tried that but the logs are pretty much the same
[12:08 PM] Vincent.Sylvester @hg.zetaworlds.com: Pastebin both and I'll see if I can find something in code, maybe even the order ends up important
[12:08 PM] Vincent.Sylvester @hg.zetaworlds.com: If it gets one thing before it expects another as async as it is some things probably not entirely
[12:09 PM] Vincent.Sylvester @hg.zetaworlds.com: I can hop on discord call later and go through the os code with you if you don't want to go through the pain of setting up visual studio for it :)
[12:09 PM] puff ball: https://pastebin.com/irVUmwvG
[12:09 PM] puff ball: god that would be so useful
[12:09 PM] puff ball: are we friends on discord?
[12:11 PM] Vincent.Sylvester @hg.zetaworlds.com: Sent a request
[12:11 PM] puff ball: !!! WAIT A MINUTE
[12:11 PM] puff ball: lmao omg
[12:11 PM] puff ball: I didn't realize you were powertampa
[12:15 PM] Lyr.Lobo @cc.opensimulator.org:8002: /me chuckles
[12:15 PM] Lyr.Lobo @cc.opensimulator.org:8002: must dash... wishing you all a very Merry Holiday! I may be out next week *grins*
[12:18 PM] Lyr.Lobo @cc.opensimulator.org:8002: The AvaCon holiday party is tomorrow at 3pm
[12:19 PM] Lyr.Lobo @cc.opensimulator.org:8002: on the AvaCon grid - post conference celebration
[12:19 PM] Lyr.Lobo @cc.opensimulator.org:8002: hmm or today
[12:19 PM] Lyr.Lobo @cc.opensimulator.org:8002: i'm like time traveling..ack, it is today
[12:19 PM] Lyr.Lobo @cc.opensimulator.org:8002: when you don't sleep... they all run together
[12:20 PM] Lyr.Lobo @cc.opensimulator.org:8002: must go faster *laughs* See you! Happy Holidays!
[12:20 PM] puff ball: goodbye!