Comments (2)
note: error like WebSocket connection to 'wss://139.144.96.196:5000/socket.io/?EIO=4&transport=websocket' failed:
was also encountered in production when trying to access the site from https://___.com but it worked when directly from https://139.144.96.196, so needed to add that domain to corsWhitelist, or update CSP in nginx config, or the socketEndpoint in sketches.js.
also if changes were made and the server was restarted, it would show this error for a few minutes but then go away, likely because of cache or waiting for old ssl cache to clear.... nginx needs to be restarted too
from flappytips.
note, have to be careful with environment variables in .env like REACT_APP_WSS=true, since it's a string in the code, so would test truthy with REACT_APP_WSS === 'true'
.
also server.js needs to listen on localhost in development not HOST_PROD
from flappytips.
Related Issues (20)
- Filter out players from a scheduled game at gameStartBlock who have not yet clicked Play in time
- Prevent users from submitting a fake game result
- Request all tips to a governance account in the smart contract where tips claimed
- Possibly existing bug where multiple players both hit an obstacle without clearing any blocks but one wins and one loses
- Automatically save last account that played in browser local storage so they can keep playing without having to reselecting if multiple accounts in Polkadot Extension
- Update to support latest Polkadot.js API on events
- Integrate scripts submitGameWinnerToContract, fetchOracleAndLeaderboardContracts, submitOracleOutcomeToZeitgeist
- Use proper Security certificates for HTTPS and WS HOT 1
- Mobile user can still connect and win and beat Desktop users. Twitter message doesn't reflect game result HOT 1
- Show when there is an scheduled game in an upcoming block so users know to join
- Inactive browser tab vs Active browser tab both lose
- Refresh multiple times if does not immediate detect extension sometimes
- CSP Twitter image
- net::ERR_CERT_COMMON_NAME_INVALID HOT 4
- HTTP to HTTPS redirection only works on latest Firefox by not the latest Chrome or Brave HOT 1
- websocket.js:44 WebSocket connection to 'wss://clawbird.com:5000/socket.io/?EIO=4&transport=websocket' failed: One or more reserved bits are on: reserved1 = 1, reserved2 = 0, reserved3 = 0 HOT 2
- Multiplayer game winner will lose if all other players leave the game or press Play Again before they finish
- Create a Zeitgeist market when start a game
- Setup a Reverse Proxy
- `realpath: : No such file or directory`
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 flappytips.