guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From messido <mohammad.zba...@gmail.com>
Subject Error when adding 'enable-sftp' parameter
Date Thu, 12 Oct 2017 19:11:52 GMT
So i'm creating my own application using the wonderful Guacamole APIs
provided.. 

But I seem to come across a problem I can't get across... I'm trying to
setup SFTP for my VNC and RDP connection.. I can start a connection, and
join one as well, so I understand how to use the Java and JS apis, but for
some reason, as soon as I add 'enable-sftp' as a parameter with a true
value, I can't connect to the host machine anymore.

My goal is to be able to upload and download file from/to the machine i'm
connecting to through Guacamole.

I found out eventually that at first, when I start a connection (when having
the 'enable-sftp' parameter) I get this in my guacd console:

*guacd[9692]: INFO:	Creating new client for protocol "rdp"
guacd[9692]: INFO:	Connection ID is "$8e7e22f2-33db-4b0a-b572-4888fc94fc08"
guacd[32188]: INFO:	Security mode: ANY
guacd[32188]: INFO:	Resize method: none
guacd[32188]: INFO:	User "@205e5df6-9a1e-405c-b22e-a6a61df9ff59" joined
connection "$8e7e22f2-33db-4b0a-b572-4888fc94fc08" (1 users now present)
guacd[32188]: ERROR:	User is not responding.
guacd[32188]: INFO:	User "@205e5df6-9a1e-405c-b22e-a6a61df9ff59"
disconnected (0 users remain)
guacd[32188]: INFO:	Last user of connection
"$8e7e22f2-33db-4b0a-b572-4888fc94fc08" disconnected*

and I found out later on that I get this error message after like 2/4
minutes

