Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008940opensim[GRID] Other Servicepublic2021-11-05 10:072021-11-14 07:18
ReporterLLP 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOperating SystemLinux MintOperating System VersionUma
Product Version0.9.1.0 
Target VersionFixed in Version 
Summary0008940: Opensimulator not using all ports
DescriptionWhen i start OpenSim on Linux, for some reason it doens't use all the ports i specified in OpenSim.ini

When i do "sudo lsof -i -P -n | grep LISTEN", it says it uses the 9000 port but it doesn't use the 8002 port at all
Steps To ReproduceJust install opensim normally on Linux, do the usual installation.
TagsNo tags attached.
Git Revision or version number
Run Mode Standalone (Multiple Regions)
Physics EngineBulletSim
Script EngineXEngine
EnvironmentMono / Linux64
Mono Version6.x
ViewerFirestorm Viewer
Attached Files

- Relationships

-  Notes
(0038214)
BillBlight (developer)
2021-11-05 10:45

In standalone mode it will only use the TCP port specified in http_listener_port , and of course whatever UDP port is in the region config.

Other ports are used in a robust config.
(0038215)
tampa (reporter)
2021-11-05 11:55

Is something not working for you? Are unable to connect?

Otherwise on how to use OpenSim check the IRC channel on libera.chat #opensim for help on configuring and using OpenSim, Mantis is a bugtracker not a user support forum.
(0038216)
JeffKelley (reporter)
2021-11-05 22:31

There is some confusion lurking here.

PrivatePort is not used in standalones, and that's what we say here:

  ;grid default private port 8003, not used in standalone

PublicPort, however, is referenced in StandaloneCommon.ini ([LoginService], [Hypergrid], [GridInfoService]).

So, if the unedited OpenSim.ini actually boots a standalone, i am not sure it is fully functional. GridInfo will return a wrong login uri, and hypergrid will probably fail. This is a thing i never stepped in since, for ages, i write

  PublicPort=9000
  http_listener_port = ${Const|PublicPort}

Do we agree on the fact that, for standalone mode, PublicPort should match http_listener_port ? If yes, our default OpenSim.ini needs some revision.
(0038222)
Ferd Frederix (reporter)
2021-11-12 15:48

http_listener_port = ${Const|PublicPort} is a good idea.
(0038226)
JeffKelley (reporter)
2021-11-14 04:43
edited on: 2021-11-14 09:08

> http_listener_port = ${Const|PublicPort} is a good idea.

Not a bad idea, but out-of-the-box OpenSim.ini would start a standalone on port 8002. This is technically correct, but breaks ages-old convention, used everywhere in our documentation and examples, that standalones are on port 9000 and grids on 8002/8002. Plus : the preconfigured entry "localhost:9000" in viewers would not work and you would be unable to login.

The discrepancy lies in the fact that we use ${Const|PublicPort} everywhere in the inis, which is neat and handy. But we have http_listener_port hard-coded to 9000, and OpenSim.ini reflects this default.

As bizarre as it seems, the correct way to reconcile should be to set PrivatePort = 9000.

As it is today, we have a "half-baked" standalone working only on localhost, with LoginService and GridInfoService wrongly configured. Not a huge issue since it's just "look, it works", and few ppl will stay long in this zero-conf framework.

(0038227)
tampa (reporter)
2021-11-14 07:18

The "out of the box" experience is meant to get things rolling not to provide a done and dusted solution long term. OpenSim is pretty complex and has a lot of features and things to consider when setting up so proper reading of what does what and testing out things before just expecting stuff to work is paramount.

Frankly the more of these "simple" solutions exist the more problematic the entire concept becomes as things are just as simple like that and there is a lot to consider when running OpenSim at anything more than just a test standalone and even that has implications one has to deal with. Shouldn't let toddlers fiddle with heavy machinery either, without at least somewhat of an understanding and willingness to learn the ropes you won't get anywhere and OpenSim cannot and will not hold your hand in it and that's by desgin, a feature, not a bug.

So unless there is actually a bug here anywhere I am inclined to close it, because mantis remains a bug tracker, for design decisions and discussion use the mailing list or the weekly meetings, IRC even.

- Issue History
Date Modified Username Field Change
2021-11-05 10:07 LLP New Issue
2021-11-05 10:45 BillBlight Note Added: 0038214
2021-11-05 11:55 tampa Note Added: 0038215
2021-11-05 22:31 JeffKelley Note Added: 0038216
2021-11-12 15:48 Ferd Frederix Note Added: 0038222
2021-11-14 04:43 JeffKelley Note Added: 0038226
2021-11-14 07:18 tampa Note Added: 0038227
2021-11-14 09:08 JeffKelley Note Edited: 0038226 View Revisions


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker