尝试使用vmc隧道进入mongodb,我看到以下错误
vmc tunnel
1: mongodb-XY
2: redis-XY
Which service instance?> 1
1: none
2: mongorestore
3: mongo
4: mongodump
Which client would you like to start?> 3
Opening tunnel on port 10000... FAILED
RuntimeError: Remote tunnel helper is unaware of mongodb-XY!
For more information, see ~/.vmc/crash
这是错误日志.. cat~ / .vmc / crash
Time of crash:
Tue Jan 01 23:09:58 -0600 2013
RuntimeError: Remote tunnel helper is unaware of mongodb-XY!
tunnel-vmc-plugin-0.1.10/lib/tunnel-vmc-plugin/tunnel.rb:233:in `get_connection_info'
tunnel-vmc-plugin-0.1.10/lib/tunnel-vmc-plugin/tunnel.rb:35:in `open!'
tunnel-vmc-plugin-0.1.10/lib/tunnel-vmc-plugin/plugin.rb:41:in `tunnel'
interact-0.5.1/lib/interact/progress.rb:98:in `with_progress'
tunnel-vmc-plugin-0.1.10/lib/tunnel-vmc-plugin/plugin.rb:40:in `tunnel'
mothership-0.3.5/lib/mothership/base.rb:61:in `send'
mothership-0.3.5/lib/mothership/base.rb:61:in `run'
mothership-0.3.5/lib/mothership/command.rb:68:in `invoke'
mothership-0.3.5/lib/mothership/command.rb:82:in `instance_exec'
mothership-0.3.5/lib/mothership/command.rb:82:in `invoke'
mothership-0.3.5/lib/mothership/base.rb:50:in `execute'
vmc-0.4.7/lib/vmc/cli.rb:106:in `execute'
mothership-0.3.5/lib/mothership.rb:45:in `start'
vmc-0.4.7/bin/vmc:11
/usr/bin/vmc:19:in `load'
/usr/bin/vmc:19
-
服务正在运行,正在使用该服务的应用也是如此。有什么想法吗?
vmc服务
Getting services... OK
name service version
mongodb-XY mongodb 2.0
redis-XY redis 2.6
答案 0 :(得分:3)
当您看到此错误时,最简单的方法是删除caldecott应用程序并再次尝试隧道。要删除caldecott,只需执行;
vmc delete caldecott