Raised This Month: $51 Target: $400
 12% 

sv_downloadurl doesn't work when http server on the same VPS


Post New Thread Reply   
 
Thread Tools Display Modes
Which
Junior Member
Join Date: Aug 2013
Old 08-10-2013 , 15:16   Re: sv_downloadurl doesn't work when http server on the same VPS
Reply With Quote #11

Quote:
Originally Posted by sami_spt View Post
okay, then try using direct link.

u use subdomain noob.website.com. (Example: website.com/noob/1212)

now , you have cstrike.website.com

try using ur full direct domain : Like website.com/location/location../.. etc.
I tried with directory, I tried with ip - it is the same . When I set the downloadurl on another server it works but when it is local it just doesn't.
Which is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-11-2013 , 02:15   Re: sv_downloadurl doesn't work when http server on the same VPS
Reply With Quote #12

LOLZ. who uses localhost for fast dl.. takes 2 much bandwith.
try using a website
sami_spt is offline
Which
Junior Member
Join Date: Aug 2013
Old 08-11-2013 , 11:58   Re: sv_downloadurl doesn't work when http server on the same VPS
Reply With Quote #13

Quote:
Originally Posted by sami_spt View Post
LOLZ. who uses localhost for fast dl.. takes 2 much bandwith.
try using a website
As I said, when I had 2 VPS, I used the apache of the opposite vps:
hlds from vps #1 - apache from vps #2
hlds from vps #2 - apache from vps #1
and everything worked fine - the files were downloaded instantly without causing any lag in the servers, and I did that for the same reason - because when using local apache server it just doesn't work. The bandwidth is not a problem for me.

I just can't figure out why local sv_downloadurl is not accepted.. What could be the problem?
Which is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-11-2013 , 12:02   Re: sv_downloadurl doesn't work when http server on the same VPS
Reply With Quote #14

Could be a DNS problem. On VPS1, what does the DNS entry of VPS1 resolve to? Is it a Public IP or a Private IP?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Which
Junior Member
Join Date: Aug 2013
Old 08-11-2013 , 12:27   Re: sv_downloadurl doesn't work when http server on the same VPS
Reply With Quote #15

Quote:
Originally Posted by YamiKaitou View Post
Could be a DNS problem. On VPS1, what does the DNS entry of VPS1 resolve to? Is it a Public IP or a Private IP?
Well, normally it resolves to the public IP, but in /etc/hosts I added:
Code:
127.0.0.1    localhost
10.0.0.107    server1
10.0.0.107    cstrike.mydomain.com
Quote:
PING cstrike.mydomain.com (10.0.0.107) 56(84) bytes of data.
64 bytes from server1 (10.0.0.107): icmp_req=1 ttl=64 time=0.045 ms
64 bytes from server1 (10.0.0.107): icmp_req=2 ttl=64 time=0.039 ms
64 bytes from server1 (10.0.0.107): icmp_req=3 ttl=64 time=0.043 ms
64 bytes from server1 (10.0.0.107): icmp_req=4 ttl=64 time=0.036 ms
64 bytes from server1 (10.0.0.107): icmp_req=5 ttl=64 time=0.037 ms
64 bytes from server1 (10.0.0.107): icmp_req=6 ttl=64 time=0.047 ms
64 bytes from server1 (10.0.0.107): icmp_req=7 ttl=64 time=0.037 ms
64 bytes from server1 (10.0.0.107): icmp_req=8 ttl=64 time=0.045 ms
64 bytes from server1 (10.0.0.107): icmp_req=9 ttl=64 time=0.037 ms
64 bytes from server1 (10.0.0.107): icmp_req=10 ttl=64 time=0.037 ms
^C
--- cstrike.mydomain.com ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8999ms
rtt min/avg/max/mdev = 0.036/0.040/0.047/0.006 ms
I did that because I thought it will work if I forward the subdomain to my router local adress but it is the same with and without the line:
Quote:
10.0.0.107 cstrike.mydomain.com
in the hosts file (it just doesn't download fast from a local hlds server, but when I start a test hlds on my own pc and put the url, the files are downloaded in a second).

This is when I remove the line from the hosts file:
Quote:
PING cstrike.mydomain.com (***.***.76.159) 56(84) bytes of data.
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=1 ttl=64 time=0.640 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=2 ttl=64 time=0.575 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=3 ttl=64 time=0.594 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=4 ttl=64 time=0.568 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=5 ttl=64 time=0.565 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=6 ttl=64 time=0.572 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=7 ttl=64 time=0.569 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=8 ttl=64 time=0.580 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=9 ttl=64 time=0.641 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=10 ttl=64 time=0.576 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=11 ttl=64 time=0.578 ms
64 bytes from dhcp-159.myisp.com (***.***.76.159): icmp_req=12 ttl=64 time=0.580 ms
^C
--- cstrike.mydomain.com ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11013ms
rtt min/avg/max/mdev = 0.565/0.586/0.641/0.034 ms
Which is offline
Which
Junior Member
Join Date: Aug 2013
Old 08-15-2013 , 17:05   Re: sv_downloadurl doesn't work when http server on the same VPS
Reply With Quote #16

I downloaded the latest build via steampipe and everything is fine now. Topic SOLVED.
Which is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode