The very last error

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

The very last error

tringate
Today I decided to figure out what was causing all the errors and warn messages in my console log for my region.  Somre of my other regions have several hundred of them appear at startup but I wanted to clean my own region I use as my home so it was totally clean.

I have only one warn message left but I noticed it has been around for awhile and it is in all of my regions.

I am running on OSgrid and do have my regions running one release behind the code OSgrid packages about once a month.

This is the error.

2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not defined in configuration, HTTP listener for LSL disabled

I suspect it isn’t a big deal, but how nice it would be to have a clean startup of a region with no such kind of errors at all.

Does anyone know exactly where I would look for what this is that is missing?  I had no idea there was code in opensim to connect to SL servers.

Tom

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

Shaun T. Erickson-2
A warning is NOT an error. It is simply letting you  know that a particular
function is not available, as it has not been configured.

On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:

> Today I decided to figure out what was causing all the errors and warn
> messages in my console log for my region.  Somre of my other regions have
> several hundred of them appear at startup but I wanted to clean my own
> region I use as my home so it was totally clean.
>
> I have only one warn message left but I noticed it has been around for
> awhile and it is in all of my regions.
>
> I am running on OSgrid and do have my regions running one release behind
> the code OSgrid packages about once a month.
>
> This is the error.
>
> 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> defined in configuration, HTTP listener for LSL disabled
>
> I suspect it isn’t a big deal, but how nice it would be to have a clean
> startup of a region with no such kind of errors at all.
>
> Does anyone know exactly where I would look for what this is that is
> missing?  I had no idea there was code in opensim to connect to SL servers.
>
> Tom
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>



--
        -ste
_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

tringate
I understand it is not an ERROR for the program to operate.

I would prefer not to get into a discussion of what is or is not an error
and simply find out what needs to get fixed.

Open sim is obviously checking something and finds it missing.  If I missed
something it is my ERROR, if opensim is checking something that should not
be checked for then it is an issue for a mantis report.  I suspect it is
something I have not configured because it is labeled LSL so probably I
ignored it.  Once I got rid of the hundreds of other WARN messages, this
last one kind of stood out.

I correct my one sentence of "This is the error." to be "This is the
message."  Since the WARN may be telling me of "my ERROR" my post title is
correct.

-----Original Message-----
From: Shaun T. Erickson
Sent: Saturday, October 28, 2017 8:49 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

A warning is NOT an error. It is simply letting you  know that a particular
function is not available, as it has not been configured.

On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:

> Today I decided to figure out what was causing all the errors and warn
> messages in my console log for my region.  Somre of my other regions have
> several hundred of them appear at startup but I wanted to clean my own
> region I use as my home so it was totally clean.
>
> I have only one warn message left but I noticed it has been around for
> awhile and it is in all of my regions.
>
> I am running on OSgrid and do have my regions running one release behind
> the code OSgrid packages about once a month.
>
> This is the error.
>
> 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> defined in configuration, HTTP listener for LSL disabled
>
> I suspect it isn’t a big deal, but how nice it would be to have a clean
> startup of a region with no such kind of errors at all.
>
> Does anyone know exactly where I would look for what this is that is
> missing?  I had no idea there was code in opensim to connect to SL
> servers.
>
> Tom
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>



--
        -ste
_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users 

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

Shaun T. Erickson-2
Nothing is wrong. It’s an optional thing that you could configure, if you
wanted. You haven’t, so it just warns that it won’t work as is. Perhaps
they could change it to an INFO messsge, instead if a WARN message, but
that would be all, I think.

On Sat, Oct 28, 2017 at 9:49 PM <[hidden email]> wrote:

