First time here? Check out the FAQ!
1

Can't make remote host to work properly

I'm having trouble setting up connection to remote host (Ubuntu 16.04 on AWS from Windows 10 machine with Wing IDE 6.0.10-1).Wing IDE installs agent, but after i try to test connection this happens: Connecting to host id AWS failed.

The remote agent was not found. Do you want to install it now?

Output received:

Connecting to xxxx port 22 
We claim version: SSH-2.0-PuTTY_Release_0.70 
Server version: SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 
Using SSH protocol version 2 
Doing ECDH key exchange with curve Curve25519 and hash SHA-256 
Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them 
Host key fingerprint is: 
ssh-ed25519 256 xxxx 
Initialised AES-256 SDCTR client->server encryption 
Initialised HMAC-SHA-256 client->server MAC algorithm 
Initialised AES-256 SDCTR server->client encryption 
Initialised HMAC-SHA-256 server->client MAC algorithm 
Reading key file "c:\Users\xxxx\Documents\Kitty\xxxx.ppk" 
Using username "ubuntu". 
Offered public key 
Offer of public key accepted 
Authenticating with public key "imported-openssh-key" 
Sent public key signature 
Access granted 
Opening session as main channel 
Opened main channel 
Requesting remote port 50010 forward to 127.0.0.1:50299 
Remote port forwarding from 50010 enabled 
Started a shell/command 
Traceback (most recent call last):
  File "/home/ubuntu/wingware/remoteagent.py", line 159, in <module>
    wingversion = _LoadFromWingbase(WINGHOME, 'wingversion')
  File "/home/ubuntu/wingware/remoteagent.py", line 69, in _LoadFromWingbase
    raise ValueError("Could not find %s in winghome: %s" % (mod_base_name, winghome))
ValueError: Could not find wingversion.py in winghome: /home/ubuntu/wingwareSSH client exited errno=0​

There is indeed no "wingversion.py" in winghome on remote host. 

drwxrwxr-x 3 ubuntu  4096 Mar 16 22:49 bin
-rw-rw-r-- 1 ubuntu 15027 Mar 16 22:49 LICENSE.txt
-rw-rw-r-- 1 ubuntu  7303 Mar 16 22:49 remoteagent.py
drwxrwxr-x 4 ubuntu  4096 Mar 16 22:49 src
-rw-rw-r-- 1 ubuntu    56 Mar 16 22:49 VERSION
-rwxrwxr-x 1 ubuntu  2839 Mar 16 22:49 wingdb
-rw-rw-r-- 1 ubuntu 12392 Mar 16 22:49 wingdbstub.py
-rw-rw-r-- 1 ubuntu    23 Mar 16 22:49 wingdebugpw
​

Am i doing something wrong?

red_1's avatar
11
red_1
asked 2018-03-16 19:18:00 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-01-22 19:53:32 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

It looks like the install is failing for some reason.  I've seen other reports from people using AWS that this happens, although we're not sure yet why.  Try installing manually as described here:  http://wingware.com/doc/proj/manual-r...

Wingware Support's avatar
4.1k
Wingware Support
answered 2018-03-17 08:53:00 -0500
edit flag offensive 0 remove flag delete link

Comments

It worked. Thank you!

red_1's avatar red_1 (2018-03-17 13:11:00 -0500) edit

We've fixed bugs since this that should solve this installation problem.

Wingware Support's avatar Wingware Support (2019-03-15 09:57:42 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer