Skip to content
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

Update apprise to support httpsms #4615

Open
2 tasks done
kakachen001 opened this issue Mar 24, 2024 · 6 comments
Open
2 tasks done

Update apprise to support httpsms #4615

kakachen001 opened this issue Mar 24, 2024 · 6 comments
Labels
area:core issues describing changes to the core of uptime kuma dependencies Pull requests that update a dependency file

Comments

@kakachen001
Copy link

kakachen001 commented Mar 24, 2024

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I am getting "process exit with code 1" when i was trying to setup httpsms.

apprise -vv -t "Test Message Title" -b "Test Message Body" \ httpsms://mykey@+1555-555-5555/+1666-666-6666

📝 Error Message(s) or Log

2024-03-24 03:21:51.512465-05:00}
2024-03-24 03:31:57.427551-05:00Error: Process exited with code 1
2024-03-24 03:31:57.427676-05:00at ChildProcess.done (/app/node_modules/promisify-child-process/index.cjs:70:19)
2024-03-24 03:31:57.427738-05:00at ChildProcess.emit (node:events:517:28)
2024-03-24 03:31:57.427763-05:00at maybeClose (node:internal/child_process:1098:16)
2024-03-24 03:31:57.427786-05:00at ChildProcess._handle.onexit (node:internal/child_process:303:5) {
2024-03-24 03:31:57.427798-05:00code: 1,
2024-03-24 03:31:57.427809-05:00signal: null,
2024-03-24 03:31:57.427832-05:00stdout: '2024-03-24 03:31:57,375 - ERROR - Unparseable URL httpsms://mykey@+1555-555-5555/+1666-666-6666\n' +
2024-03-24 03:31:57.427867-05:00'2024-03-24 03:31:57,376 - ERROR - There are no service(s) to notify\n',
2024-03-24 03:31:57.427881-05:00stderr: ''
2024-03-24 03:31:57.427893-05:00}

🐻 Uptime-Kuma Version

1.23.11

💻 Operating System and Arch

truenas scale app

🌐 Browser

chrome 123

🖥️ Deployment Environment

  • Runtime:
  • Database:
  • Filesystem used to store the database on:
  • number of monitors:
@CommanderStorm
Copy link
Collaborator

What do you get when you do try

apprise -vv -t "Test Message Title" -b "Test Message Body" \ httpsms://mykey@+1555-555-5555/+1666-666-6666

@kakachen001
Copy link
Author

kakachen001 commented Mar 24, 2024

When I do it via python on my computer everything works and I got the message on my phone.

@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Mar 24, 2024

What is the result when you do the exact same command that works locally on the server?
https://github.com/louislam/uptime-kuma/wiki/Troubleshooting

Also what yo you mean by "via python"? Are you refering to the CLI?

@kakachen001
Copy link
Author

kakachen001 commented Mar 25, 2024

I didn't try that on the docker container last night but i try the same command on my windows via python. I was using python on windows to verify my key and phone number was correct. Sorry for the confusion.

This is the output i got from the docker container today.

apprise -vv -t "Test Message Title" -b "Test Message Body" \ httpsms://mykey@+1###-###-####/+1###-###-####
2024-03-24 23:36:07,905 - ERROR - Unparseable URL httpsms://mykey@+1###-###-####/+1###-###-####
2024-03-24 23:36:07,905 - ERROR - There are no service(s) to notify

This is what happen when i try telegram

apprise -vv -t "Test Message Title" -b "Test Message Body" \ tgram://mykey/chatid/
2024-03-24 23:44:45,698 - INFO - Sent Telegram notification.

Therefore i believe my apprise is working correctly

@CommanderStorm
Copy link
Collaborator

httpsms is currently not supported by the version of apprise we bundle.
httpsms was added after our last release: https://github.com/caronc/apprise/releases/tag/v1.7.0

We try to update these dependencys before we cut releases.

@CommanderStorm CommanderStorm added dependencies Pull requests that update a dependency file area:core issues describing changes to the core of uptime kuma labels Mar 25, 2024
@CommanderStorm CommanderStorm changed the title Problem setting up httpsms notification Update apprise to support httpsms Mar 25, 2024
@kakachen001
Copy link
Author

oh ok thanks for the update. Didn't realized that apprise was added couple days before 1.23.11

@chakflying chakflying removed the help label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core issues describing changes to the core of uptime kuma dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants