Giter VIP home page Giter VIP logo

Comments (6)

usbrpa avatar usbrpa commented on June 10, 2024 1

Yes, it can all be closed. I figured pretty much everything out, it really works like a charm. To be honest, one of the most useful discoveries I've made in years. In my case (home lab / hobby guy) I extremely appreciate being able to get notification from Cron when a job did run etc. I truthfully am delighted by this solution, and havn't explored even 1% of its capabilites. A big THANKS.

from ntfy.

wunter8 avatar wunter8 commented on June 10, 2024

Turn on logging in your server.yml file to see what's going on. "debug" is probably enough, but you could also do "trace"

from ntfy.

usbrpa avatar usbrpa commented on June 10, 2024

Hi Wunter,

have done so. I see an error about writing permissions to a DB:

INFO Connection closed with HTTP 500 (ntfy error 50001) (error=attempt to write a readonly database, http_method=POST

ntfy.log

ntfyhttps.log

I also tried the same now only enabling https, commented out http. See log attached.

At the beginning I used to get a message that I was trying to send a message to a https server using http (with curl). This though disappeared.

Thanks.

from ntfy.

usbrpa avatar usbrpa commented on June 10, 2024

Sorry, update:

I did comment out http, which was wrong. After putting http to "" instead of commenting it out, I get the following:

root@vps2432639:/var# curl -d "test" x.x.x.x/alerts
Client sent an HTTP request to an HTTPS server.

I also changed server.yml cache db entry to a different file name hoping it would be recreated, maybe with right permissions. Didn't work.

Thanks.

from ntfy.

usbrpa avatar usbrpa commented on June 10, 2024

I guess I solved it doing a chown ntfy on the cache db file... is that a good thing?

:-)

from ntfy.

wunter8 avatar wunter8 commented on June 10, 2024

It makes sense that chown on the cache.db file fixed things. You could still send and receive messages (as you saw) without a working cache.

Did you get the http and https stuff figured out? If so, I think we can probably close this!

from ntfy.

Related Issues (20)

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.