rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gDamich

Pages: 1
1
HFS ~ HTTP File Server / Re: Client Download problem
« on: May 07, 2014, 10:19:06 AM »
To add info more... if I dl 30MB file with random data URL part multiple times it goes through, but for 5 MB file doesn't work. Both files are in same folder.

EDIT: just figure this: If I add just "?" mark to URL then 5MB file is downloading from server...

2
HFS ~ HTTP File Server / Re: Client Download problem
« on: May 07, 2014, 10:15:40 AM »
It seems that if I tried again with ?3458357893593759 it's not detectable from server part... This is fiddler session prop:

HTTP GET: http://{myserver}:8081/files/dl/5MB.bin?3458357893593759

SESSION STATE: Done.
The request was forwarded to the gateway.
Response Entity Size: 5242880 bytes.

== FLAGS ==================
BitFlags: [RequestGeneratedByFiddler, SentToGateway] 0x880
X-EGRESSPORT: 50833
X-RESPONSEBODYTRANSFERLENGTH: 5242880
X-CLIENTPORT: 0
X-CLIENTIP:
X-BUILDER-MAXREDIR: 10
X-FROM-BUILDER: Parsed
X-HOSTIP: 172.17.64.140
X-PROCESSINFO: Fiddler:3152

== TIMING INFO ============
ClientConnected:   12:11:16.540
ClientBeginRequest:   12:11:16.540
GotRequestHeaders:   12:11:16.540
ClientDoneRequest:   12:11:16.540
Determine Gateway:   0ms
DNS Lookup:       0ms
TCP/IP Connect:   1ms
HTTPS Handshake:   0ms
ServerConnected:   12:11:16.544
FiddlerBeginRequest:   12:11:16.544
ServerGotRequest:   12:11:16.545
ServerBeginResponse:   12:11:16.589
GotResponseHeaders:   12:11:16.589
ServerDoneResponse:   12:11:17.058
ClientBeginResponse:   12:11:17.061
ClientDoneResponse:   12:11:17.061

   Overall Elapsed:   0:00:00.521

The response was buffered before delivery to the client.

== WININET CACHE INFO ============
This URL is not present in the WinINET cache. [Code: 2]
* Note: Data above shows WinINET's current cache state, not the state at the time of the request.
* Note: Data above shows WinINET's Medium Integrity (non-Protected Mode) cache only.


3
HFS ~ HTTP File Server / Re: Client Download problem
« on: May 07, 2014, 08:37:40 AM »
Ok,

that's working... Can you please explain a little? So it's caching? On HFS side?

BR,
G

4
HFS ~ HTTP File Server / Re: Client Download problem
« on: May 07, 2014, 07:46:10 AM »
Hi,

thanks for answers. just for your information, azure is MS cloud. They have various cloud services, and I'm using virtual machine with Windows Server 2012 on it. I'm accessing machine using RDP. So thing is that I have same android app client which is just performing http get and measuring download throughput.

From server point view (azure vm on win server 2012) I settup everything correct, endpoints for my HFS port 8081, rules for win firewall on vm.
So,if anything is wrong on server, it's probably in HFS. Can be other, but I do not have idea what.

From client perspective, I testes URL (file as http resource) with fiddler, chrome, IE9 and with my android app which is just using:
                        URL url = new URL(resource);
         URLConnection connection = url.openConnection();

So, for resource like http://myserver:8081/files/5MB one android phone with my client every time successfully dl that file, but same android app on another device use same code and on same nw (cellular data / WiFi internet connection) find resource but file size (int fileSize = connection.getContentLength();) is very low, like 80 bytes, and it dl it immediately with recorded throughput 2 kbps. Usually thr is above 2000kbps.

About other clients like fiddler, I can see that if file is 75MB then fiddler dl it everytime and I can see that on server HFS console, but if I try to dl 30MB or 5 MB etc, it download it immiditaly (less than 2s). That makes no sense because I know that my PC connection is like 10-20 Mbps.

I suspect that there is possibility that there are some nw nodes in cellular operator nw or intranet/internet nw which are caching files or similiar.

BR;
G

5
HFS ~ HTTP File Server / Client Download problem
« on: May 06, 2014, 01:59:27 PM »
Hi,

I'm new HFS user. I have my own android client which is just downloading file from HFS which I hosted in MS Azure cloud. Now, I'm not sure if my problem is in client, azure or HFS.

Thing is that after first DL my file is "cached" somehow in client system. eg. if I'm using PC Chrome app for DL, first time file is normally downloaded, but every time after that when I try to  DL it again I cannot see HTTP req in HFS. So I suppose that Chrome cached the file. But similar thing happens on my android client. I programmatically download file but it's almost instantly with client recorded throughput of 2-3 kbps. Ofc. on HFS I cannot see that DL (HTTP GET).

Anyone with similar experience.

PS: If you wonder who wants to dl same file multiple time to same pc. That's me... Do not ask why! :-)

BR,
G

Pages: 1