> I understand it is not an ERROR for the program to operate.
>
> I would prefer not to get into a discussion of what is or is not an error
> and simply find out what needs to get fixed.
>
> Open sim is obviously checking something and finds it missing.  If I missed
> something it is my ERROR, if opensim is checking something that should not
> be checked for then it is an issue for a mantis report.  I suspect it is
> something I have not configured because it is labeled LSL so probably I
> ignored it.  Once I got rid of the hundreds of other WARN messages, this
> last one kind of stood out.
>
> I correct my one sentence of "This is the error." to be "This is the
> message."  Since the WARN may be telling me of "my ERROR" my post title is
> correct.
>
> -----Original Message-----
> From: Shaun T. Erickson
> Sent: Saturday, October 28, 2017 8:49 PM
> To: [hidden email]
> Subject: Re: [Opensim-users] The very last error
>
> A warning is NOT an error. It is simply letting you  know that a particular
> function is not available, as it has not been configured.
>
> On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:
>
> > Today I decided to figure out what was causing all the errors and warn
> > messages in my console log for my region.  Somre of my other regions have
> > several hundred of them appear at startup but I wanted to clean my own
> > region I use as my home so it was totally clean.
> >
> > I have only one warn message left but I noticed it has been around for
> > awhile and it is in all of my regions.
> >
> > I am running on OSgrid and do have my regions running one release behind
> > the code OSgrid packages about once a month.
> >
> > This is the error.
> >
> > 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> > defined in configuration, HTTP listener for LSL disabled
> >
> > I suspect it isn’t a big deal, but how nice it would be to have a clean
> > startup of a region with no such kind of errors at all.
> >
> > Does anyone know exactly where I would look for what this is that is
> > missing?  I had no idea there was code in opensim to connect to SL
> > servers.
> >
> > Tom
> >
> > _______________________________________________
> > Opensim-users mailing list
> > [hidden email]
> > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
> >
>
>
>
> --
>         -ste
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>
--
        -ste
_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

AJLDuarte
In reply to this post by tringate
Hi
        In OpenSim.ini.example (version 0.9 release and above)
        You can see the line:

        ExternalHostNameForLSL = ${Const|BaseHostname}

        Uncommented, so the feature is enabled by default.
        The fact you don't have it on Opensim.ini, may mean you did reuse 0.8x version...
        On the update you should use the new configuration files, changing what you need comparing to old ones (yes a pain i know :( )
        So please compare the files and fix (also the other relevant .ini files), or you may have other problems you just did not detected.
        BaseHostname for example is now defined at top of the OpenSim.ini in section [Const]
        (You may change that to other url, guess not in your case)

Regards,
Ubit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Sunday, October 29, 2017 01:50
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

I understand it is not an ERROR for the program to operate.

I would prefer not to get into a discussion of what is or is not an error and simply find out what needs to get fixed.

Open sim is obviously checking something and finds it missing.  If I missed something it is my ERROR, if opensim is checking something that should not be checked for then it is an issue for a mantis report.  I suspect it is something I have not configured because it is labeled LSL so probably I ignored it.  Once I got rid of the hundreds of other WARN messages, this last one kind of stood out.

I correct my one sentence of "This is the error." to be "This is the message."  Since the WARN may be telling me of "my ERROR" my post title is correct.

-----Original Message-----
From: Shaun T. Erickson
Sent: Saturday, October 28, 2017 8:49 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

A warning is NOT an error. It is simply letting you  know that a particular function is not available, as it has not been configured.

On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:

> Today I decided to figure out what was causing all the errors and warn
> messages in my console log for my region.  Somre of my other regions
> have several hundred of them appear at startup but I wanted to clean
> my own region I use as my home so it was totally clean.
>
> I have only one warn message left but I noticed it has been around for
> awhile and it is in all of my regions.
>
> I am running on OSgrid and do have my regions running one release
> behind the code OSgrid packages about once a month.
>
> This is the error.
>
> 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> defined in configuration, HTTP listener for LSL disabled
>
> I suspect it isn’t a big deal, but how nice it would be to have a
> clean startup of a region with no such kind of errors at all.
>
> Does anyone know exactly where I would look for what this is that is
> missing?  I had no idea there was code in opensim to connect to SL
> servers.
>
> Tom
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>



--
        -ste
_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users 

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

AJLDuarte
Hi
        About Error or Warning, or Info I am sure we do have a few some questionable choices, that we will fix in time.
        Think WARN is ok in this case since it is option, sure if you need that feature then it is actually a error for you :)
        Also some messages are really only relevant for Dev debug / diagnostics and will be removed when we are ok with the relevant code sections.
Ubit.


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of AJLDuarte
Sent: Sunday, October 29, 2017 02:05
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

