Comments (9)
You are on a node server, I guess you are using a clone of the github repo in order to run your server?
Can you check that you are up-to-date with github? and rebuild the typescript into JS in order to have the last changes.
I made a fix october 2018 (CORS support) in order to have ping working on the node server: https://github.com/spacemeowx2/switch-lan-play/commits/master/server It's quite old.
from lan-play-status.
I have no idea what is in the docker image. it's probably quite old.
If you are updating your server, if I were you, I will go on the rust server which is maintained by spacemeowx2 and have better performance >
https://github.com/spacemeowx2/slp-server-rust#usage
from lan-play-status.
Hello,
Ping is not performed by the ICPM protocol.
There are 2 situations:
- node / dotnet server: when we obtain the data by API, then we compute the duration to do the request and we apply a time correction (due to the serialization / deserialization of the data by the browser)
- server rust, we use the same principle but being connected in websocket to the graphql server embedded with the server (no time correction on this case)
You don't have to configure anything to let the PING computed correctly.
There are issues with CORS on HTTPS, that why we redirect HTTPS onto HTTP by default.
It's a read-only website so there is no risk to not use a secure connection.
About the uptime, that can be more complicated because I need ot setup a cron check and store data somewhere. It's a bit out the scope of the current generated static website.
But that can be done pretty easily.
I wonder if there is a good (and free 🤞) web-service to store statistic data?
I can setup a cron to check status on my server.
from lan-play-status.
About uptime, I'm giving a try to uptimerobot.com
I seems to do the job well. I will work on an integration this week
from lan-play-status.
hey, thanks for the reply! Makes a lot of sense. I just panicked a little when i saw some nodejs nodes showing latency and not mine :D my rust shows it fine and i think most users are preferring the rust server anyway.
uptime robot looks super cool. I actually use statping (in a docker container) and have it report to discord when a service fails the check. While I imagine you could leverage the data on your site, i think uptimerobot may be a better fit?
Anyway, if you're not using this to link to a PR, please feel free to close it, i think you answered all of my questions quite well! thanks for all you do!
from lan-play-status.
I setup uptimerobot and it seems quite nice :)
Let's see on the long terms but right now the uptime ratio is on the website ;)
from lan-play-status.
auslanplay.ddns.net:11451 is not showing a ping on the site. What can I do to fix this?
from lan-play-status.
I'm using the Docker container (spacemeowx2/switch-lan-play). Will it be updated or should I go to compiling it?
from lan-play-status.
Alrighty, I'll do that. Thanks :)
from lan-play-status.
Related Issues (9)
- How do I add games to Switch-CFW list? (ldn_mitm)
- Guide to self host? HOT 1
- Server not showing up HOT 1
- Please merge #613 HOT 1
- Server flag correction.
- Only works on ff for the past couple months HOT 3
- the main page https://www.lan-play.com/ keeps auto refreshing HOT 2
- copy function on server list no longer works HOT 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 lan-play-status.