I tried out the mv3d 3 days ago at the first time. Mostly all works good, I could connect to the server and the Panda3d renderer works also. But since Sunday I have a big problem, I can't never connect to the server. I run the server on localhost( Ubuntu natty), on Virtualbox (Ubuntu Lucid) and on a root server(Ubuntu Lucid). All the same problem, I get ever and on all systems the same error message. Also, I change a lot the configurations, re-initialize the server, stop, start and restart it, all the same, this is the error on the client side:
- Code: Select all
[HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2011-07-19 00:08:47+0200 [HTTPPageGetter,client] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
_inlineCallbacks(r, g, deferred)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 349, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/misc/Projekte/py3d-worlds/MV/mv3d/client/state.py", line 67, in onLogin
self.client.svc = yield self.client.conductor.getService(service)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 349, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/misc/Projekte/py3d-worlds/MV/mv3d/net/client.py", line 747, in getService
pws = yield self.getTempPasswords(sl)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 349, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
exceptions.TypeError: exceptions must be classes, or instances, not str
2011-07-19 00:08:47+0200 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
At the Server Side I see this:
- Code: Select all
accout.py line 958, UnauthozizedLogin ("invalid Credentials")
Here is one of my configuration files, perhaps you see something wrong .
- Code: Select all
[Overseer]
# Define the services to register (corresponds to sections below)
serviceNames=Overseer, Subordinate
# Define connection factories to use (corresponds to sections below)
connectionFactories=PBClient, HttpClient
name=Overseer
# If specified, run an ssh console on this port
#consolePort=4444
# For ssh console, this is a list of users:passwords separated by comas
#consoleUsers=mike:pass
# Put all MV3D data in the following folder. ~ expands to your home directory.
dataRoot=~/.mv3d
[PBClient]
type=mv3d.net.client.PBConFactory
# If you are running your own login service, you'll want to change the value
# of loginServices to point at it
loginServices=https://localhost:8080/Login
defaultCredentials=mike:pass
[HttpClient]
type=mv3d.net.client.JSONConFactory
protocol=https
[HttpServer]
type=mv3d.server.network.HttpServer
# The port to run the login service on
port=8080
# set this to "on" to use SSL (recommended)
ssl=off
# list of servers that can authenticate logins
authenticators=self/Account
# list of pages (corresponds to sections below)
#pages=GuidePage
# list of anonymously accessible pages (corresponds to sections below)
anonPages=GuidePage
# a comma separated list of static entries in the form of url:location
# honestly, though, you REALLY should use a separate webserver for these
# because you don't want your game server wasting time serving static content.
static=static:media/staticweb
[Overseer]
type=mv3d.server.overseer.OverseerService
loginService=https://localhost:8080/Login
accountService=pb://localhost:1999/Account
publicLocation=pb://localhost:1999/Overseer
startPort=1997
[Subordinate]
type=mv3d.server.overseer.SubordinateService
interfaces=mv3d.server.overseer.SubordinateServiceView
grantPermissions=all:admin
# todo: make this more configurable.
svnExe=c:\\Program Files (x86)\\Subversion\\bin\\svn.exe
Bye,
Juergen Hamel