vadimpronin / guacamole-lite

Node.js library for creating Guacamole-compatible servers. Guacamole is a RDP/VNC/SSH/Telnet client for HTML5 browsers.
Apache License 2.0
250 stars 78 forks source link

Whene I set config "enable-sftp":true,an error has occured #20

Closed Dshufeng closed 3 years ago

Dshufeng commented 6 years ago

When I try to upload files and add parameters. Here are the logs:

[2018-05-28 18:27:18] [Connection 24]  Client connection open
[2018-05-28 18:27:18] [Connection 24]  Opening guacd connection
[2018-05-28 18:27:18] [Connection 24]  guacd connection open
[2018-05-28 18:27:18] [Connection 24]  Selecting connection type: vnc
[2018-05-28 18:27:18] [Connection 24]  Sending opCode: 6.select,3.vnc;
[2018-05-28 18:27:18] [Connection 24]  Sending opCode: 4.size,4.1850,3.850,2.96;
[2018-05-28 18:27:18] [Connection 24]  Sending opCode: 5.audio;
[2018-05-28 18:27:18] [Connection 24]  Sending opCode: 5.video;
[2018-05-28 18:27:18] [Connection 24]  Sending opCode: 5.image;
[2018-05-28 18:27:18] [Connection 24]  Server sent handshake: 4.args,8.hostname,4.port,9.read-only,9.encodings,8.password,13.swap-red-blue,11.color-depth,6.cursor,9.autoretry,18.clipboard-encoding,9.dest-host,9.dest-port,12.enable-audio,16.audio-servername,15.reverse-connect,14.listen-timeout,11.enable-sftp,13.sftp-hostname,9.sftp-port,13.sftp-username,13.sftp-password,16.sftp-private-key,15.sftp-passphrase,14.sftp-directory,19.sftp-root-directory,26.sftp-server-alive-interval,14.recording-path,14.recording-name,21.create-recording-path
[2018-05-28 18:27:18] [Connection 24]  Sending opCode: 7.connect,12.10.244.1.225,4.5901,0.,0.,6.123456,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.;
[2018-05-28 18:27:18] [Connection 24]  Closing connection with error:  1006
[2018-05-28 18:27:18] [Connection 24]  Closing guacd connection
[2018-05-28 18:27:18] [Connection 24]  Client connection closed

Thank you!