WebsitePulseのテスト結果の見方

更新日 2005.5.29
作成日 2002.9.16

【Case 1】IPアドレス(http://123.45.67.89/)でのアクセスに成功

(表示例)

WebSite Test results

URL tested:http://123.45.67.89/
Status:Server responded normally to all tests
Server Status:HTTP/1.1 200 Document follows
Server type: AnWeb/1.42h
Last modified:Wed, 01 Jan 2003 00:00:00 GMT
Size:nn bytes(m.mm Kb)
Response time:t.tttt seconds

(説明)
  • Status が「Server responded normally to all tests」なのでサーバへのアクセスに成功している。
  • Server type が使用中のサーバソフト/バージョンと一致するかどうかを確認すること(AN HTTPDならAnWeb/1.nnxと表示される)。もし Server type が実際と合っていなければダイナミックDNSなど経路の途中のシステムが応答した可能性があり(ZIVEで経験あり)、Webサーバにはアクセスできていない。
  • Last modified がファイル(ドキュメントルート直下の index.htmlなど)の更新日時と一致していれば間違いなし(GMTとJSTの 9時間の時差に注意)。Last modifiedを表示されないことももある(HTML以外など)。
  • Sizeは index.htmlなどのファイルサイズである。表示されないこともある。

  • 念押しの確認として、http://123.45.67.89/xxx/yyy.html のようにディレクトリ xxx の下の yyy.html を直接指定してアクセスし、以下のように Status が Server responded normally to all tests ならOK。Last modified やこの場合には Size も表示される(HTMLなら)のでこれらがローカルにファイルのプロパティで調べたものと一致すれば絶対に間違いなし。

    WebSite Test results

    URL tested:http://123.45.67.89/xxx/yyy.html
    Status:Server responded normally to all tests
    Server Status:HTTP/1.1 200 Document follows
    Server type: AnWeb/1.42h
    Last modified:Wed, 01 Jan 2003 00:00:00 GMT
    Size:nn bytes (m.mm Kb)
    Response time:t.tttt seconds

  • バーチャルホスト使用時に IPアドレスでアクセスできるのは一番上に登録されたものだけである。必ず http://123.45.67.89/xxx/yyy.html で一番目のホストにアクセスしていることを確認すること。その後で二番目以降のホストについてはホスト名でアクセスして確認する。

  • http://123.45.67.89/xxx/yyy.html でアクセスして以下のように表示されるのは、/xxx/yyy.html が存在しないからである。ディレクトリ/ファイル名に間違いがないか、バーチャルホストなら一番目のホストのパスかどうかを確認する。
  • 「Not Found」の場合、外部からサーバにアクセスできているかどうかを確認するという意味では、サーバからステータスコード 404が返っているのでアクセステストには成功ということになる。

    WebSite Test results

    URL tested:http://123.45.67.89/xxx/yyy.html
    Status:HTTP Responce - Not Found
    Server Status:HTTP/1.1 404 Not Found
    Server type: AnWeb/1.42h
    Size:nn bytes (m.mm Kb)
    Response time::t.tttt seconds

    (追記)
    ・2005年5月(?)に WebsitePulseに変更があったようである。それまではサーバが AN HTTPDのときに IPアドレス http://123.45.67.89/ にアクセスして成功すれば「Server responded normally to all tests」と表示されていたが、変更以降は以下のように表示されるようになった。AN HTTPDの設定にも依存するが、デフォルトの設定のままではレスポンスのヘッダに「Transfer-Encoding: chunked」があるからである。
    ・IPアドレスでもホスト名でも「Connection error - transfer closed with outstanding read data remaining」と表示されたとしても「Server responded normally to all tests」と同じ意味と考えればよい。どうしても気になる人は http://123.45.67.89/xxx/yyy.html のようにドキュメントルート直下の index.html以外の HTMLファイルにアクセスするとよい。
    ・筆者が鷹の巣さんの掲示板で書いた http://sakaguch.com/cgi/bbs/?mode=allread&no=18939&page=10#18949 を参考にすれば納得できるでしょう。

    WebSite Test results

    URL tested:http://123.45.67.89/
    Status:Connection error - transfer closed with outstanding read data remaining
    Server Status:transfer closed with outstanding read data remaining
    Response time::t.tttt seconds


    【Case 2】IPアドレス(http://123.45.67.89/)でのアクセスに失敗

    (表示例)

    WebSite Test results

    URL tested:http://123.45.67.89/
    Status:Connection error - connect() timed out!
    Server Status:connect() timed out!
    Response time:tt.tttt seconds

    (説明)
  • 結果の表示に約 1分時間がかかる。応答がなくてタイムアウトした状態。
    (原因)
  • Webサーバが稼働していない。
  • IPアドレスを間違えている。
  • 必ずグローバルIPアドレスでアクセスすること。
     10.0.0.0〜10.255.255.255
     172.16.0.0〜172.31.255.255
     192.168.0.0〜192.168.255.255
    はプライベートIPアドレスなので不可。さらに
     169.254.0.0〜169.254.255.255
    も APIPAと言ってグローバルIPアドレスではないので要注意。
  • ファイアウォールソフトが動いているときもこのエラーになるので設定を見直すか一旦止めて確認する。WinXPではデフォルトでファイアウォールが有効になっているので要注意。
  • ルータの NAT/IPマスカレードが設定できていないときにもこの表示になる。

  • 以下の表示がされることもあるようだ。この場合もサーバにはアクセスできていない。上記の Connection error - connect() timed out! との差は不明。

    WebSite Test results

    URL tested:http://123.45.67.89/
    Status:Connection error - couldn't connect to host
    Server Status:couldn't connect to host
    Response time:tt.tttt seconds


    【Case 3】ホスト名(例 http://www.example.com/) でのアクセスに成功

    (表示例)

    WebSite Test results

    URL tested:http://www.example.com/
    Status:Server responded normally to all tests
    Server Status:HTTP/1.1 200 Document follows
    Server type: AnWeb/1.42h
    Last modified:Wed, 01 Jan 2003 00:00:00 GMT
    Size:nn bytes (m.mm Kb)
    Response time:t.tttt seconds

    (説明)
  • Server type が使用中のサーバソフト/バージョンに合っていること。
  • Case 1 と同様に http://www.example.com/xxx/yyy.html でもアクセスしてエラーがなければ完璧。
  • 以下の Connection error - transfer closed with outstanding read data remaining が出てもアクセスできているのは Case 1と同じ。

    WebSite Test results

    URL tested:http://www.example.com/
    Status:Connection error - transfer closed with outstanding read data remaining
    Server Status:transfer closed with outstanding read data remaining
    Response time::t.tttt seconds


    【Case 4】ホスト名(例 http://www.example.com/) でのアクセスに失敗

    (表示例)

    WebSite Test results

    URL tested:http://www.example.com/
    Status:Connection error - Couldn't resolve host 'www.example.com'
    Server Status:Couldn't resolve host 'www.example.com'
    Response time:t.tttt seconds

    (説明)
  • 名前解決ができなかった。
    (原因)
  • ホスト名がDynamicDNSに登録されていないか、URLのホスト名を間違えている。


    【Case 5】ホスト名(例 http://www.example.com/) でのアクセスに失敗

    (表示例)

    WebSite Test results

    URL tested:http://www.example.com/
    Status:Connection error - connect() timed out!
    Server Status:connect() timed out!
    Response time:tt.tttt seconds

    (説明)
  • ホスト名からIPアドレスが求まりアクセスしたがタイムアウトした。
  • 結果の表示に約 1分時間がかかる。
    (原因)
  • ホスト登録されているがアクセス可能な IPアドレスではない。IPアドレスを間違えていないか、グローバルIPアドレスになっているかどうかなどを確認する。環境によっては Diceの自動設定で間違って 169.254.xxx.xx (APIPA)が設定されることがあるので要注意。
  • ポート番号付きでアクセスした場合、ホスト名は合っていてもポートが開いていないとやはりこのエラーになる。
  • ホスト名はDynamicDNSに登録されているが、サーバが稼働していない。
  • ファイアウォールソフトが動いているときは設定を見直すか一旦止めて確認する(ホスト名以前にIPアドレスで確認済ならファイアウォールの問題ではあり得ない)。
  • ルータの NAT/IPマスカレードが設定されていない(これもIPアドレスで確認済なら原因は他にある)。
  • 場合によってはホストの電源が入っていない、ネットワークがダウンしているなどもあり得るかも。


    【Case 6】ホスト名(例 http://www.example.com/) でのアクセスに失敗

    (表示例)

    WebSite Test results

    URL tested:http://www.example.com/
    Status:Server responded normally to all tests
    Server Status:HTTP/1.1 200 OK
    Server type: Apache/1.3.26 (Unix) PHP/3.0.15-i18n-ja
    Response time:0.5169 seconds

    (説明)
  • Server Status が「HTTP/1.1 200 OK」だけで「Document follows」がない。
  • Server type が使用中のサーバソフトと違う。
  • DynamicDNSが応答しているだけ?
    (原因)
  • DynamicDNSにホスト名は登録されているが設定状況がオフラインモードであるときなど(ZIVE以外では未確認情報)。



  • 作成:いと,mailto:gfh05223@nifty.com