Giter Club home page Giter Club logo

servermonitor's Introduction

Download

My 3 urgent book recommendations

  • Outwitting the Devil: The Secret to Freedom and Success
  • Lead the field
  • Hard Times Create Strong Men

🌐Socials

Twitter

servermonitor's People

Contributors

christianlutzcl avatar dependabot[bot] avatar kpstsp avatar r0gger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

servermonitor's Issues

Docker?

Can you also create a Docker-image for this great tool?

Application on index page will not load, if something in 'site.db' is wrong

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:

  1. Setup project or regenerate site.db file
  2. Run application
  3. Open website and see the error

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.

Navigation bar didn't update after login on '/'

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:

  1. Login to account
  2. Go on index page (monitor.inspiredprogrammer.com/)
  3. Look at navigation bar
  4. Top right, login and registrer buttons didn't changed to profile picture

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.

Got 500 and SSLError on some urls

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:

  1. Paste 'https://www.old.reddit.com' to textbox

  2. Click on 'Check'

  3. If enabled Debug in run.py, can catch exception via console:
    requests.head(url, timeout=2, stream=True, allow_redirects=True)

  4. 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):

  • OS: Mac OS X Mojave
  • Browser Firefox
  • Version 69.0

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.