-
Notifications
You must be signed in to change notification settings - Fork 21
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
When the client fails to connect to the UPS (because of access denied), it then also fails to generate a bug report #80
Comments
Thank you for the detailed report! I just want to mention that the Generate Report bug sounds related to #79 , so I'm going to focus on that first if you won't mind testing some debug builds soon. |
Thanks. Works for me! |
So just to be sure, I'm assuming that this is happening on Pre-Release 2.2.8436? |
Yes, this was the latest available release (tag) when I downloaded it. |
This is happening to me too. I reported the initial crash in #82 but then the while-generating-the-report crash is here: Exception type: System.InvalidOperationException I am using 2.2.8436. |
Everyone, Apologies for the long wait. I've released a new debug build that hopes to at least address the crash when you try generating a bug report. Please download the debug build here, extract it to a temporary folder (in your Downloads folder for example), run it, then provide the log when you see the crash again. Thank you! |
I've tried to replicate this crash by connecting to a NUT server that I shouldn't be allowed to connect to (by way of hosts.deny/allow), but I can't seem to reproduce it. I did clean up the authentication/login code a little, so I'd like everyone experiencing this issue to please download the latest debug build and try running it. If you still experience the error, please describe in detail how you're producing it. Thanks everyone! |
Just wondering if there's anything that's come of this? Do I need to upload further debug logs or are the ones I submitted sufficient? |
I had made some changes that I thought would help with the crashing, but I had confirmation that that is not the case in #79. I'm actually wondering if this is a duplicate of #79, and I realize I forgot to check what NUT server everyone is connecting to here. Do you all connect to a Synology NUT server by any chance? |
All, Please download the latest debug build and extract to a temporary location to test. If you would please, provide the full log even if the test is successful (should be in the Data directory, which you can find in your settings menu in the log section). Also I would like to know exactly what the NUT server is that you're connecting to. Thank you! |
Hey, this one works! Okay, the NUT sever I'm connecting to is on a Synology NAS, and it has a dialog for entering the IP addresses of permitted hosts. Evidently my desktop's IP was stable for a very long time but then changed, and the server was rejecting it, which I suspect might've been causing the crashes, but I didn't think to check the server config because "nothing had changed". Hah. Now that this build doesn't immediately crash, it still wouldn't connect, so I went looking for other causes, found the server config, and added my desktop's current IP. (I'll go fix this with static DHCP later.) Now it connects! |
All, The issue closed as a result of me merging the pull request with the main branch. I think the primary problem(s) here have been resolved so I'm working towards a pre-release now. I think we still need to do a better job handling |
Thank you!! It's so nice to have this back up and working!! I had to go through the whole setup again because I'd totally forgotten what the heck I needed to do, tested it again and it fully connected! |
In my case a forbidden IP address on which the client was running caused the client to fail its connection to the UPS. This was expected. What was not expected was that the client app then failed to generate a bug report.
Here is the original error message, when the client's IP address was not yet permitted to connect to the UPS:
The actual problem described in this issue is, however, that the client then also failed to generate a bug report:
The attached screenshots show the same information.
The text was updated successfully, but these errors were encountered: