-
Notifications
You must be signed in to change notification settings - Fork 40
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
panic: runtime error: invalid memory address or nil pointer dereference #20
Comments
Same issue trying to run this directly in a ubuntu vm 2020/01/03 14:57:42 failed to get session: invalid character '<' looking for beginning of value |
I would guess that it is most likely an authentication issues, as the exporter expects JSON to be returned in the response but something else is read from the body. |
It shouldn't panic though... |
Hmm. I dont have a user / pass for my transmission. Do you think that might do it? |
same here
|
I got this error when I was using hostname that was not in |
@metalmatze it happens for me when transmission is moving files from download directory to final destination which causes timeouts of transmission rpc. the whole transmission is stuck at this point because it's single thread app and when it copies files it doesn't do anything else. when the copying completes it starts to work again though... it looks like bad handling of rpc errors / timeouts but i'm not a golang dev so i don't understand the code much.
|
Thanks for commenting with that feedback. I wasn't aware of the single-threaded nature of Transmission and this being a root cause. 👍 |
I checked the exporter code and from that little I know about golang I would say there should be no problem. You are correctly checking that err is nil but the code seems tk go through that condition and later fails because there is no data in the response. Do you have any idea what could be the cause of this error? |
Trying to run in portainer, getting this error in the logs when accessing the metrics page which kills the container.
The text was updated successfully, but these errors were encountered: