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

Error while creating a monitor #52

Open
dantin-durand opened this issue Aug 29, 2023 · 11 comments
Open

Error while creating a monitor #52

dantin-durand opened this issue Aug 29, 2023 · 11 comments

Comments

@dantin-durand
Copy link

Hi,
when I try to create a monitor with [POST] /monitors and passing this in the request body:

{ "type": "http", "name": "website", "url":"https://example.com" }

I got this in response
status: 500
body:
{ "detail": "'version'" }

do you have a solution for me?

Thanks for your help :)

@louis-pockost
Copy link

Hi,

I have the same problem.

When I look at the requirements.txt file I see : uptime-kuma-api==0.13.0

But the supported uptime kuma versions of the package uptime-kuma-api are :

Screenshot from 2023-08-30 14-45-27

So I think the lib need to be updated to work with the latests version of uptime.

@dantin-durand What is your version of uptime kuma please ?

Thanks.

@dantin-durand
Copy link
Author

Hi @louis-pockost !
my version of uptime kuma is 1.23.1 :)

@louis-pockost
Copy link

Ok, so the problem seems to be related to the version of the uptime-kuma-api package.

If you go back to version 1.21.2, it works.

I think we should wait for the dependencies to be updated before upgrading to a version higher than 1.21.2.

@MedAziz11 Are you planning to update it soon ?

Thanks for your help :)

@feipe56
Copy link

feipe56 commented Oct 19, 2023

@louis-pockost Thanks man, that solved it for me at the moment.

@alencarsouza
Copy link

@louis-pockost @dantin-durand I've created a PR with the update as I have a similar issue.

Just waiting for @MedAziz11 to have a look at it.

@mariyamh
Copy link

mariyamh commented Nov 3, 2023

@alencarsouza , Are you sure it is working? I tried adding your changes instead of working it is giving me an invalid host error. for Kuma-api version 1.2.1 && Kuma-uptime 1.23.2.

@Adan49
Copy link

Adan49 commented Nov 3, 2023

@MedAziz11 are you really gonna update the dependencies issue?

@Matthew-Chan-viAct
Copy link

Has this issue be resolved? I cannot have it working with Uptime Kuma 1.23.11

@AldvOnline
Copy link

@MedAziz11 Are there any plans to upgrade the api version?

@mariyamh
Copy link

mariyamh commented Aug 16, 2024 via email

@MichaelKoll-MKO
Copy link

Seems a bit abandoned the uptime-kuma-api project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants