Replies: 2 comments 1 reply
-
I dont think you posted the curl results from inside the homepage container. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
homepage can't grab info from my mikrotik router while I'm perfectly fine with getting that info using curl
That's what I'm getting in homepage:
![image](https://private-user-images.githubusercontent.com/164051/293078798-f2745db2-2e19-49a0-aead-3b9d89f5b87f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5MDYzNDEsIm5iZiI6MTcyMTkwNjA0MSwicGF0aCI6Ii8xNjQwNTEvMjkzMDc4Nzk4LWYyNzQ1ZGIyLTJlMTktNDlhMC1hZWFkLTNiOWQ4OWY1Yjg3Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyNVQxMTE0MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05M2VjNmUxNGI5MWVjM2I3NTFjYmQ0ZDFlMmExZjg0ZGNmYTY1OWY2ZjI2YWZhMjA2NmE1ZGJlZTcwMGQyYWMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.RwFG3JFKpYcyq-dG7hcL2iD0ql61uZJ2157b7qBA0BY)
I've got impression that the issue might be because I'm running my Mikrotik's webui access on port different than default
Steps to reproduce
That's my config section for Mikrotik widget:
Here are the logs from
k logs homepage-548bd578bc-cbr87
And this is to show that these data is actually available for this pod. I'm running ephemeral pod next to homepage:
homepage version
v0.8.4
Installation method
Other (please describe above)
Configuration
homepage is part of my k8s cluster
Container Logs
[2023-12-27T17:29:09.888Z] error: Error calling http://10.10.10.1:680/rest/ip/dhcp-server/lease...
[2023-12-27T17:29:09.889Z] error: [
500,
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketOnEnd (node:_http_client:525:23)
at Socket.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
]
Browser Logs
n/a
Troubleshooting
Mentioned above.
Other
I'm not really sure why does homepage show error 500.
Before submitting, I have made sure to
Beta Was this translation helpful? Give feedback.
All reactions