Comments (11)
Hello,
thanks very much for your feedback. I'll take a look on it in a few hours.
from 10kgames.
I see two problems:
- WebSocket server isn't running as described in Readme
- hosting prefer HTTPS; our WS server can't do secure WebSockets
First problem can be solved easily - just launch the server as described. The second problem is a bit more complicated, I see two possible solutions:
- disable HTTPS on the hosting
- add HTTPS -> HTTP redirect into our code
What do you think?
Of course both these solutions aren't clear (clear would be modifying WS server to be able to serve WSS too), but they are the easiest :)
BTW, you can check the project working here.
Looking forward for your reply :)
from 10kgames.
I can use the non-SSL URL if you want.
from 10kgames.
Yes, that would be great :)
from 10kgames.
http://10kgames-10kapart2016.azurewebsites.net/?js
from 10kgames.
I still do not see PHP WebSocket server running (port 9000 is dead). You can launch it by running php server/index.php
in project's root directory on the server.
from 10kgames.
Looks like you will need a web.config
to set up the WebSockets server.
from 10kgames.
You are hosting the project on Windows Server & IIS, am I right? Is it possible to launch it in Linux environment?
If Linux environment can't be used - I think on Windows you can execute command php
the same way on Linux, or not? (Of course if it is in system PATH variable). If it is possible, then you can launch the command php path_to_project/server/index.php
the same way as on Linux, I think.
from 10kgames.
I think the web.config just needs a rule pointing to the file. https://www.iis.net/configreference/system.webserver/websocket
from 10kgames.
I've tried to add it (using the information from your link), but I am still very unsure if this is gonna to work.
from 10kgames.
@molant suggested you check out this StackOverflow thread: http://stackoverflow.com/questions/27299206/php-websockets-extension-on-microsoft-azure-website
He also suggested there may also be an issue not running it all over SSL.
from 10kgames.
Related Issues (1)
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 10kgames.