**** Error in `guacd': free(): invalid pointer: 0x00007f0c68002910 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7c619)[0x7f0c7be88619]
/usr/local/lib/libguac-client-rdp.so(guac_common_ssh_destroy_user+0x23)[0x7f0c747d17d3]
/usr/local/lib/libguac-client-rdp.so(guac_rdp_client_free_handler+0x61)[0x7f0c747c5ba1]
/usr/local/lib/libguac.so.12(guac_client_free+0x32)[0x7f0c7d913b72]
guacd[0x404310]
guacd[0x403a80]
/lib64/libpthread.so.0(+0x7e25)[0x7f0c7cf36e25]
/lib64/libc.so.6(clone+0x6d)[0x7f0c7bf0434d]
======= Memory map: ========
00400000-00407000 r-xp 00000000 08:01 18403851                          
/usr/local/sbin/guacd
00606000-00607000 r--p 00006000 08:01 18403851                          
/usr/local/sbin/guacd
00607000-00608000 rw-p 00007000 08:01 18403851                          
/usr/local/sbin/guacd
02518000-02d37000 rw-p 00000000 00:00 0                                 
[heap]
7f0c50000000-7f0c50021000 rw-p 00000000 00:00 0 
7f0c50021000-7f0c54000000 ---p 00000000 00:00 0 
7f0c58000000-7f0c58021000 rw-p 00000000 00:00 0 
7f0c58021000-7f0c5c000000 ---p 00000000 00:00 0 
7f0c5c000000-7f0c5c021000 rw-p 00000000 00:00 0 
7f0c5c021000-7f0c60000000 ---p 00000000 00:00 0 
7f0c60000000-7f0c60021000 rw-p 00000000 00:00 0 
7f0c60021000-7f0c6002b000 rw-p 00000000 00:00 0 
7f0c6002b000-7f0c64000000 ---p 00000000 00:00 0 
7f0c64ffa000-7f0c64ffb000 ---p 00000000 00:00 0 
7f0c64ffb000-7f0c657fb000 rw-p 00000000 00:00 0                         
[stack:32188]
7f0c677a2000-7f0c677b7000 r-xp 00000000 08:01 25193214                  
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c677b7000-7f0c679b6000 ---p 00015000 08:01 25193214                  
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c679b6000-7f0c679b7000 r--p 00014000 08:01 25193214                  
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c679b7000-7f0c679b8000 rw-p 00015000 08:01 25193214                  
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c679b8000-7f0c679e0000 r-xp 00000000 08:01 25170971                  
/usr/lib64/libssh2.so.1.0.1
7f0c679e0000-7f0c67be0000 ---p 00028000 08:01 25170971                  
/usr/lib64/libssh2.so.1.0.1
7f0c67be0000-7f0c67be1000 r--p 00028000 08:01 25170971                  
/usr/lib64/libssh2.so.1.0.1
7f0c67be1000-7f0c67be2000 rw-p 00029000 08:01 25170971                  
/usr/lib64/libssh2.so.1.0.1
7f0c67be2000-7f0c67bf1000 r-xp 00000000 08:01 26283925                  
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67bf1000-7f0c67df0000 ---p 0000f000 08:01 26283925                  
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67df0000-7f0c67df1000 r--p 0000e000 08:01 26283925                  
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67df1000-7f0c67df2000 rw-p 0000f000 08:01 26283925                  
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67df2000-7f0c67dff000 r-xp 00000000 08:01 26283935                  
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c67dff000-7f0c67ffe000 ---p 0000d000 08:01 26283935                  
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c67ffe000-7f0c67fff000 r--p 0000c000 08:01 26283935                  
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c67fff000-7f0c68000000 rw-p 0000d000 08:01 26283935                  
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c68000000-7f0c68021000 rw-p 00000000 00:00 0 
7f0c68021000-7f0c6c000000 ---p 00000000 00:00 0 
7f0c6c000000-7f0c6c021000 rw-p 00000000 00:00 0 
7f0c6c021000-7f0c70000000 ---p 00000000 00:00 0 
7f0c70000000-7f0c70021000 rw-p 00000000 00:00 0 
7f0c70021000-7f0c74000000 ---p 00000000 00:00 0 
7f0c7415a000-7f0c7415e000 r-xp 00000000 08:01 26283923                  
/usr/lib64/libfreerdp-channels.so.1.0.2
7f0c7415e000-7f0c7435d000 ---p 00004000 08:01 26283923                  
/usr/lib64/libfreerdp-channels.so.1.0.2
7f0c7435d000-7f0c7435e000 r--p 00003000 08:01 26283923                  
/usr/lib64/libfreerdp-channels.so.1.0.2
7f0c7435e000-7f0c7435f000 rw-p 00004000 08:01 26283923                  
/usr/lib64/libfreerdp-channels.so.1.0.2
7f0c7435f000-7f0c74364000 r-xp 00000000 08:01 26283921                  
/usr/lib64/libfreerdp-cache.so.1.0.2
7f0c74364000-7f0c74564000 ---p 00005000 08:01 26283921                  
/usr/lib64/libfreerdp-cache.so.1.0.2
7f0c74564000-7f0c74565000 r--p 00005000 08:01 26283921                  
/usr/lib64/libfreerdp-cache.so.1.0.2
7f0c74565000-7f0c74566000 rw-p 00006000 08:01 26283921                  
/usr/lib64/libfreerdp-cache.so.1.0.2
7f0c74566000-7f0c745b1000 r-xp 00000000 08:01 26283927                  
/usr/lib64/libfreerdp-core.so.1.0.2
7f0c745b1000-7f0c747b1000 ---p 0004b000 08:01 26283927                  
/usr/lib64/libfreerdp-core.so.1.0.2
7f0c747b1000-7f0c747b2000 r--p 0004b000 08:01 26283927                  
/usr/lib64/libfreerdp-core.so.1.0.2
7f0c747b2000-7f0c747b4000 rw-p 0004c000 08:01 26283927                  
/usr/lib64/libfreerdp-core.so.1.0.2
7f0c747b4000-7f0c747d8000 r-xp 00000000 08:01 27031303                  
/usr/local/lib/libguac-client-rdp.so.0.0.0
7f0c747d8000-7f0c749d8000 ---p 00024000 08:01 27031303                  
/usr/local/lib/libguac-client-rdp.so.0.0.0
7f0c749d8000-7f0c749d9000 r--p 00024000 08:01 27031303                  
/usr/local/lib/libguac-client-rdp.so.0.0.0
7f0c749d9000-7f0c749e2000 rw-p 00025000 08:01 27031303                  
/usr/local/lib/libguac-client-rdp.so.0.0.0
7f0c749e2000-7f0c749e3000 ---p 00000000 00:00 0 
7f0c749e3000-7f0c751e3000 rw-p 00000000 00:00 0 
7f0c751e3000-7f0c751e4000 ---p 00000000 00:00 0 
7f0c751e4000-7f0c759e4000 rw-p 00000000 00:00 0 
7f0c759e4000-7f0c759e5000 ---p 00000000 00:00 0 
7f0c759e5000-7f0c761e5000 rw-p 00000000 00:00 0 
7f0c761e5000-7f0c76245000 r-xp 00000000 08:01 25167184                  
/usr/lib64/libpcre.so.1.2.0
7f0c76245000-7f0c76445000 ---p 00060000 08:01 25167184                  
/usr/lib64/libpcre.so.1.2.0
7f0c76445000-7f0c76446000 r--p 00060000 08:01 25167184                  
/usr/lib64/libpcre.so.1.2.0
7f0c76446000-7f0c76447000 rw-p 00061000 08:01 25167184                  
/usr/lib64/libpcre.so.1.2.0
7f0c76447000-7f0c7644c000 r-xp 00000000 08:01 26283793                  
/usr/lib64/libXxf86vm.so.1.0.0
7f0c7644c000-7f0c7664b000 ---p 00005000 08:01 26283793                  
/usr/lib64/libXxf86vm.so.1.0.0
7f0c7664b000-7f0c7664c000 r--p 00004000 08:01 26283793                  
/usr/lib64/libXxf86vm.so.1.0.0
7f0c7664c000-7f0c7664d000 rw-p 00005000 08:01 26283793                  
/usr/lib64/libXxf86vm.so.1.0.0
7f0c7664d000-7f0c76666000 r-xp 00000000 08:01 25842215                  
/usr/lib64/libxcb-glx.so.0.0.0
7f0c76666000-7f0c76865000 ---p 00019000 08:01 25842215                  
/usr/lib64/libxcb-glx.so.0.0.0
7f0c76865000-7f0c76867000 r--p 00018000 08:01 25842215    guacd[9692]: INFO:
Connection "$8e7e22f2-33db-4b0a-b572-4888fc94fc08" removed.*

Any help would be greatly appreciated.

Possibly helpful tips?
* I tried using the same value for 'sftp-password' as 'password'
* I tried also without providing the 'sftp-password' parameter
* I'm able to connect fine without a problem if I dont add the 'enable-sftp'
param



--
Sent from: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/

Mime
View raw message