-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
send with CLI at only one client/user + CLI and letsencrypt-certificate #29
Comments
Do you mean different users or only different clients of one user?
Have you followed the steps on https://github.com/gotify/cli#installation ? There are examples for sending a message.
If you have a letsencrypt certificate all should work out of the box, as the certs are generally accepted by your OS without further configuration. |
Hello jmattheis,
After many tries (where nothing appears on the phones, but I see in the server-console that something happened) on one phone with "user1" the message appears, on the 2nd (user2) not. Hmmmm, what can I do? It's possible I read not enough the docu. My first thought was that in the cli is a parameter like "gotify push -receive "user1" "messagetext". (Or somtehing like that.) With best regards, reschresch |
Have a look at https://gotify.net/docs/ for explanation what a client/application/user is. When you init the cli, you either provide login credentials or an application token. When you now use Are there any errors in the log or rather could you paste the whole output of |
Hello jmattheis, This is my server-config for this part: I will be very happy if you can give me a hint. With best regards, |
Could you run the following command?
and paste the output |
I try run local on my server.
curl performs SSL certificate verification by default, using a "bundle" |
Have you updated that server lately? maybe your certs in /etc/ssl/certs/ca-certificates.crt are outdated. Could you try updating these?
|
Hello jmattheis, |
Yeah, your letsencrypt certificate may not be valid or you linux server somehow thinks that it is. Using this cli with an unsecure cert would require #27 |
Hello,
in my test-environment I have 2 clients (smartphones) who logged in with different usernames.
Now I want to send a message over the CLI only to "user1", but I dont know what's the syntax.
And: I have a letsencrypt-certificate. With the smartphone-client I can check on that the client ignore somewhat so he had login correctly. Is this possible with the CLI too?
With best regards,
reschresch
The text was updated successfully, but these errors were encountered: