cannot connect workspace through tunnel
I have opened a tunnel to my desktop pc so that I can connect via “ssh
glaser@localhost -p 3306”.
In VISPA I jused the settings: Host: local:3306, login:glaser
When I try to connect I get a empty alert in the web browser and the following debug output:
2014-04-03 14:51 - DEBUG - vispa.workspace - close transport
Exception AttributeError: “‘Connection’ object has no attribute
‘connection’" in <bound method Connection.del_ of
>
ignored
2014-04-03 14:51 - INFO - cherrypy.access.60963088 - 127.0.0.1 - -
[03/Apr/2014:14:51:44] “POST /ajax/connectworkspace HTTP/1.1” 500 51
“http://0.0.0.0:4282/” “Mozilla/5.0 (X11; Linux x86_64; rv:28.0)
Gecko/20100101 Firefox/28.0”
2014-04-03 14:51 - DEBUG - vispa.workspace - check database for running
workspaces 1 - 4
2014-04-03 14:51 - DEBUG - vispa.workspace - connect new workspace
2014-04-03 14:51 - INFO - vispa.workspace - spawn remote process:
’local:3306’ using command ‘None’
Traceback (most recent call last):
File ”/home/cglaser/software/vispa/1.0/vispa/tools/ajax.py“, line 19, in
wrap
content = innerfunc(args,*kwargs)
File
”/home/cglaser/.local/lib/python2.7/site-packages/cherrypy/_cpdispatch.py“,
line 34, in call
return self.callable(self.args,*self.kwargs)
File ”/home/cglaser/software/vispa/1.0/vispa/controller/ajax.py“, line
164, in connectworkspace
vispa.workspace.connect(workspace, user, db, password)
File ”/home/cglaser/software/vispa/1.0/vispa/workspace.py“, line 673, in
connect
return _connection_pool.get(user, workspace, password=password)
File ”/home/cglaser/software/vispa/1.0/vispa/workspace.py“, line 517, in
get
client = self._try_host(user, workspace, host, **kwargs)
File ”/home/cglaser/software/vispa/1.0/vispa/workspace.py“, line 480, in
_try_host
client.open()
File ”/home/cglaser/software/vispa/1.0/vispa/workspace.py“, line 392, in
open
username=self.__username)
File ”/home/cglaser/software/vispa/1.0/vispa/workspace.py“, line 278, in
init
self.__client.connect(**connect_args)
File
”/home/cglaser/.local/lib/python2.7/site-packages/paramiko/client.py“,
line 291, in connect
for (family, socktype, proto, canonname, sockaddr) in
socket.getaddrinfo(hostname, port, socket.AF_UNSPEC,
socket.SOCK_STREAM):
gaierror: [Errno –2] Name or service not known
2014-04-03 14:51 - DEBUG - vispa.workspace - close rpyc
2014-04-03 14:51 - DEBUG - vispa.workspace - close transport
Exception AttributeError: ”‘Connection’ object has no attribute
’connection’" in <bound method Connection.del_ of
>ignored
(from redmine: issue id 1630, created on 2014-04-03 by Christian.Glaser, closed on 2014-04-24)