error "not a valid Socket resource"
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- php
- 領域
- networking
調査の方向性
server.php の 15 行目を開き、invalid resource を報告している socket_select 呼び出しを調べます。サーバーを起動して Chrome で client.html を読み込み、問題を再現してから、警告なしでサーバーの接続が維持されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
What steps will reproduce the problem?
1. start the server
2. load the file client.html in Google Chrome
3.
What is the expected output? What do you see instead?
The server is expected to work, but it's showing the following error instead:
Warning: socket_select(): 5 is not a valid Socket resource in
/home/mink500/public_html/test/server.php on line 15
What version of the product are you using? On what operating system?
r8
Please provide any additional information below.
I tried to make the server work locally using XAMPP (Apache and PHP) but I got
the same error. I also tried to change ports and follow the instructions in
this issue:
http://code.google.com/p/phpwebsocket/issues/detail?id=33
But I still get the error "5 is not a valid Socket resource" and the
application is disconnected.
I remember that refreshing the page several times I got it running a few months
ago, but now it's impossible. Besides, it has to work all the time, not just
after refreshing the page like 20 times.
Original issue reported on code.google.com by [email protected] on 31 Aug 2011 at 3:50
- 主要言語
- PHP
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
et-nik/phpwebsocket のほかの issue
-
auto-migrated Priority-Medium Type-Defect
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
et-nik/phpwebsocket#77 ·
-
auto-migrated Priority-Medium Type-Defect
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
et-nik/phpwebsocket#78 ·
-
auto-migrated Type-Patch
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
et-nik/phpwebsocket#72 ·
-
auto-migrated Type-Patch
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
et-nik/phpwebsocket#73 ·
-
auto-migrated Type-Patch
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
et-nik/phpwebsocket#74 ·
et-nik/phpwebsocket の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
WordPress/two-factor#1022 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Messenger
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
symfony/symfony-docs#23237 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
glpi-project/glpi#25883 ·
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 4 日以内に返信