rejetto forum

HFS File Server - Some users can't connect

0 Members and 1 Guest are viewing this topic.

Offline HenrikoMagnifico

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
Hi! I've been using HFS file server to host my Minecraft modpack for a few months now. It's been working great, with one massive exception. Some users can't access the download URL at all, either through their browser or through the Technic Launcher download client. Since the server is my own private one, located inside my office and connected to my home network, I thought there could be an issue with my Windows firewall or my router settings. So I checked both, opened the port 80 on both my router and firewall, both incoming and outcoming traffic- to no success. I then tried changing the port from 80 to something else, in my case 8080. So I opened the port 8080 inside my router settings and also in my firewall. I tested it from a different network and it worked great. I then asked another user from the US (I'm in Sweden) to download the file and they couldn't. Why is this? Is the US blocking traffic coming from Sweden? Or am I doing something wrong, perhaps? Again, it works perfectly for most peopel- but not everyone. When I hosted my modpack on an Aruba Cloud VPS I never had these kinds of issues.

Edit: To be more specific, this is the URL that sometimes can't be accessed from other networks: http://213.65.86.250:8080/yp3.3.0.zip

Any help would be much appreciated!

Cheers,
Henrik
« Last Edit: September 26, 2020, 11:18:43 AM by HenrikoMagnifico »


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 151
  • Computer brained boy
    • View Profile
    • A Normal Webpage
I'm in China and tested your server, seems OK.

I used a vpn to US and had a test, also OK.

Any other cases that fails the connection? We may find it out finally :D
You can use a locational tester, such as: https://www.webpagetest.org/
« Last Edit: September 26, 2020, 04:37:28 PM by NaitLee »
Check out my template ;)


Offline HenrikoMagnifico

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
I'm in China and tested your server, seems OK.

I used a vpn to US and had a test, also OK.

Any other cases that fails the connection? We may find it out finally :D
You can use a locational tester, such as: https://www.webpagetest.org/

This is the issue with it all, it seems to only affect *some* users and those who are affected rarely stay by for long enough to provide necessary information like their OS, ISP, if they are using a VPN or not etc. I've sent a message to all members on my Discord server to alert everyone about this issue and that they can send me this kind of information if they are one of these affected with issues accessing the URL. More information soon!

And again, I'm not smart enough to know why this is happening to begin with. I can only make semi-educated guesses. If anyone knows why this is happening, it should be the HFS developers and gurus here on the Forums.
« Last Edit: September 26, 2020, 04:41:08 PM by HenrikoMagnifico »


Offline mandoz

  • Occasional poster
  • *
    • Posts: 22
    • View Profile
Hi Henriko, everything ok from Italy. File downloaded normally. I used Opera browser


Offline HenrikoMagnifico

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
New information! I have received a message from a user who can not download the file on their PC.

The user said this;

Quote
Hi Henriko!  I am experiencing the new bug where I cannot update the pack on the technic launcher.  It claims it is unable to download a certain file.  My computer is running Windows 10, I live on the east coast USA, I have no VPN, and my internet is from charter spectrum.  Interestingly, the computer in question belongs to my sister (we play with our cousin on a private server) and my own computer, which is also running Windows 10, seems to be downloading the update without issue, while hers (on the same internet connection) cannot.   I hope this is helpful!

So, from this message we can deduce a few things:

1. A VPN probably won't make the issue occur (but it might resolve the issue)
2. It differs from PC to PC, and is NOT network related it seems.
3. The OS doesn't seem to matter.
4. It could be an anti-virus issue, which is blocking access to HFS File Server files.

So all in all, this seems to be an issue only affecting some PCs which meet specific criteria. What these criteria are exactly isn't yet known, but I'm continuing investigating.
« Last Edit: September 26, 2020, 08:34:56 PM by HenrikoMagnifico »


Offline HenrikoMagnifico

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
Update 2020-09-28: I've received more messages from users who can't download through the link. Again, all of these users are using Windows 10 PCs. One could download it fine from their laptop but not from their stationary PC- on the same network.

I think there might be something wrong with HFS here.


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 151
  • Computer brained boy
    • View Profile
    • A Normal Webpage
I think there might be something wrong with HFS here.

Wait, did the users cannot access the page, or they actually can access the filepage but cannot successfully download the modpack file?

Have a look in HFS Menu -> Limits, disable all the limits, as well as Prevent Leeching and Stop Spiders, then have a try?

P.S. One day ago I successfully downloaded your modpack within 4 hours without failure. I had a try with Minecraft but found my computer cannot afford that :D.
Check out my template ;)


Offline HenrikoMagnifico

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
Wait, did the users cannot access the page, or they actually can access the filepage but cannot successfully download the modpack file?

Have a look in HFS Menu -> Limits, disable all the limits, as well as Prevent Leeching and Stop Spiders, then have a try?

P.S. One day ago I successfully downloaded your modpack within 4 hours without failure. I had a try with Minecraft but found my computer cannot afford that :D.

I have asked for a screenshot of what happens when they try to access the file through their browser, waiting for a response.



These are my settings. Since I don't want the downloads to completely fill up my entire network, I've set a hard limit at 3000kbit/s. At the moment, only 2 people are downloading- which splits it to 1500kbit per person. At most, 15-20 people are downloading at the same time. But that's very rare, and this issue seems to occur even when there is very low traffic.
« Last Edit: September 29, 2020, 12:44:39 PM by HenrikoMagnifico »


Offline danny

  • Tireless poster
  • ****
    • Posts: 268
    • View Profile
The one useful limit is Max simultaneous downloads from single address. 

If user gets page but download doesn't play, then that is a MIME type error. 


Offline HenrikoMagnifico

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
The one useful limit is Max simultaneous downloads from single address. 

If user gets page but download doesn't play, then that is a MIME type error.

It seems it doesn't even get to the page at all, like it's not able to connect.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 744
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
How about not using a 'direct' IP address, but a host name, in your case:

Code: [Select]
http://213-65-86-250-no2320.tbcn.telia.com:8080/yp3.3.1_a.zip
You can convert your IP doing a 'Reverse IP Lookup' (to find out the Host Name of a given IP Address), visiting THIS website. You will need to do this, in case your IP address changes (unless is static).

Perhaps some 'security suite' of some of your uses, block direct access to IP addresses (so, that's why they can't download the file). The chances of this solving your problem is of only 10%, but it's worth giving a try (report back if this solved this issue or not).

Cheers,
Leo.-
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline HenrikoMagnifico

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
How about not using a 'direct' IP address, but a host name, in your case:

Code: [Select]
http://213-65-86-250-no2320.tbcn.telia.com:8080/yp3.3.1_a.zip
You can convert your IP doing a 'Reverse IP Lookup' (to find out the Host Name of a given IP Address), visiting THIS website. You will need to do this, in case your IP address changes (unless is static).

Perhaps some 'security suite' of some of your uses, block direct access to IP addresses (so, that's why they can't download the file). The chances of this solving your problem is of only 10%, but it's worth giving a try (report back if this solved this issue or not).

Cheers,
Leo.-

Thank you very much for the tip! I'm trying it out to see if people still submit any error reports :)


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 744
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Thank you very much for the tip! I'm trying it out to see if people still submit any error reports :)
You welcome :) (don't forget to say us if that solved your problem, to leave it as reference for other users, in case someone comes with a similar issue).
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.