Comments (4)
You have updated your Pathfinder installation to 1.2.0
I guess? Could you run Composer install in the base dir of Pathfinder as well? It should install the ZMQ plugin, if you haven´t done yet.
from pathfinder_websocket.
I might have forgot to run composer install
in my Pathfinder installation but even after doing so I'm seeing the same errors. I'm running off the Master branch of each repo, PHP 7.0 and the ZMQ extension is installed.
I don't think the issue is with the actual socket connection as much as the data being sent back and forth between them.
from pathfinder_websocket.
Test fails for me as well. Tells "Invalid response"
I did not updated anything. I am doing first installation.
Request Method:GET
Status Code:101 Switching Protocols
Response Headers
view source
Connection:upgrade
Date:Thu, 10 Aug 2017 19:47:58 GMT
Sec-WebSocket-Accept:Ri5fZ3tgOqqqGzCHSG9v8XzvR2E=
Server:nginx
Upgrade:websocket
X-Powered-By:Ratchet/0.3.6
Request Headers
view source
Accept-Encoding:gzip, deflate
Accept-Language:en
Cache-Control:no-cache
Connection:Upgrade
Cookie:cookie=1; char_360260ef83164353acf14bb6b23fd37=b49971a2df65773d763b5d2%3A3951d156d3982afecee6d1463ba39bda; pathfinder_session=i2g1vgnh3opb04568mehvvte0
Host:10.0.4.45
Origin:http://10.0.4.45
Pragma:no-cache
Sec-WebSocket-Extensions:permessage-deflate; client_max_window_bits
Sec-WebSocket-Key:7WflobQwDtFZQ5zDbKthrw==
Sec-WebSocket-Version:13
Upgrade:websocket
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36```
I do not see anything suspicious in request/response.
from pathfinder_websocket.
In my case pathfinder_websocket does not receive any TCP commands from setup.php request.
But var_dump((new Socket( Config::getSocketUri(), $ttl ))->sendData('healthCheck', $load))
returns 'OK'. Requests from browser also work fine.
from pathfinder_websocket.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathfinder_websocket.