Hi
        In OpenSim.ini.example (version 0.9 release and above)
        You can see the line:

        ExternalHostNameForLSL = ${Const|BaseHostname}

        Uncommented, so the feature is enabled by default.
        The fact you don't have it on Opensim.ini, may mean you did reuse 0.8x version...
        On the update you should use the new configuration files, changing what you need comparing to old ones (yes a pain i know :( )
        So please compare the files and fix (also the other relevant .ini files), or you may have other problems you just did not detected.
        BaseHostname for example is now defined at top of the OpenSim.ini in section [Const]
        (You may change that to other url, guess not in your case)

Regards,
Ubit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Sunday, October 29, 2017 01:50
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

I understand it is not an ERROR for the program to operate.

I would prefer not to get into a discussion of what is or is not an error and simply find out what needs to get fixed.

Open sim is obviously checking something and finds it missing.  If I missed something it is my ERROR, if opensim is checking something that should not be checked for then it is an issue for a mantis report.  I suspect it is something I have not configured because it is labeled LSL so probably I ignored it.  Once I got rid of the hundreds of other WARN messages, this last one kind of stood out.

I correct my one sentence of "This is the error." to be "This is the message."  Since the WARN may be telling me of "my ERROR" my post title is correct.

-----Original Message-----
From: Shaun T. Erickson
Sent: Saturday, October 28, 2017 8:49 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

A warning is NOT an error. It is simply letting you  know that a particular function is not available, as it has not been configured.

On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:

> Today I decided to figure out what was causing all the errors and warn
> messages in my console log for my region.  Somre of my other regions
> have several hundred of them appear at startup but I wanted to clean
> my own region I use as my home so it was totally clean.
>
> I have only one warn message left but I noticed it has been around for
> awhile and it is in all of my regions.
>
> I am running on OSgrid and do have my regions running one release
> behind the code OSgrid packages about once a month.
>
> This is the error.
>
> 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> defined in configuration, HTTP listener for LSL disabled
>
> I suspect it isn’t a big deal, but how nice it would be to have a
> clean startup of a region with no such kind of errors at all.
>
> Does anyone know exactly where I would look for what this is that is
> missing?  I had no idea there was code in opensim to connect to SL
> servers.
>
> Tom
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>



--
        -ste
_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users 

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

tringate
In reply to this post by AJLDuarte
Ubit,

Thanks for this information.  Today I upgraded my test region to the latest
release that OSgrid puts out which was November 8th, 2017.  Oddly enough
they have changed this setting in OpenSim.ini to be:

;# {ExternalHostNameForLSL} {} {Hostname to use for HTTP-IN URLs. This
should be reachable from the internet.} {}
;; Hostname to use in llRequestURL/llRequestSecureURL
;; if not defined - default machine name is being used
;; (on Windows this mean NETBIOS name - useably only inside local network)
; ExternalHostNameForLSL = "127.0.0.1"

Apparently they want this feature to be disabled.

I actually use this function on a seldom used object that transfers NPC
images between my server and in-world.  I have not tried that particular
object for well over a year not so would not have noticed it may not be
working.

Strangely enough when looking up the llRequestURL function it says nothing
about any configuration parameter needed.  I suspect that is because in SL
no user is able to change configuration parameters in the servers.

It is not clear to me how this function could actually work since in my case
all my servers are behind my router which is where my host name points to
Using port forwarding it directs the inbound requests to the proper
computer/server.

The wiki states: Requests one HTTP:// url for use by this script. The
http_request event is triggered with the result of the request. HTTP-in uses
port 12046.

I don't even forward that port to any server.  How could one server handle
the requests for scripts running in different servers behind the same
gateway?

With this function disabled, how does this even work?  I must confess I had
to be running release 0.8 the last time I used this object.

Tom

-----Original Message-----
From: AJLDuarte
Sent: Saturday, October 28, 2017 10:05 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

Hi
In OpenSim.ini.example (version 0.9 release and above)
You can see the line:

ExternalHostNameForLSL = ${Const|BaseHostname}

