christianlutzcl / servermonitor Goto Github PK
View Code? Open in Web Editor NEWServerMonitor is a web application for monitoring websites.
License: GNU General Public License v3.0
ServerMonitor is a web application for monitoring websites.
License: GNU General Public License v3.0
Describe the bug
If try to check some urls got a Internal service error (500)
Following deeper in code I found that cause in
requests.exceptions.SSLError
To Reproduce
Steps to reproduce the behavior:
Paste 'https://www.old.reddit.com' to textbox
Click on 'Check'
If enabled Debug in run.py, can catch exception via console:
requests.head(url, timeout=2, stream=True, allow_redirects=True)
See error
File "/Users/trx/.virtualenvs/servermon/lib/python3.7/site-packages/requests/adapters.py", line 514, in send raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.old.reddit.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError("hostname 'www.old.reddit.com' doesn't match either of '*.reddit.com', 'reddit.com', '*.redditmedia.com', 'redditmedia.com', '*.redd.it', 'redd.it', 'www.redditstatic.com', 'i.reddituploads.com', '*.thumbs.redditmedia.com', 'www.redditinc.com', 'redditinc.com'")))
`
Expected behavior
Should show real status, maybe better add a warning about SSL, or ignore it
Desktop (please complete the following information):
Additional context
Need wrap exception or do workaround. I'm don't sure what is better. Should programm check SSL or not?
Possible ignore it:
https://stackoverflow.com/questions/10667960/python-requests-throwing-sslerror
Example:
requests.get('https://kennethreitz.com', verify=False)
PS: I can take to work this issue after your decide what need to do with this error
Can you also create a Docker-image for this great tool?
Describe the bug
After setup or if you create a new database file (site.db), the application won't work.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Index page should display without any checked websites
Additional context
The solution to this problem is already known.
The main route queries trough the database without checking if there is something in the database.
A simple check for the case of an empty table would solve this problem.
Describe the bug
After login, the navigation bar stays the same on the main page ''monitor.inspiredprogrammer.com/"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You should see your profile picture after login.
Additional context
On any other page, you can see your profile picture on the top right.
Bug appeared after adding PWA functionality.
Have to look for routes.
Describe the bug
Urls like "https://test.com/" break the entire website
Expected behavior
Should check the website like every other url
Additional context
Check of regex error, if backslash on end is allowed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.