These are chat archives for highfidelity/hifi

25th
Jan 2015
morrisford
@morrisford
Jan 25 2015 00:19
@PhilipRosedale @nbq After I made sure my stack was up to date most everything loaded fine. One problem I am left with is that my domain won't stay in the directory. I put it in there and it disappears. By the way @nbq thanks for the help.
Also, after recompiling I was seeing content in alpha in several different spots.
Philip Rosedale
@PhilipRosedale
Jan 25 2015 00:21
@nbq @morrisford We are looking... yes it seems that on some domains noone is seeing entities.
@morrisford What is the name of your domain that is not staying up? The listing in the directory is dependent on getting a ping from your domain every few seconds... is it possible your network is really slow sometimes or different in some way?
Jason Hawks
@nbq
Jan 25 2015 00:31
Thanks for checking into it @PhilipRosedale because I know when @morrisford and I were seeing some of the same anomolies in the end and it was weird since we both had the newest builds for OS X. @morrisford I do not mind helping you any time because I love to help folks! I am glad also that after you recompiled it helped you some with stuff showing up even though @PhilipRosedale does confirm some things are not showing up. I know I had that happen when I was helping @Adrianl3d last night. Some of his stuff just was not showing up for me at all.
Jason Hawks
@nbq
Jan 25 2015 00:39
@PhilipRosedale I do not know if it has to do with ping or upload but it kind of reminds me, I know a few people are having issues with the metavoxel terrain uploads that @cozza13 was doing for folks on the forums. I tested it on my domain and @Adrianl3d’s domain and I could get it to apply on both my domain and his but when he tried it got errors on the assignment-client indicating dropped or malformed packets and the entity server would literally crash and restart. I know at the meeting a few other folks were mentioning having issues getting theirs to apply correctly but every one I tested worked for me, whether I generated it or @cozza13 did (pulled from the forum posts)
morrisford
@morrisford
Jan 25 2015 00:59
@PhilipRosedale The place name of my domain is cape. It is a cloud server at DigitalOcean. It seems quite responsive whenever I am accessing it. I can help with whatever testing is needed using my domain. I know it is a lot easier finding problems when there is a failing instance. @nbq I have been experimenting/figuring out terrains this evening and I just saw an instance of an extra set of assignments running. I may have fat fingered it but it may have been something getting jittery.
Jason Hawks
@nbq
Jan 25 2015 01:04
@morrisford I am using a DO droplet too for one of my domains (not the one we were on though), as for the terrains, this had nothing to do with extra assignments running, just using the metavoxel editor and doing a heightmap upload and uploading the raw file and jpeg of the image. The issue is more than likely the images are 4096x4096 and 5-8 MB in size and if someone has a slower upload speed then they hit apply, the entity thread of the assignment client seems to crash and restart itself
morrisford
@morrisford
Jan 25 2015 01:06
@nbq Do you think it is bandwidth sensitive? I am playing with a 4096 raw file and a large jpg.
Jason Hawks
@nbq
Jan 25 2015 01:06
@morrisford depends, what is your home upload speed?
morrisford
@morrisford
Jan 25 2015 01:06
About 2 meg.
Jason Hawks
@nbq
Jan 25 2015 01:07
I have 50 Mb down, 5Mb up
morrisford
@morrisford
Jan 25 2015 01:07
What size droplet are you using?
Jason Hawks
@nbq
Jan 25 2015 01:08
oh for the DO, 512, but I never have issues uploading to any of mine, though others have, for some reason
morrisford
@morrisford
Jan 25 2015 01:08
Mine is an itty-bitty one also and seems to work fine but I don't have any content in the domain.
Jason Hawks
@nbq
Jan 25 2015 01:08
want to try to upload it on mine and see if it works for you? I have one running under the mac stack manager and one fresh compile
512 is their smallest
so you would be running the same
morrisford
@morrisford
Jan 25 2015 01:09
I would think that their servers of the same size would perform the same. Mine is in NY. Where is yours?
Jason Hawks
@nbq
Jan 25 2015 01:10
yeah, same
I think, let me see
I got a $100 code so I have it up just to play with it
morrisford
@morrisford
Jan 25 2015 01:11
So, we are the same configuration and both run ok. How much content do you have in world? Like I said I have essentially nothing.
Jason Hawks
@nbq
Jan 25 2015 01:11
@morrisford mine is “sfo1” since I wanted it to be close to HiFi base
morrisford
@morrisford
Jan 25 2015 01:12
And that works ok. What do you know about the one having crashes?
Jason Hawks
@nbq
Jan 25 2015 01:12
but new york is fine, I have another account with credits on it I will use in a bit to test the “new setup” shell script I am working on
I have not heard about someone with digital ocean and having crashes, at least I have not seen it mentioned
other than yours not connecting to the directory
morrisford
@morrisford
Jan 25 2015 01:15
I wonder if the ping the directory needs is a round trip ping. SFO -> NY ->SFO might be long.
Jason Hawks
@nbq
Jan 25 2015 01:15
could be, but I dont know, ping from your server ice.highfidelity.io
morrisford
@morrisford
Jan 25 2015 01:16
80 ms
not very long
Jason Hawks
@nbq
Jan 25 2015 01:16
2ms for me
but no
not bad at all
morrisford
@morrisford
Jan 25 2015 01:17
your server must be in the building!
Jason Hawks
@nbq
Jan 25 2015 01:17
500+ I would consider “maybe” 1000ms+ I would say def yes
well, the ice server is hosted at amazon ec2
morrisford
@morrisford
Jan 25 2015 01:18
Ah. Big bandwidth and tight response time there!
Jason Hawks
@nbq
Jan 25 2015 01:18
@morrisford I will PM you the traceroute
morrisford
@morrisford
Jan 25 2015 01:20
That is really amazingly fast.
Jason Hawks
@nbq
Jan 25 2015 01:20
I really doubt at 80ms your droplet should have networking issues, let me check my other server we were on earlier
its in michigan
and yes, yes it is
from my other servers, time=53.756 ms to ice
morrisford
@morrisford
Jan 25 2015 01:23
I would assume that the hifi ping is coming out of one of the hifi servers and may be at a priority level behind critical functions so could lose out on getting the ping out now and then.
Can you see the actual list of domains?
Jason Hawks
@nbq
Jan 25 2015 01:25
no, just places listed on the directory
morrisford
@morrisford
Jan 25 2015 01:26
An ICMP ping only gets into the server a tiny bit and does not compete with os functions, etc. The hifi ping would have to get down into application layers.
Jason Hawks
@nbq
Jan 25 2015 01:27
in terms of being listed on the directory, it just needs to be able to call home and say “here I am” in certain intervals to stay listed
morrisford
@morrisford
Jan 25 2015 01:27
I guess supposing about what might be wrong is not very productive, interesting though.
I wonder how many of the entries in the directory are of domains in places on the other end of the world.
Jason Hawks
@nbq
Jan 25 2015 01:29
basically like this "[DEBUG] [01/24 10:51:41] Sending ping packets to establish connectivity with ICE peer with ID QUuid("{b9e10b45-9895-4f0f-a8f9-2495361204f2}”)"
morrisford
@morrisford
Jan 25 2015 01:31
Maybe I'll chase through the log a bit tomorrow and see what I can see.
Jason Hawks
@nbq
Jan 25 2015 01:31
that I have no idea about, technically the place directory can be pointers to the same domain
okie, you do a normal background on your assignment-client or do you output it to a log too?
I do this so I can catch output to a log "assignment-client -n 4 > assignment.log 2>&1 &"
morrisford
@morrisford
Jan 25 2015 01:33
I don't even know anything about assignment-client logs yet. I am real new to this.
Jason Hawks
@nbq
Jan 25 2015 01:33
you do a self compile so thats why I asked
some people just do "./assignment-client -n 4 &” to background it
morrisford
@morrisford
Jan 25 2015 01:34
I am starting the assignments with a nohup and & so if log info comes out on standard out I should be able to see it.
Jason Hawks
@nbq
Jan 25 2015 01:35
or use apps like screen but even then its hard to scroll back sometimes
morrisford
@morrisford
Jan 25 2015 01:35
With nohup I can tail on the output while it is going.
Jason Hawks
@nbq
Jan 25 2015 01:36
yeah, with the method above you can just tail -f
the log
morrisford
@morrisford
Jan 25 2015 01:37
I just looked and I have a big long log file to look at.
Jason Hawks
@nbq
Jan 25 2015 01:37
both work in their own right depending on your needs
and yep
morrisford
@morrisford
Jan 25 2015 01:38
Well, I am going to retire for tonight. My battery is almost done and I ate too much dinner.
Jason Hawks
@nbq
Jan 25 2015 01:38
have a good one, if you need anything else let me know
morrisford
@morrisford
Jan 25 2015 01:38
I'll see if I can tell anything about dropping off the directory.
Thanks. I do appreciate the help.
Jason Hawks
@nbq
Jan 25 2015 01:39
welcome!
morrisford
@morrisford
Jan 25 2015 01:39
g'night
Jason Hawks
@nbq
Jan 25 2015 01:39
goodnight!
morrisford
@morrisford
Jan 25 2015 11:32
I think my problem with my domain disappearing from the directory is self created. My procedure is: start StackManager here on my laptop and do settings->Save and Restart. That puts my domain into the directory. The domain is on a DigitalOcean server that I compiled and executed from the command line. As long as I leave the StackManager running on my laptop my domain stays in the directory. Sooo, apparently the keep alive pings are passing between StackManager on my laptop and ICE and not to the domain server. Also, I don't see any ping log messages at the domain server. What do I need to do differently?
morrisford
@morrisford
Jan 25 2015 13:26
Also, if I restart my local StackManager the domain reappears on the directory. It then disappears again when I stop the local Stack.
Adrianl3d
@Adrianl3d
Jan 25 2015 13:33
@morrisford what do you mean local stack?
you said its hosted on digitalOcean
do you mean the local command interface?
Adrianl3d
@Adrianl3d
Jan 25 2015 13:42
or are you running another stack locally?
morrisford
@morrisford
Jan 25 2015 13:52
In order to set up the linkage between place name/domain/token/etc I run a local stack manager on my mac laptop. The domain that all that setup relates to is a linux server at DigitalOcean that I start up with two commands.
Adrianl3d
@Adrianl3d
Jan 25 2015 15:50
I had issues because I set up a stack on local, then wanted to move adriania to hosted, so I set up the same domain on a droplet, there was confusion with the IP addresses and my locations didnt show on directory, I had to reconfigure the local stack to run a totally different domain and location, then configure the droplet for adriania with a fresh token, but although adriania is remote command line, I still get to the settings locally by replacing localhost:40100 with myDomain:40100, and I try not to confuse the local domain with the remote domain. hope this helps.
Jason Hawks
@nbq
Jan 25 2015 15:53
oh yeah @morrisford, if I am understanding right you are running two, because the domain-server and assgnment-client on the server are completely seperate than anythng else and requires its own seperate domain key
also yes, @morrisford, make sure you remove the IP from the domain settngs page on the hifi data.highfidelity.io page for domains, then set networking to full on the web config
also hiya @Adrianl3d! I see I repeated a little bit of what you had said, I just woke up lol
Jason Hawks
@nbq
Jan 25 2015 15:59
also @morrisford to be completely clear, you do not NEED a local stack manager unless you want to run a seperate domain on your computer for testing etc. the nohup commands you run on the droplet at DO ARE doing the same things a stack manager does to an extent
morrisford
@morrisford
Jan 25 2015 16:13
It sounds like you are saying that I should be able to just start up the DO domain and it will connect to the directory. It doesn't.
Jason Hawks
@nbq
Jan 25 2015 16:17
yeah you have to go to your http://DOIP:40100 control panel for the domain-server, put in a NEW domain key (generate a new domain from the domains link at data.highfidelity.io)
then for the places link at data.highfidelity.io then be sure the correct domain key (the new one you generated and is running ONLY at your DO droplet
is set I mean
morrisford
@morrisford
Jan 25 2015 16:28
@nbq Ok. I think I got it. The part that I didn't know was about connecting to the domain-server at DO. I generated a new token and used it with the domain id I already had. I just need to clean up the local one to avoid conflict. Thanks once again.
Jason Hawks
@nbq
Jan 25 2015 16:32
yep you had to connect to it and configure it, it runs totally seperate, with its own domain key, when you want your place name to point to it, you just set the place to point to THAT domain key (the one ONLY programmed on your DO droplet), and welcome @morrisford !
morrisford
@morrisford
Jan 25 2015 20:12
When importing a model what do I use for the texture directory?
Jason Hawks
@nbq
Jan 25 2015 20:13
Most of the time the textures are in the FBX so it actually auto extracts it from them, if they are not then you need to use the directory that the fbx is in, or that it expects
it all depends on how you set it up/made it/how it is
morrisford
@morrisford
Jan 25 2015 20:25
I am trying to download a model from Sketchfab. It is in 3ds format. I use fbxconvertui to convert to fbx. I insert into my domain and I don't see it. I figured the textures were not picked up so the question about the texture directory. Does it matter if I convert binary or ascii?
Jason Hawks
@nbq
Jan 25 2015 20:27
well how about this, if you open the fbx by itself, does it show it clearly (there is an fbx viewer in the converter)
morrisford
@morrisford
Jan 25 2015 20:30
Not really clearly.
Jason Hawks
@nbq
Jan 25 2015 20:32
thats usually where i start is if it does not display outside of hifi, it means it needs a little bit more work
morrisford
@morrisford
Jan 25 2015 23:31
I am having the same problem as yesterday. I can't see any contents in any world. About an hour ago my interface crashed and since then nothing. I restarted my domain and no change. Interestingly, while my domain was stopped my domain stayed in the directory.