Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Enthusiast - File Grab Failing  (Read 3833 times)

codeseven

  • Newbie
  • *
  • Posts: 4
Enthusiast - File Grab Failing
« on: August 18, 2015, 02:32:46 PM »

I'm a bit stuck at this point and I'm not sure why. The file is present on the server with the correct owner/permissions however the test fails when trying to grab the file. Does anybody have any ideas what could be causing the problem. Or if you need any additional information provided I'd be glad to.



http://crunch.mx/wsphfdjag.txt

Code: [Select]
daniel@utopia ~ $ dig aaaa crunch.mx +short
2607:fc50:1:da00::69

Code: [Select]
daniel@utopia ~ $ curl -G http://crunch.mx/wsphfdjag.txt

208.x.x.x - - [18/Aug/2015:17:27:13 -0400] "GET /wsphfdjag.txt HTTP/1.1" 200 230 "-" "curl/7.35.0"

« Last Edit: August 18, 2015, 02:46:33 PM by codeseven »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2734
Re: Enthusiast - File Grab Failing
« Reply #1 on: August 18, 2015, 02:35:21 PM »

I also get a 404

http://crunch.mx works fine...check permissions on your file
Logged

codeseven

  • Newbie
  • *
  • Posts: 4
Re: Enthusiast - File Grab Failing
« Reply #2 on: August 18, 2015, 02:42:07 PM »

I also get a 404

http://crunch.mx works fine...check permissions on your file

Odd. I don't see anything in my Apache logs indicating you received a 404. The permissions are correct for the file (644).

I also seem to be able to hit it from my virtual servers in Dallas TX as well as Germany
« Last Edit: August 18, 2015, 02:44:00 PM by codeseven »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2734
Re: Enthusiast - File Grab Failing
« Reply #3 on: August 18, 2015, 02:50:51 PM »

I should have read a little closer, sorry.  Error is below

Code: [Select]
Not Found

The requested URL /wsphfdjag.txt was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
Logged

codeseven

  • Newbie
  • *
  • Posts: 4
Re: Enthusiast - File Grab Failing
« Reply #4 on: August 20, 2015, 09:04:41 AM »

I'm still at a loss here. The file has the correct permissions and is owned by the correct group. I've had multiple people far outside of my network attempt to grab the file and they can successfully. Does anyone else have any other ideas?
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1735
Re: Enthusiast - File Grab Failing
« Reply #5 on: August 20, 2015, 09:57:56 AM »

Your initial CURL paste shows it connecting to IPv4...

Tested from native HE IPv6 colo:

Code: [Select]
:~$ curl -v http://crunch.mx/wsphfdjag.txt
* Hostname was NOT found in DNS cache
*   Trying 2607:fc50:1:da00::69...
* Connected to crunch.mx (2607:fc50:1:da00::69) port 80 (#0)
> GET /wsphfdjag.txt HTTP/1.1
> User-Agent: curl/7.35.0
> Host: crunch.mx
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Thu, 20 Aug 2015 16:58:09 GMT
* Server Apache/2 is not blacklisted
< Server: Apache/2
< Content-Length: 391
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /wsphfdjag.txt was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2 Server at crunch.mx Port 80</address>
</body></html>
* Connection #0 to host crunch.mx left intact

Testing IPv4, it appears to work. Did you set a different document root for each stack?

Code: [Select]
:~$ curl -v http://crunch.mx/wsphfdjag.txt -4
* Hostname was NOT found in DNS cache
*   Trying 162.217.113.190...
* Connected to crunch.mx (162.217.113.190) port 80 (#0)
> GET /wsphfdjag.txt HTTP/1.1
> User-Agent: curl/7.35.0
> Host: crunch.mx
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 20 Aug 2015 17:05:46 GMT
* Server Apache/2 is not blacklisted
< Server: Apache/2
< Last-Modified: Thu, 20 Aug 2015 16:06:06 GMT
< ETag: "3-51dc05425e1b3"
< Accept-Ranges: bytes
< Content-Length: 3
< Vary: User-Agent
< Content-Type: text/plain
<
he
* Connection #0 to host crunch.mx left intact

Code: [Select]
Start: Thu Aug 20 10:07:05 2015
HOST: ipvsixme                    Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- 2001:470:1:9::1            0.0%     5    7.4   7.6   0.5  10.9   4.2
  2.|-- 10ge8-4.core1.fmt2.he.net  0.0%     5    0.6   1.6   0.5   5.7   2.2
  3.|-- 10ge1-1.core1.sjc2.he.net  0.0%     5    1.0   1.8   0.9   3.4   0.9
  4.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  5.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  6.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  7.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  8.|-- 2001:506:8:0:168:215:52:1  0.0%     5   77.2  77.3  77.1  77.9   0.0
  9.|-- 2001:4870:4142:1::2        0.0%     5   80.3  80.7  80.3  82.0   0.5
 10.|-- 2607:fc50:0:2::2           0.0%     5   78.0  78.0  77.9  78.1   0.0
 11.|-- www.crunch.mx              0.0%     5   80.9  81.3  80.9  81.8   0.0

Code: [Select]
HOST: ipvsixme                    Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- v14.core2.fmt2.he.net      0.0%     5    0.6   1.2   0.4   4.0   1.3
  2.|-- 10ge7-3.core3.fmt2.he.net  0.0%     5    0.6   1.8   0.4   7.0   2.8
  3.|-- 10ge10-1.core1.sjc2.he.ne  0.0%     5    0.9   3.2   0.8  12.4   5.1
  4.|-- snjs.equinix.twtelecom.ne  0.0%     5    0.8   0.9   0.8   1.0   0.0
  5.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  6.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  7.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  8.|-- 64.129.234.110             0.0%     5   71.7  71.9  71.7  72.8   0.0
  9.|-- 64-128-73-90.static.twtel  0.0%     5   72.3  72.7  72.2  73.8   0.5
 10.|-- 208.79.80.2                0.0%     5   72.4  72.4  72.2  72.6   0.0
 11.|-- leviathan.x.rootbsd.net    0.0%     5   72.8  72.7  72.5  72.8   0.0
« Last Edit: August 20, 2015, 10:07:47 AM by broquea »
Logged

codeseven

  • Newbie
  • *
  • Posts: 4
Re: Enthusiast - File Grab Failing
« Reply #6 on: August 20, 2015, 10:20:09 AM »

--snip

Well thank you broquea! I copied the file over to /var/www/html and it was instantly able to grab the file. I'm not entirely sure what the problem was, so I'll have to do some research. But you at least got me over this hurdle I've been facing for the past couple days. So thank you very much!
Logged