Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005768opensim[REGION] Scripting Enginepublic2011-11-01 03:042012-02-25 22:15
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005768: http-in request failed, possible graceful solution.
DescriptionWhen one makes a request to an http-in url that either does not exist, or presumably has been released, the console spits out two messages:

1) a "yellow" message indicating that "the given key was not present in the dictionary"

then about 30 seconds later

2) "Exception in poll service thread: System.NullReferenceException" etc.

Additionally, if loading such urls in a web browser, it seems they either timeout or just try to connect indefinitely.

What I'm thinking should happen is that if "the given key was not present in the dictionary", that opensim should immediately respond with a "410 Gone" error: "Indicates that the resource requested is no longer available and will not be available again.[2] This should be used when a resource has been intentionally removed and the resource should be purged. Upon receiving a 410 status code, the client should not request the resource again in the future. Clients such as search engines should remove the resource from their indices. Most use cases do not require clients and search engines to purge the resource, and a "404 Not Found" may be used instead."

While in the case of a randomly generated url this would be inappropriate, in practice it is more likely that an url has been requested by an LSL script then later released- semantically speaking, this sounds like a 410 error, since the use of the UUID format makes it statistically improbable that the same url will ever be used by the same script ever again.
TagsNo tags attached.
Git Revision or version number9d214d4903755e0c681c4458166b44c78b1ca677
Run ModeStandalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineBasicPhysics
Script Engine
Mono VersionNone
Attached Files

- Relationships

-  Notes
SignpostMarv (reporter)
2011-11-01 05:19

Tested in Second Life earlier, turns out LL do 404 Not Found on released urls: [^]
ssm2017 (reporter)
2012-02-25 22:14

system :
Mono JIT compiler version 2.6.7 (Debian 2.6.7-5ubuntu3)
Ubuntu 11.04 kernel 2.6.38-13-generic

opensim :
commit 01f454242d20dd513e82eae1eb79db7842e597ea
Date: Sat Feb 25 16:39:14 2012 +0100

- Issue History
Date Modified Username Field Change
2011-11-01 03:04 SignpostMarv New Issue
2011-11-01 03:04 SignpostMarv Git Revision => 9d214d4903755e0c681c4458166b44c78b1ca677
2011-11-01 03:04 SignpostMarv Run Mode => Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
2011-11-01 03:04 SignpostMarv Physics Engine => BasicPhysics
2011-11-01 03:04 SignpostMarv Environment => Unknown
2011-11-01 03:04 SignpostMarv Mono Version => None
2011-11-01 05:19 SignpostMarv Note Added: 0020283
2012-02-25 22:14 ssm2017 Note Added: 0020987
2012-02-25 22:14 ssm2017 Status new => confirmed

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker