[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensim-users
Subject:    Re: [Opensim-users] viewer hanging up at region handshake
From:       "Emperor Starfinder" <emperor () secondgalaxy ! com>
Date:       2012-12-14 18:31:13
Message-ID: 000801cdda29$32925ea0$97b71be0$ () secondgalaxy ! com
[Download RAW message or body]

Okay,

The good news here is I fixed the problem using the suggestions from all
here.  Ill provide a couple of notes just in case others have this problem
in the future.

In the Regions.ini files for each region we see this:

[Example Region 1]
RegionUUID = f8ef2872-0a80-42a4-b5b5-b6d296bdebed
Location = 1000,1000
InternalAddress = 0.0.0.0
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = SYSTEMIP

This is the standard way opensim does the initial region configuration.  The
reason why people have a hard time getting past the region handshake even
with the NAT Loopback is here:

InternalAddress = 0.0.0.0

The reason is this does not designate what the actual machine's internal IP
is i.e. 127.0.0.1.  So if you are connected to a router no matter the router
it will likely not work.  You need to set the machine's IP address to static
on the machine itself as part of your NAT Loopback step. Then change the
region config file like this:

From:

InternalAddress = 0.0.0.0

To:

InternalAddress = 192.168.1.xx

The external IP Address should be the IP Address assigned by your ISP or if
using a domain name from dyndns.org that address.  This fixes the problem as
this binds the correct machine IP address in the simulator.  When I have
time I will go through the source code perhaps and figure out why its like
this.  I do hope this helps.

And I do agree with Chris/ Fleep I will be getting a static IP soon.

Emperor

-----Original Message-----
From: opensim-users-bounces@lists.berlios.de
[mailto:opensim-users-bounces@lists.berlios.de] On Behalf Of
opensim-users-request@lists.berlios.de
Sent: Friday, December 14, 2012 9:00 AM
To: opensim-users@lists.berlios.de
Subject: Opensim-users Digest, Vol 64, Issue 19

Send Opensim-users mailing list submissions to
	opensim-users@lists.berlios.de

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.berlios.de/mailman/listinfo/opensim-users
or, via email, send a message with subject or body 'help' to
	opensim-users-request@lists.berlios.de

You can reach the person managing the list at
	opensim-users-owner@lists.berlios.de

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Opensim-users digest..."


Today's Topics:

   1. Re: viewer hanging up at region handshake (Emperor Starfinder)
   2. Re: viewer hanging up at region handshake (R.Gunther)
   3. Re: viewer hanging up at region handshake (Fleep Tuque)
   4. Re: viewer hanging up at region handshake (GarminKawaguichi)
   5. Re: viewer hanging up at region handshake (R.Gunther)


----------------------------------------------------------------------

Message: 1
Date: Fri, 14 Dec 2012 06:47:26 -0500
From: "Emperor Starfinder" <emperor@secondgalaxy.com>
To: <opensim-users@lists.berlios.de>
Subject: Re: [Opensim-users] viewer hanging up at region handshake
Message-ID: <000301cdd9f0$ca7eabd0$5f7c0370$@secondgalaxy.com>
Content-Type: text/plain;	charset="us-ascii"

Yes I actually did try that.  The login is successful it just hangs at
region hand shake.  But its not giving me any error reason either in the
opensim log or the robust log as to whats causing the hangup.  I currently
am using 192.168.1.50 which for kicks I did try using example.dyndns.org and
when I changed it from 192.168.1.50 to example.dyndns.org I was not even
able to log in from another machine on my network.  Ive now reproduced this
on Imprudence, Firestorm, Phoenix, Hippo Viewer, etc.

-----Original Message-----
From: opensim-users-bounces@lists.berlios.de
[mailto:opensim-users-bounces@lists.berlios.de] On Behalf Of
opensim-users-request@lists.berlios.de
Sent: Friday, December 14, 2012 6:00 AM
To: opensim-users@lists.berlios.de
Subject: Opensim-users Digest, Vol 64, Issue 18

Send Opensim-users mailing list submissions to
	opensim-users@lists.berlios.de

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.berlios.de/mailman/listinfo/opensim-users
or, via email, send a message with subject or body 'help' to
	opensim-users-request@lists.berlios.de

You can reach the person managing the list at
	opensim-users-owner@lists.berlios.de

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Opensim-users digest..."


Today's Topics:

   1. Re: viewer hanging up at region handshake (Emperor Starfinder)
   2. Re: viewer hanging up at region handshake (Justin Clark-Casey)


----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Dec 2012 19:10:13 -0500
From: "Emperor Starfinder" <emperor@secondgalaxy.com>
To: <opensim-users@lists.berlios.de>
Subject: Re: [Opensim-users] viewer hanging up at region handshake
Message-ID: <000501cdd98f$63a79450$2af6bcf0$@secondgalaxy.com>
Content-Type: text/plain; charset="us-ascii"

Thanks for the information.  

 

I've tried the following:

 

1.       I ensured that NAT Loopback is set accordingly.

2.       I've given the machine a static IP within my network.

3.       I've experimented with changing the External IP Address from a
numeric IP such as 192.168.1.xx to a domain name such as example.dyndns.org.

4.       I've moved the machine's static IP to the DMZ as I had seen
suggested in a forum post (forget the forum.)

5.       I've double checked to be sure the firewall isn't blocking the
ports ( I even tried this with firewall turned off).

6.       I've successfully logged into the region via another pc on my
network using multiple different viewers so it is clearly something not
resolving the ip for viewers externally.

 

These steps are all producing the same result.

 

Is there a file that perhaps I can look at i.e. viewer log, etc that might
shed light on this as well?

 

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.berlios.de/pipermail/opensim-users/attachments/20121213/9de82
0b5/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 14 Dec 2012 01:14:53 +0000
From: Justin Clark-Casey <jjustincc@googlemail.com>
To: opensim-users@lists.berlios.de
Subject: Re: [Opensim-users] viewer hanging up at region handshake
Message-ID: <50CA7D8D.3000006@googlemail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Have you tried changing your external IP to the numeric external IP?  I hear
there are problems with using FQDNs in ExternalHostNames though I keep
forgetting the details.

As for the viewer log, that's a good point.  In a sample connection I have

2012-12-14T00:38:57Z INFO: addCircuitData: LLCircuit::addCircuitData for
192.168.1.7

as the first entry for the simulator's ip address, though I don't know if
that's only printed out on a successful circuit established with the
simulator or not.

On 14/12/12 00:10, Emperor Starfinder wrote:
> Thanks for the information.
>
> I?ve tried the following:
>
> 1.I ensured that NAT Loopback is set accordingly.
>
> 2.I?ve given the machine a static IP within my network.
>
> 3.I?ve experimented with changing the External IP Address from a 
> numeric IP such as 192.168.1.xx to a domain name such as
example.dyndns.org.
>
> 4.I?ve moved the machine?s static IP to the DMZ as I had seen 
> suggested in a forum post (forget the forum.)
>
> 5.I?ve double checked to be sure the firewall isn?t blocking the ports 
> ( I
even tried this with firewall turned off).
>
> 6.I?ve successfully logged into the region via another pc on my 
> network using multiple different viewers so it is clearly something 
> not
resolving the ip for viewers externally.
>
> These steps are all producing the same result.
>
> Is there a file that perhaps I can look at i.e. viewer log, etc that 
> might
shed light on this as well?
>
> Thanks.
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>


--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc


------------------------------

_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users

End of Opensim-users Digest, Vol 64, Issue 18
*********************************************



------------------------------

Message: 2
Date: Fri, 14 Dec 2012 14:04:46 +0100
From: "R.Gunther" <rigun@rigutech.nl>
To: opensim-users@lists.berlios.de
Subject: Re: [Opensim-users] viewer hanging up at region handshake
Message-ID: <50CB23EE.4070705@rigutech.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

If you have added your external ip in the region.ini file and you cannot
login local but others can from the internet you have the loopback problem.
btw i would try just you external ip number first instead of dyndns. 
also make sure you have forwarded UDP ports to, not only TCP.

On 2012-12-14 12:47, Emperor Starfinder wrote:
> Yes I actually did try that.  The login is successful it just hangs at 
> region hand shake.  But its not giving me any error reason either in 
> the opensim log or the robust log as to whats causing the hangup.  I 
> currently am using 192.168.1.50 which for kicks I did try using 
> example.dyndns.org and when I changed it from 192.168.1.50 to 
> example.dyndns.org I was not even able to log in from another machine 
> on my network.  Ive now reproduced this on Imprudence, Firestorm, Phoenix,
Hippo Viewer, etc.
>
> -----Original Message-----
> From: opensim-users-bounces@lists.berlios.de
> [mailto:opensim-users-bounces@lists.berlios.de] On Behalf Of 
> opensim-users-request@lists.berlios.de
> Sent: Friday, December 14, 2012 6:00 AM
> To: opensim-users@lists.berlios.de
> Subject: Opensim-users Digest, Vol 64, Issue 18
>
> Send Opensim-users mailing list submissions to
> 	opensim-users@lists.berlios.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.berlios.de/mailman/listinfo/opensim-users
> or, via email, send a message with subject or body 'help' to
> 	opensim-users-request@lists.berlios.de
>
> You can reach the person managing the list at
> 	opensim-users-owner@lists.berlios.de
>
> When replying, please edit your Subject line so it is more specific 
> than
> "Re: Contents of Opensim-users digest..."
>
>
> Today's Topics:
>
>     1. Re: viewer hanging up at region handshake (Emperor Starfinder)
>     2. Re: viewer hanging up at region handshake (Justin Clark-Casey)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 13 Dec 2012 19:10:13 -0500
> From: "Emperor Starfinder" <emperor@secondgalaxy.com>
> To: <opensim-users@lists.berlios.de>
> Subject: Re: [Opensim-users] viewer hanging up at region handshake
> Message-ID: <000501cdd98f$63a79450$2af6bcf0$@secondgalaxy.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Thanks for the information.
>
>   
>
> I've tried the following:
>
>   
>
> 1.       I ensured that NAT Loopback is set accordingly.
>
> 2.       I've given the machine a static IP within my network.
>
> 3.       I've experimented with changing the External IP Address from a
> numeric IP such as 192.168.1.xx to a domain name such as
example.dyndns.org.
>
> 4.       I've moved the machine's static IP to the DMZ as I had seen
> suggested in a forum post (forget the forum.)
>
> 5.       I've double checked to be sure the firewall isn't blocking the
> ports ( I even tried this with firewall turned off).
>
> 6.       I've successfully logged into the region via another pc on my
> network using multiple different viewers so it is clearly something 
> not resolving the ip for viewers externally.
>
>   
>
> These steps are all producing the same result.
>
>   
>
> Is there a file that perhaps I can look at i.e. viewer log, etc that 
> might shed light on this as well?
>
>   
>
> Thanks.
>
> -------------- next part -------------- An HTML attachment was 
> scrubbed...
> URL:
> <https://lists.berlios.de/pipermail/opensim-users/attachments/20121213
> /9de82
> 0b5/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 14 Dec 2012 01:14:53 +0000
> From: Justin Clark-Casey <jjustincc@googlemail.com>
> To: opensim-users@lists.berlios.de
> Subject: Re: [Opensim-users] viewer hanging up at region handshake
> Message-ID: <50CA7D8D.3000006@googlemail.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Have you tried changing your external IP to the numeric external IP?  
> I hear there are problems with using FQDNs in ExternalHostNames though 
> I keep forgetting the details.
>
> As for the viewer log, that's a good point.  In a sample connection I 
> have
>
> 2012-12-14T00:38:57Z INFO: addCircuitData: LLCircuit::addCircuitData 
> for
> 192.168.1.7
>
> as the first entry for the simulator's ip address, though I don't know 
> if that's only printed out on a successful circuit established with 
> the simulator or not.
>
> On 14/12/12 00:10, Emperor Starfinder wrote:
>> Thanks for the information.
>>
>> I?ve tried the following:
>>
>> 1.I ensured that NAT Loopback is set accordingly.
>>
>> 2.I?ve given the machine a static IP within my network.
>>
>> 3.I?ve experimented with changing the External IP Address from a 
>> numeric IP such as 192.168.1.xx to a domain name such as
> example.dyndns.org.
>> 4.I?ve moved the machine?s static IP to the DMZ as I had seen 
>> suggested in a forum post (forget the forum.)
>>
>> 5.I?ve double checked to be sure the firewall isn?t blocking the 
>> ports ( I
> even tried this with firewall turned off).
>> 6.I?ve successfully logged into the region via another pc on my 
>> network using multiple different viewers so it is clearly something 
>> not
> resolving the ip for viewers externally.
>> These steps are all producing the same result.
>>
>> Is there a file that perhaps I can look at i.e. viewer log, etc that 
>> might
> shed light on this as well?
>> Thanks.
>>
>>
>>
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users@lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>
> --
> Justin Clark-Casey (justincc)
> OSVW Consulting
> http://justincc.org
> http://twitter.com/justincc
>
>
> ------------------------------
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
> End of Opensim-users Digest, Vol 64, Issue 18
> *********************************************
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>



------------------------------

Message: 3
Date: Fri, 14 Dec 2012 08:27:03 -0500
From: Fleep Tuque <fleep513@gmail.com>
To: opensim-users@lists.berlios.de
Subject: Re: [Opensim-users] viewer hanging up at region handshake
Message-ID:
	<CAG6z+U4mLX+TzFr8aFHMabw5PacvQw8Fi_qKu04LgOc8ZKWZpQ@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"

Hi Emperor,

The key thing to note is that Opensim resolves the DNS of your region server
locally, no matter what IP/hostname address is configured in your
regions.ini file.  The thread I linked goes into great detail about why that
is:
http://opensim-users.2152040.n2.nabble.com/NAT-amp-Corporate-Firewall-td6223
654.html

In the case of my home network, I followed all of the troubleshooting steps,
too, did everything you have done, and it still just would not work until I
ponied up to pay my ISP for a static IP address that I could use for both
internal and external connections.  That resolved all my problems.

If you are 100% sure that the NAT loopback is working, 100% sure that you've
checked that UDP packets are getting through (with the portforward.com
tool), and 100% sure that your firewall and virus protection software aren't
blocking things, then that would be my recommendation - get a static IP
address from your ISP.

The networking piece is the single hardest part of setting up an Opensim
grid.  Once you solve this problem, everything else will seem like a
cakewalk in comparison.

Best of luck,

- Chris/Fleep


Chris M. Collins (SL/OS: Fleep Tuque)
Center for Simulations & Virtual Environments Research (UCSIM) UCIT
Instructional & Research Computing University of Cincinnati 406A Zimmer Hall
315 College Drive
PO BOX 210088
Cincinnati, OH 45221-0088
chris.collins@uc.edu
(513) 556-3018

http://ucsim.uc.edu


On Thu, Dec 13, 2012 at 7:10 PM, Emperor Starfinder <
emperor@secondgalaxy.com> wrote:

> Thanks for the information.  ****
>
> ** **
>
> I?ve tried the following:****
>
> ** **
>
> **1.       **I ensured that NAT Loopback is set accordingly.****
>
> **2.       **I?ve given the machine a static IP within my network.****
>
> **3.       **I?ve experimented with changing the External IP Address from
> a numeric IP such as 192.168.1.xx to a domain name such as
> example.dyndns.org.****
>
> **4.       **I?ve moved the machine?s static IP to the DMZ as I had seen
> suggested in a forum post (forget the forum.)****
>
> **5.       **I?ve double checked to be sure the firewall isn?t blocking
> the ports ( I even tried this with firewall turned off).****
>
> **6.       **I?ve successfully logged into the region via another pc on
> my network using multiple different viewers so it is clearly something 
> not resolving the ip for viewers externally.****
>
> ** **
>
> These steps are all producing the same result.****
>
> ** **
>
> Is there a file that perhaps I can look at i.e. viewer log, etc that 
> might shed light on this as well?****
>
> ** **
>
> Thanks.****
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.berlios.de/pipermail/opensim-users/attachments/20121214/d3d25
91c/attachment-0001.html>

------------------------------

Message: 4
Date: Fri, 14 Dec 2012 14:31:47 +0100
From: GarminKawaguichi <garmin.kawaguichi@magalaxie.com>
To: opensim-users@lists.berlios.de
Subject: Re: [Opensim-users] viewer hanging up at region handshake
Message-ID: <50CB2A43.9060702@magalaxie.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

dyndns.org does not work properly with all the personal networks. It is best
to use your internal and external DNS in the file REGION.INI.

As has been said above, set your ports correctly, eg with port 9000 for the
simulator and the numerical sequence for regions (9001, 9002, 9003
...) it is preferable to set the port range 9000 to 9050 in both TCP AND
UDP.

In REGION.INI file, use an internal address (192.168.1.50 as you said) to
InternalPort and an external address (as said Justin and you can find it
with http://www.mon-ip.com/) for ExternalHostname. Which gives us ...

[reg1]
RegionUUID = "11111111-2222-3333-4444-555555555500"
Location = "5000,4997"
InternalAddress = 192.168.1.50
InternalPort = 9001
AllowAlternatePorts = False
ExternalHostName = "82.236.xxx.yyy"
MasterAvatarFirstName = First Name
MasterAvatarLastName = Last Name
MaxPrims = 15000
RegionType = "Mainland"


[reg2]
RegionUUID = "11111111-2222-3333-4444-555555555501"
Location = "5000,4998"
InternalAddress = 192.168.1.50
InternalPort = 9002
AllowAlternatePorts = False
ExternalHostName = "82.236.xxx.yyy"
MasterAvatarFirstName = First Name
MasterAvatarLastName = Last Name
MaxPrims = 15000
RegionType = "Mainland"

etc...etc...

GCI

Le 14/12/2012 12:47, Emperor Starfinder a ?crit :
> when I changed it from 192.168.1.50 to example.dyndns.org I was not 
> even able to log in from another machine on my network



------------------------------

Message: 5
Date: Fri, 14 Dec 2012 14:59:55 +0100
From: "R.Gunther" <rigun@rigutech.nl>
To: opensim-users@lists.berlios.de
Subject: Re: [Opensim-users] viewer hanging up at region handshake
Message-ID: <50CB30DB.1040309@rigutech.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I see a problem here, InternalAddress is set to  192.168.1.50 thats almost
never good. Betetr is to set InternalAddress = 0.0.0.0 so it listen to
everything.


On 2012-12-14 14:31, GarminKawaguichi wrote:
> dyndns.org does not work properly with all the personal networks. It 
> is best to use your internal and external DNS in the file REGION.INI.
>
> As has been said above, set your ports correctly, eg with port 9000 
> for the simulator and the numerical sequence for regions (9001, 9002,
> 9003 ...) it is preferable to set the port range 9000 to 9050 in both 
> TCP AND UDP.
>
> In REGION.INI file, use an internal address (192.168.1.50 as you said) 
> to InternalPort and an external address (as said Justin and you can 
> find it with http://www.mon-ip.com/) for ExternalHostname. Which gives 
> us ...
>
> [reg1]
> RegionUUID = "11111111-2222-3333-4444-555555555500"
> Location = "5000,4997"
> InternalAddress = 192.168.1.50
> InternalPort = 9001
> AllowAlternatePorts = False
> ExternalHostName = "82.236.xxx.yyy"
> MasterAvatarFirstName = First Name
> MasterAvatarLastName = Last Name
> MaxPrims = 15000
> RegionType = "Mainland"



------------------------------

_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users

End of Opensim-users Digest, Vol 64, Issue 19
*********************************************

_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic