Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004017 [opensim] [GRID] Hypergrid major always 2009-08-17 01:18 2009-09-09 14:37
Reporter thomax View Status public  
Assigned To
Priority immediate Resolution open  
Status patch feedback   Product Version
Summary 0004017: HyperGrid fails after DynIP reconnect
Description hello,

i run a hypergrid enabled standalone at home. i'm connected with dynamic ip address and get reconnected every 24 hours. this gets me a new ip address on each new connect.

unfortunately the sim stores the old ip address instead of using getipnodebyname.

my previous ip address was 89.246.192.126, the new assigned ip address after reconnect is 89.246.213.68. see the additional info's for the destination session and also the protocol dump.
Additional Information destination log:

09:56:47 - [HGrid]: Prepare for connection from tx Oh (@http://89.246.192.126:8300) [^] UUID=81465b86-fa5d-4205-a006-8ac28cce8ea8
09:56:47 - [HGrid]: home_address: dynapad.orang.org; home_port: 8300; remoting: 8895
09:56:48 - ------------ User Data Dump ----------
09:56:48 - >> Name: tx Oh
09:56:48 - >> HomeID: 59f63d30-3c99-451b-95f9-16b01ce3e8c7
09:56:48 - >> HomeHandle: 3692659968
09:56:48 - >> HomeX: 0
09:56:48 - >> HomeY: 14424453
09:56:48 - >> UserServer: http://89.246.192.126:8300 [^]
09:56:48 - >> InvServer: http://89.246.192.126:8300 [^]
09:56:48 - >> AssetServer: http://89.246.192.126:8300 [^]
09:56:48 - ------------ -------------- ----------
09:56:48 - ------------ Region Data Dump ----------
09:56:48 - >> handle: 3692659968
09:56:48 - >> coords: 0, 920394117
09:56:48 - >> secret: 7751556977625600
09:56:48 - >> remoting address: 89.246.213.68
09:56:48 - >> remoting port: 8895
09:56:48 - >> external host name: dynapad.orang.org
09:56:48 - >> http port: 8300
09:56:48 - >> external EP address: 89.246.213.68
09:56:48 - >> external EP port: 19010
09:56:48 - ------------ -------------- ----------
09:56:48 - ---------------------------
09:56:48 - >> uri=/agent/81465b86-fa5d-4205-a006-8ac28cce8ea8/
09:56:48 - >> content-type=application/json
09:56:48 - >> http-method=POST
09:56:48 - ---------------------------




protocol dump:

POST / HTTP/1.1

Content-Type: text/xml

Content-Length: 1941

Expect: 100-continue

Host: tx.icf.de:9095



<?xml version="1.0" encoding="utf-8"?><methodCall><methodName>expect_hg_user</methodName><params><param><value><struct><member><name>home_remoting</name><value><string>8895</string></value></member><member><name>circuit_code</name><value><string>1056071360</string></value></member><member><name>internal_port</name><value><string>19010</string></value></member><member><name>home_address</name><value><string>dynapad.orang.org</string></value></member><member><name>root_folder_id</name><value /></member><member><name>assetserver_id</name><value><string>http://89.246.192.126:8300</string></value></member><member><name>userserver_id</name><value><string>http://89.246.192.126:8300</string></value></member><member><name>lastname</name><value><string>Oh</string></value></member><member><name>region_uuid</name><value><string>59f63d30-3c99-451b-95f9-16b01ce3e8c7</string></value></member><member><name>regionhandle</name><value><string>7751556977625600</string></value></member><member><name>session_id</name><value><string>4dd76437-a327-a836-fa46-933a02598815</string></value></member><member><name>firstname</name><value><string>tx</string></value></member><member><name>secure_session_id</name><value><string>f42eea63-00aa-a2cb-dbbf-3bea144fc096</string></value></member><member><name>inventoryserver_id</name><value><string>http://89.246.192.126:8300</string></value></member><member><name>agent_id</name><value><string>81465b86-fa5d-4205-a006-8ac28cce8ea8</string></value></member><member><name>startpos_x</name><value><string>112</string></value></member><member><name>startpos_y</name><value><string>111</string></value></member><member><name>startpos_z</name><value><string>50</string></value></member><member><name>home_port</name><value><string>8300</string></value></member><member><name>caps_path</name><value><string>6fecc719-0f29-4c4c-b349-e579456aea95</string></value></member></struct></value></param></params></methodCall>HTTP/1.0 [^] 100 Please continue mate.



HTTP/1.1 200 OK

Date: Mon, 17 Aug 2009 10:10:31 GMT

Content-Length: 427

Content-Type: text/xml

Server: Tiny WebServer

Keep-Alive: timeout=20, max=400

Connection: Keep-Alive



<?xml version="1.0"?>
<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>success</name>
                        <value>
                            <string>TRUE</string>
                        </value>
                    </member>
                </struct>
            </value>
        </param>
    </params>
</methodResponse>
Tags No tags attached.
Git Revision ca5da5face978860ee2071a63f735ebc9aa49aee
SVN Revision 0
Run Mode Standalone (Multiple Regions)
Physics Engine ODE
Environment Mono / Linux32
Mono Version trunk
Attached Files ? file icon patch_var1 [^] (1,968 bytes) 2009-08-19 04:39
? file icon patch_var2 [^] (1,909 bytes) 2009-08-19 04:39
? file icon patch_var3 [^] (685 bytes) 2009-08-19 04:40

- Relationships

-  Notes
(0012959)
thomax (reporter)
2009-08-19 04:42

ok,

i added 3 variants of patches. each of them results in using the configured url's instead of using a stale ip address which might change during the runtime.

tx Oh
(0013112)
Data Rossini (reporter)
2009-09-01 23:10

Hi,
have the same problem since my beginning with opensim, with my standalone HGrid. I have connected my private homeserver over a dsl provider.
After reconnect of the dsl (after 24h from provider) the HGrid connection from own HGrid to other HGrids outside failed. Will try to install the patches for my self. I don't belief it would be fixed next time :-(.

Thanks thomax
(0013186)
Data Rossini (reporter)
2009-09-06 05:11

Hi thomax,

my feedback to your patch.
I have tested the patch with my standalone hypergrid enabled sim.
The patches seems principle work.
But after reconnect the dsl (get another ip address) the actual session with Hippo Viewer is interrupted. After immediatly relog with Hippo Viewer I cannot login and get the message "Login failed. The avatar inventory service is not responding. Please notify your region operator.".
I wait some minutes then I can login again.
And the good messages is, now I can connect to another HyperGrid.

My Sim runs with revision: 47e0024238d3fabe149ffcd0a0e1a4c4776760a2

Thank you and have a nice day
(0013237)
thomax (reporter)
2009-09-09 11:20

well,

i think it's because of the nameserver update? but as you said, it works now. in principle when we configure hostnames then the software should use the hostname and never an ip address.

else i look forward to get one of these patches applied by the source gods.

for sure i will not send anymore patches when my work is fruitless and/or unwelcome.

thomax
(0013249)
Data Rossini (reporter)
2009-09-09 14:37
edited on: 2009-09-09 14:43

I dont't know. It is possible that nameresolution of nameserver was the reason.
I think the most of OpenSim users need more of this kind of your usefull patches.
Many of us have a highspeed dsl ( > 16 MBit) and private standalone sim with dynamic ip service and activated HyperGrid service to 'tp' to other sims/regions.

Thank You, thomax


- Issue History
Date Modified Username Field Change
2009-08-17 01:18 thomax New Issue
2009-08-17 01:18 thomax Git Revision => ca5da5face978860ee2071a63f735ebc9aa49aee
2009-08-17 01:18 thomax SVN Revision => 0
2009-08-17 01:18 thomax Run Mode => Standalone (Multiple Regions)
2009-08-17 01:18 thomax Physics Engine => ODE
2009-08-17 01:18 thomax Environment => Mono / Linux32
2009-08-17 01:18 thomax Mono Version => trunk
2009-08-19 04:39 thomax File Added: patch_var1
2009-08-19 04:39 thomax File Added: patch_var2
2009-08-19 04:40 thomax File Added: patch_var3
2009-08-19 04:42 thomax Note Added: 0012959
2009-08-19 04:42 thomax Status new => patch included
2009-08-24 13:37 thomax Status patch included => patch feedback
2009-09-01 08:42 thomax Priority normal => immediate
2009-09-01 23:10 Data Rossini Note Added: 0013112
2009-09-06 05:11 Data Rossini Note Added: 0013186
2009-09-09 11:20 thomax Note Added: 0013237
2009-09-09 14:37 Data Rossini Note Added: 0013249
2009-09-09 14:43 Data Rossini Note Edited: 0013249


Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker