Skip to content

Unable to connect to server.php #40

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
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: <removed>: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 [email protected] on 15 Nov 2011 at 6:02

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions