Issue Details (XML | Word | Printable)

Key: LIBOMV-457
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Robin Cornelius
Reporter: Robin Cornelius
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
libopenmetaverse

Cannot proxy libomv clients

Created: 08/Mar/09 01:48 PM   Updated: 19/Mar/09 03:05 PM
Component/s: GridProxy/WinGridProxy
Affects Version/s: None
Fix Version/s: 0.6.0

Environment: All
Steps to Reproduce: Use GridProxyApp with a libomv client


 Description  « Hide
Using SLGridProxyApp fails with libomv clients for a number of reasons. The first one is there are two minor issues in the code that processes the login request. Using a libomv client this is via xml+llsd. This is easy to fix (but i have not done so yet due to follow on problems), any how the fix for this is in ProxyLoginSD(), the login request should be "application/xml+llsd" not "application/xml". and also the grid is hard coded to Aditi.

After that, the libomv client stores its Caps in a Url class, which kindly filters the proxy url
http://127.0.0.1:8080/https://sim5459.agni.lindenlab.com:12043/cap/cd2ef86b-8c5b-bda6-eba5-ded7085cc1f9 ends up -
http://127.0.0.1:8080/https:/sim5459.agni.lindenlab.com:12043/cap/cd2ef86b-8c5b-bda6-eba5-ded7085cc1f9

(note the single / after the https This could be url escaped, or i've tried just working around it by adding it back in if it is missing. This leads to the next issue

The libomv client manages to call the proxy with an invalid http request :-

Doing caps to https://sim5459.agni.lindenlab.com:12043/cap/75c37014-9a0e-9385-ac6c-f3f2ea6b583e
Client error: EOF in client HTTP header

Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: bytes
at System.Text.Encoding.GetString (System.Byte[] bytes) [0x00000]
at GridProxy.Proxy.ProxyHTTP (System.Net.Sockets.Socket client) [0x00000]
at GridProxy.Proxy+<RunLoginProxy>c_AnonStorey1.<>m_0 () [0x00000]

So thats where we currently are.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.