You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Nick Couchman (JIRA)" <ji...@apache.org> on 2017/06/20 19:25:00 UTC

[jira] [Commented] (GUACAMOLE-331) Extremely slow download/upload over http tunnel

    [ https://issues.apache.org/jira/browse/GUACAMOLE-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056317#comment-16056317 ] 

Nick Couchman commented on GUACAMOLE-331:
-----------------------------------------

Okay, a couple of questions for you:
- You say there is no such problem in the official Guacamole client, which leverages the same guacamole-common and guacamole-common-js code as you're using for the custom client, so why do you say this is a major bug in the guacamole-common code?  Seems if it's working fine in the official client, the common code is probably okay??
- Can you provide some further specifications on testing, particularly differences between the custom code and the official client?  You say Ubuntu 16.04 for the custom code, and Fedora 25 for the guacd instances, but were you running the official guacamole client on Fedora 25?  Or did you install that into Ubuntu 16.04?  Were both the custom client and the official client pointed at the same guacd instances in both cases?
- What browser(s) did you test, on what platforms, and was the slow speed observation the same across all browsers/platforms you tested on the client?

-Nick

> Extremely slow download/upload over http tunnel
> -----------------------------------------------
>
>                 Key: GUACAMOLE-331
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-331
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-common, guacamole-common-js
>    Affects Versions: 0.9.12-incubating
>         Environment: Ubuntu 16.04 (custom guacamole client), Fedora 25 (guacd instances in lxd containers)
>            Reporter: Josef Krahujec
>              Labels: documentation-update, http-tunneling, input-stream
>
> Downloading/uploading files over http tunnel is extremely slow (200 kB/s maximum), even though we are present in local network. Here is source code for downloading files:
> {code:JavaScript}
> $(".management table").on("click", ".fs-file", function(){
> 	var that = this;
> 	var filename = $(".management tbody").children().eq(that.rowIndex - 1).find(".name").html();
> 	var requestFile = $("#path").html() + filename;
> 	if ($.inArray(requestFile, window.downloading) != -1)
> 		return false;
> 	$(".management tbody").children().eq(that.rowIndex - 1).children().eq(1).addClass("downloading");
> 	window.downloading.push(requestFile);
> 	window.fs.obj.requestInputStream(requestFile, function(stream, mimetype){
> 		stream.sendAck("Ready", Guacamole.Status.Code.SUCCESS);
> 		var reader = new Guacamole.BlobReader(stream, mimetype);
> 		removeSearch();
> 		reader.onend = function(){
> 			var blob = reader.getBlob();
> 			blobDownload(blob, filename, requestFile);
> 		}
> 	});
> });
> {code}
> We have also tried the official guacamole client, however there appeared to be no such problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)