Uncommented, so the feature is enabled by default.
The fact you don't have it on Opensim.ini, may mean you did reuse 0.8x
version...
On the update you should use the new configuration files, changing what you
need comparing to old ones (yes a pain i know :( )
So please compare the files and fix (also the other relevant .ini files), or
you may have other problems you just did not detected.
BaseHostname for example is now defined at top of the OpenSim.ini in section
[Const]
(You may change that to other url, guess not in your case)

Regards,
Ubit

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of
[hidden email]
Sent: Sunday, October 29, 2017 01:50
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

I understand it is not an ERROR for the program to operate.

I would prefer not to get into a discussion of what is or is not an error
and simply find out what needs to get fixed.

Open sim is obviously checking something and finds it missing.  If I missed
something it is my ERROR, if opensim is checking something that should not
be checked for then it is an issue for a mantis report.  I suspect it is
something I have not configured because it is labeled LSL so probably I
ignored it.  Once I got rid of the hundreds of other WARN messages, this
last one kind of stood out.

I correct my one sentence of "This is the error." to be "This is the
message."  Since the WARN may be telling me of "my ERROR" my post title is
correct.

-----Original Message-----
From: Shaun T. Erickson
Sent: Saturday, October 28, 2017 8:49 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

A warning is NOT an error. It is simply letting you  know that a particular
function is not available, as it has not been configured.

On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:

> Today I decided to figure out what was causing all the errors and warn
> messages in my console log for my region.  Somre of my other regions
> have several hundred of them appear at startup but I wanted to clean
> my own region I use as my home so it was totally clean.
>
> I have only one warn message left but I noticed it has been around for
> awhile and it is in all of my regions.
>
> I am running on OSgrid and do have my regions running one release
> behind the code OSgrid packages about once a month.
>
> This is the error.
>
> 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> defined in configuration, HTTP listener for LSL disabled
>
> I suspect it isn’t a big deal, but how nice it would be to have a
> clean startup of a region with no such kind of errors at all.
>
> Does anyone know exactly where I would look for what this is that is
> missing?  I had no idea there was code in opensim to connect to SL
> servers.
>
> Tom

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

AJLDuarte
Hi,
        In relation to ExternalHostNameForLSL the main difference relative to 0.8.2 is that you do need to set it in Opensim.ini
        If absent, 0.8.2 did used a machine name obtained from the operating system, that did not work in many cases (like localhost on old example didn't).
        The default in 0.9 does set it to the same external host name of the region main http server, now defined at top of page.
        The use of Const|BaseHostname prevents having it set on Opensim.default.ini, as usual for defaults, so it must be uncommented on Opensim.ini, to be active.
        The port will be the main http server port, or the one defined with "https_port" (see Opensim.defaults.ini) in case of a secure connection (as in 0.8.2).
        So for unsecure ulrs your network configuration should also work with 0.9 default, you only need to check the ssl port forwarding if using ssl (again as 0.8.2)
        The option does allow a different hostname, but it also does need to route to the region where the script is running.
        - Port 12046 is SL specific.
        I don't know osgrid settings, and it is possible they consider better to have it disabled by default, for their user base (since it did not work with 0.8.2 defaults for most of those)
        Hope this helps,
Ubit.



-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Friday, November 10, 2017 23:20
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

Ubit,

Thanks for this information.  Today I upgraded my test region to the latest release that OSgrid puts out which was November 8th, 2017.  Oddly enough they have changed this setting in OpenSim.ini to be:

;# {ExternalHostNameForLSL} {} {Hostname to use for HTTP-IN URLs. This should be reachable from the internet.} {} ;; Hostname to use in llRequestURL/llRequestSecureURL ;; if not defined - default machine name is being used ;; (on Windows this mean NETBIOS name - useably only inside local network) ; ExternalHostNameForLSL = "127.0.0.1"

Apparently they want this feature to be disabled.

I actually use this function on a seldom used object that transfers NPC images between my server and in-world.  I have not tried that particular object for well over a year not so would not have noticed it may not be working.

Strangely enough when looking up the llRequestURL function it says nothing about any configuration parameter needed.  I suspect that is because in SL no user is able to change configuration parameters in the servers.

It is not clear to me how this function could actually work since in my case all my servers are behind my router which is where my host name points to Using port forwarding it directs the inbound requests to the proper computer/server.

The wiki states: Requests one HTTP:// url for use by this script. The http_request event is triggered with the result of the request. HTTP-in uses port 12046.

I don't even forward that port to any server.  How could one server handle the requests for scripts running in different servers behind the same gateway?

With this function disabled, how does this even work?  I must confess I had to be running release 0.8 the last time I used this object.

Tom

-----Original Message-----
From: AJLDuarte
Sent: Saturday, October 28, 2017 10:05 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

Hi
In OpenSim.ini.example (version 0.9 release and above) You can see the line:

ExternalHostNameForLSL = ${Const|BaseHostname}

Uncommented, so the feature is enabled by default.
The fact you don't have it on Opensim.ini, may mean you did reuse 0.8x version...
On the update you should use the new configuration files, changing what you need comparing to old ones (yes a pain i know :( ) So please compare the files and fix (also the other relevant .ini files), or you may have other problems you just did not detected.
BaseHostname for example is now defined at top of the OpenSim.ini in section [Const] (You may change that to other url, guess not in your case)

Regards,
Ubit

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Sunday, October 29, 2017 01:50
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

I understand it is not an ERROR for the program to operate.

I would prefer not to get into a discussion of what is or is not an error and simply find out what needs to get fixed.

Open sim is obviously checking something and finds it missing.  If I missed something it is my ERROR, if opensim is checking something that should not be checked for then it is an issue for a mantis report.  I suspect it is something I have not configured because it is labeled LSL so probably I ignored it.  Once I got rid of the hundreds of other WARN messages, this last one kind of stood out.

I correct my one sentence of "This is the error." to be "This is the message."  Since the WARN may be telling me of "my ERROR" my post title is correct.

-----Original Message-----
From: Shaun T. Erickson
Sent: Saturday, October 28, 2017 8:49 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

A warning is NOT an error. It is simply letting you  know that a particular function is not available, as it has not been configured.

On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:

> Today I decided to figure out what was causing all the errors and warn
> messages in my console log for my region.  Somre of my other regions
> have several hundred of them appear at startup but I wanted to clean
> my own region I use as my home so it was totally clean.
>
> I have only one warn message left but I noticed it has been around for
> awhile and it is in all of my regions.
>
> I am running on OSgrid and do have my regions running one release
> behind the code OSgrid packages about once a month.
>
> This is the error.
>
> 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> defined in configuration, HTTP listener for LSL disabled
>
> I suspect it isn’t a big deal, but how nice it would be to have a
> clean startup of a region with no such kind of errors at all.
>
> Does anyone know exactly where I would look for what this is that is
> missing?  I had no idea there was code in opensim to connect to SL
> servers.
>
> Tom

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: The very last error

AJLDuarte
Note that osgrid opensim.ini does say
...
    ;; if not defined - llRequestURL/llRequestSecureURL are disabled
        ; UNCOMMENT AND SET THIS TO YOUR EXTERNAL OR LOCAL ADDRESS TO ENABLE AS NEEDED
    ;ExternalHostNameForLSL = 127.0.0.1
...
        So basicly the same, they are just not using for now the ${Const...  macros, that our master example uses.
Ubit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of AJLDuarte
Sent: Saturday, November 11, 2017 04:05
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

Hi,
        In relation to ExternalHostNameForLSL the main difference relative to 0.8.2 is that you do need to set it in Opensim.ini
        If absent, 0.8.2 did used a machine name obtained from the operating system, that did not work in many cases (like localhost on old example didn't).
        The default in 0.9 does set it to the same external host name of the region main http server, now defined at top of page.
        The use of Const|BaseHostname prevents having it set on Opensim.default.ini, as usual for defaults, so it must be uncommented on Opensim.ini, to be active.
        The port will be the main http server port, or the one defined with "https_port" (see Opensim.defaults.ini) in case of a secure connection (as in 0.8.2).
        So for unsecure ulrs your network configuration should also work with 0.9 default, you only need to check the ssl port forwarding if using ssl (again as 0.8.2)
        The option does allow a different hostname, but it also does need to route to the region where the script is running.
        - Port 12046 is SL specific.
        I don't know osgrid settings, and it is possible they consider better to have it disabled by default, for their user base (since it did not work with 0.8.2 defaults for most of those)
        Hope this helps,
Ubit.



-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Friday, November 10, 2017 23:20
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

Ubit,

Thanks for this information.  Today I upgraded my test region to the latest release that OSgrid puts out which was November 8th, 2017.  Oddly enough they have changed this setting in OpenSim.ini to be:

;# {ExternalHostNameForLSL} {} {Hostname to use for HTTP-IN URLs. This should be reachable from the internet.} {} ;; Hostname to use in llRequestURL/llRequestSecureURL ;; if not defined - default machine name is being used ;; (on Windows this mean NETBIOS name - useably only inside local network) ; ExternalHostNameForLSL = "127.0.0.1"

Apparently they want this feature to be disabled.

I actually use this function on a seldom used object that transfers NPC images between my server and in-world.  I have not tried that particular object for well over a year not so would not have noticed it may not be working.

Strangely enough when looking up the llRequestURL function it says nothing about any configuration parameter needed.  I suspect that is because in SL no user is able to change configuration parameters in the servers.

It is not clear to me how this function could actually work since in my case all my servers are behind my router which is where my host name points to Using port forwarding it directs the inbound requests to the proper computer/server.

The wiki states: Requests one HTTP:// url for use by this script. The http_request event is triggered with the result of the request. HTTP-in uses port 12046.

I don't even forward that port to any server.  How could one server handle the requests for scripts running in different servers behind the same gateway?

With this function disabled, how does this even work?  I must confess I had to be running release 0.8 the last time I used this object.

Tom

-----Original Message-----
From: AJLDuarte
Sent: Saturday, October 28, 2017 10:05 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

Hi
In OpenSim.ini.example (version 0.9 release and above) You can see the line:

ExternalHostNameForLSL = ${Const|BaseHostname}

Uncommented, so the feature is enabled by default.
The fact you don't have it on Opensim.ini, may mean you did reuse 0.8x version...
On the update you should use the new configuration files, changing what you need comparing to old ones (yes a pain i know :( ) So please compare the files and fix (also the other relevant .ini files), or you may have other problems you just did not detected.
BaseHostname for example is now defined at top of the OpenSim.ini in section [Const] (You may change that to other url, guess not in your case)

Regards,
Ubit

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Sunday, October 29, 2017 01:50
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

I understand it is not an ERROR for the program to operate.

I would prefer not to get into a discussion of what is or is not an error and simply find out what needs to get fixed.

Open sim is obviously checking something and finds it missing.  If I missed something it is my ERROR, if opensim is checking something that should not be checked for then it is an issue for a mantis report.  I suspect it is something I have not configured because it is labeled LSL so probably I ignored it.  Once I got rid of the hundreds of other WARN messages, this last one kind of stood out.

I correct my one sentence of "This is the error." to be "This is the message."  Since the WARN may be telling me of "my ERROR" my post title is correct.

-----Original Message-----
From: Shaun T. Erickson
Sent: Saturday, October 28, 2017 8:49 PM
To: [hidden email]
Subject: Re: [Opensim-users] The very last error

A warning is NOT an error. It is simply letting you  know that a particular function is not available, as it has not been configured.

On Sat, Oct 28, 2017 at 8:38 PM, <[hidden email]> wrote:

> Today I decided to figure out what was causing all the errors and warn
> messages in my console log for my region.  Somre of my other regions
> have several hundred of them appear at startup but I wanted to clean
> my own region I use as my home so it was totally clean.
>
> I have only one warn message left but I noticed it has been around for
> awhile and it is in all of my regions.
>
> I am running on OSgrid and do have my regions running one release
> behind the code OSgrid packages about once a month.
>
> This is the error.
>
> 2017-10-28 20:20:06,402 WARN  [URL MODULE]: ExternalHostNameForLSL not
> defined in configuration, HTTP listener for LSL disabled
>
> I suspect it isn’t a big deal, but how nice it would be to have a
> clean startup of a region with no such kind of errors at all.
>
> Does anyone know exactly where I would look for what this is that is
> missing?  I had no idea there was code in opensim to connect to SL
> servers.
>
> Tom

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users