Comments (5)
Hi, the error here doesn't seem to come from the password but rather autokuma being unable to parse a message from uptime kuma, please run autokuma with the env var set to RUST_LOG=kuma_client=trace
and look for the last Client::on_any
line before the parse error.
Note that this log might contain sensible information, so do not just copy and paste it here.
Please also provide the version of autokuma and uptime kuma you are using.
from autokuma.
Hi,
Here is an extraction of the log :
TRACE [kuma_client::client] Client::on_any(Custom("proxyList"), Text([Array []]))
thread 'TRACE [kuma_client::client] Client::on_any(Custom("notificationList"), Text([Array [Object {"active": Bool(true), "config": String("{\"name\":\"Telegram\",\"type\":\"telegram\",\"isDefault\":true,\"telegramBotToken\":\"*****\",\"telegramChatID\":\"****\"}"), "id": Number(1), "isDefault": Bool(true), "name": String("Telegram"), "userId": Number(1)}]]))
tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:176:74:
called `Result::unwrap()` on an `Err` value: Error("unexpected trailing characters; the end of input was expected", line: 0, column: 0)
TRACE [kuma_client::client] Client::on_any(Custom("dockerHostList"), Text([Array [Object {"dockerDaemon": String("/var/run/docker.sock"), "dockerType": String("socket"), "id": Number(1), "name": String("docker"), "userID": Number(1)}]]))
TRACE [kuma_client::client] Client::on_any(Custom("apiKeyList"), Text([Array []]))
...
TRACE [kuma_client::client] Client::on_any(Custom("proxyList"), Text([Array []]))
thread 'tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:176TRACE [kuma_client::client] Client::on_any(Custom("dockerHostList"), Text([Array [Object {"dockerDaemon": String("/var/run/docker.sock"), "dockerType": String("socket"), "id": Number(1), "name": String("docker"), "userID": Number(1)}]]))
:74:
called `Result::unwrap()` on an `Err` value: Error("unexpected trailing characters; the end of input was expected", line: 0, column: 0)
TRACE [kuma_client::client] Client::on_any(Custom("apiKeyList"), Text([Array []]))
kuma:
image: louislam/uptime-kuma:latest
autokuma:
image: ghcr.io/bigboot/autokuma:latest
from autokuma.
Looks like there is a problem parsing DateTimes, the only place where this is used is in maintenances and autokuma expects them to be in Iso8601 format. I'm not sure how a differently formatted date might've ended up there and what format it is in. Can you check your logs contain a message with the maintenanceList
event. if you're familiar with your browsers dev tools, you could also take a look at the websocket connection and look at the messages there.
from autokuma.
Having the same issue =/
from autokuma.
Same issue
from autokuma.
Related Issues (20)
- Static monitors do not support defaults HOT 1
- CA certificates bundle is missing from the container causing Error during connect HOT 1
- Postgress check doesnt support a query
- feature request: Provide aarch64 docker images HOT 9
- Multiple checks for single pod? HOT 3
- struggling w/ snippets HOT 2
- Feature Request: adding tags from labels HOT 1
- Possible memory leak HOT 8
- Apply default settings to containers without labels
- Kuma-cli: Invalid type: null, expected a string HOT 16
- Snippets in 0.6 - Tera Formatting - Missing Colon HOT 2
- [Client] Inconsistent `Default` vs `skip_serializing_none` usage for status pages HOT 2
- Basic Auth Question HOT 3
- no matching manifest for linux/arm64/v8 in the manifest list entries HOT 1
- Before Kuma adds the monitors, how to add a notification? HOT 6
- User ID Question HOT 1
- Support for remote docker hosts? HOT 8
- Format for multiple tags for a static monitor? HOT 2
- Using kuma-client to create a status page
- Support starting a check in paused state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autokuma.