et-nik / et-nik/phpwebsocket

Unable to connect to server.php

Open
#40 3 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Copied server.php and client.html
2. Started server
3. Accessed client.html

What is the expected output? What do you see instead?
WebSocket - status 0
Disconnected - status 3

What version of the product are you using? On what operating system?
Latest in SVN.

Server: Linux 2.6.32-5-xen-686, Debian, PHP 5.3.3-7+squeeze3 with Suhosin-Patch

Client: Google Chrome: 15.0.874.120 m

Please provide any additional information below.
Please note: this is on an Amazon EC2 instance. It binds to the internal IP
address of the instance.

Server Startup:

Server Started : 2011-11-15 17:51:59
Master socket : Resource id #4
Listening on : 10.161.46.7 port 12345

When client connects...:
Resource id #5 CONNECTED!

Requesting handshake...
GET /phpMonitor/phpwebsocket/server.php HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Host: :12345
Sec-WebSocket-Origin: http://drupal-api-external.myidrupal.com
Sec-WebSocket-Key: eXMxn8VG+e8ggX8wn/dyMg==
Sec-WebSocket-Version: 8
Cookie: __utma=36081407.1633026250.1320850778.1320850778.1321373913.2;
__utmc=36081407;
__utmz=36081407.1320850778.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Handshaking...
failed

```

Original issue reported on code.google.com by `Branden....@kaosnetworks.com` on 15 Nov 2011 at 6:02

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.