-
Notifications
You must be signed in to change notification settings - Fork 11
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: unable to find valid certification path to requested target #788
Comments
Quoted from @rafaelldi in #777:
I use Rider 2023.3.3. In Rider's Azurite settings, I point to Furthermore, when I start the Azurite service in Rider manually and visit 127.0.0.1: in my browser, I see no SSL problems. If I leave out the SSL configuration in the Azure settings however, I do get an SSL warning, therefore I assume I have configured the self-signed certificate properly. If you need more information, please let me know. |
Hi! Sorry for the late reply, I didn't have a chance to reproduce this problem earlier.
I then set these values in the settings and started Azurite from the Services tool window. ![]() Everything started successfully. ![]() While investigating this, I realized that there is no way to set the You can then set this connection string in the
|
Hi, I have exactly the same problem, but it doesn't appear to be related to Azurite. I've checked the Azurite settings, and there's no problem spinning it up or connecting to it. I even took the step of creating a certificate using the I did some more digging and came across a youtrack article on a search engine which seemed to be exactly what I was experiencing, but the link went to an 'issue not found'. However the description (see screenshot of summary below) pretty much described exactly what I was experiencing. This is the link it was pointing to: https://youtrack.jetbrains.com/issue/RIDER-117246 I've combed through YouTrack trying to find it, perhaps it's been deleted. It was working previously, but seemed to break around the upgrade to Rider 2024.2.4 (I have subsequently updated to 2024.2.5 but the problem persists). I also have the latest version of the Azure Toolkit for Rider plugin (v4.2.0), and have tried downgrading that plugin too, also with no luck. The same function works perfectly (and always has done) under Visual Studio 2022. It's easily reproducible for me:
The error, when it comes up if I hit Run or Debug (it doesn't matter) is this: But that is literally ALL it gives you, there is no indication in the error as to what has happened. I found the error in the idea.x.log files, and it seems to be related to the Azure Toolkit plugin, but I am not sure why (starts at the
Any idea what/where is it trying to connect to. or validate with, so I can sort out the relevant certificate for it? Assuming this is something I can even do... could it be the plugin was signed with a different cert, or something? Edit to add: I am not sure if it's related, but I've also discovered that it seems to have clobbered all my Azure Function launch configurations. Previously there used to be at least one 'lightning bolt' Azure function run/debug config entry for each function. They've all gone now, replaced by a series of '?' configs which it says it can't edit. Thanks :) |
Thanks for such a detailed report. I will take a look. |
Awesome, thank you :) I've also just added another paragraph to the end of that report. I am not sure if it's related. If not, no worries! |
Hello! I've started to investigate this problem. Unfortunately, it isn't reproducible on my side, and this log only contains stack traces from the libraries, so it's hard to tell where it comes from. Could you please answer some questions?
After upgrading to the version 4 of the plugin, some of the Azure run configurations became invalid, because we have some breaking changes between major versions of the plugin. But there should be another run configuration with the 'lightning bolt'. Could you please check if you're using this particular run configuration and not the default |
I think I've found the problem. This PR #930 should fix it. Please check the next version of the plugin |
@rafaelldi thanks for getting back to me so quickly! to answer your first question, regarding the run config: yes, I am using that 'new' version (but of course I couldn't test it, and for a while I thought it was the config itself which was the problem 😉 ). I have been bitten before by using the I will load up that new version of the plugin and give it a go this morning, and I will report back here regardless of outcome. Edit: plugin version 4.2.1 isn't available on marketplace or plugin download page yet, so I'll check back later. Thanks! |
hi @rafaelldi unfortunately I have not been able to try it out as the plugin update is still not available for download/update via Rider nor the GitHub Releases nor the plugin web page. Is it something that will become available eventually? |
We're testing it. I will publish the new version tomorrow. |
Awesome! Thank you! 😄 |
Hi! Sorry for the delay. The new version should be available now, please try it. |
@rafaelldi this works perfectly now, thank you very much! |
@wislon Glad to hear that, thank you for your help! |
#777 (comment)
The text was updated successfully, but these errors were encountered: