-
Notifications
You must be signed in to change notification settings - Fork 125
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
Show Log not possible for selected Job if self-signed or invalid SSL certificate is used #217
Comments
Refresh currently reloads the view and close all expanded tree. An enhancement is to reefresh the current state so loaded builds are reloaded too. Which logs cannot be shown? Do you got an error? In genral you can show your last log from context menu.
The Icon exist in two variant (theme controlled) but both are not orange because the idea color guide says to use simple icons and forms and use colors for build states, errors and so on. |
|
If you open the URL (shown in message) in browser will it works? Is it possible to test against your jenkins to find the problem? |
|
hmm. I have to look more. It could happen if the job is not found (by full name) on server It is possible to test against the server? |
|
The log action use a different external library than the run build action. Is it possible to use your jenkins or could you send me the job name to verify that?? |
|
I will have a detailed look later the day on this. |
Could you please enable more logging.
Then you should get in idea.log following line if error occurs:
|
I got the log below: |
your stacktrace is another issue (#186) But I cannot see the debug log |
Please set the debug level and restart the ide and reproduce the error |
|
hmm curious. |
I've tested with PyCharm again but cannot get the error. may be an jenkins configuration issue |
you are a great and patient developer. |
Do you use Password and Crumb for login or API token?? Can you please API token (http:///user//configure) and use the API token as Password? This could help |
I use the API token as Password. |
jenkins-control-plugin-0.13.3-2020.1-bug217.zip Could you try this plugin. If the error occurs it should appears as notification balloon |
I use your attached plugin then got below ERROR |
This look like an ssl issue for your jenkins. |
|
|
If you got the output of |
i got the below output
|
Hmm. Looks fine on first look. Its strange. The only I can see is that curl is need a second handshake.
I will try to setup this behaviour and reproduce it |
not found any way to reproduce it. Will setup a SSL jenkins and try again like I said. it is normally an SSL issue. Should be an ol java version with outdated certs or TLS 1.3 which our lib not could recognize correctly (maybe) |
If I test against my Openshift setup I can connect with HTTPS |
I've got the same problem, and indeed it was an issue with certificate. How do I add this certificate to plugin? |
Currently not possible. You can import them to the executing jvm (JBR from IDE i think) or try use java environment variables I can look tomorrow for a workaround |
It would be great, if you could provide some examples. |
@diman82 It is possible to test against your server? Normally the IDE should bring a dialog that the certificate is untrusted and let u choose to add an exception. |
Yes, its possible. |
Can you send me your jenkins url to test against. |
Sorry, I've probably misunderstood you - my Jenkins instance is private (corporate), so external access is not possible. |
Ok no problem |
Hi @chen1234hao , @diman82 , would you like to test following build please. If it work I will integrate the change t master and build an new release this week |
hello MCMicS, i have try the plugin, and now it can not show the job structure, the error shows below: |
Thanks for feedback Tested with PyCharm 2020.1.2 Build #PC-201.7846.77 and plugin loads fine. |
jenkins-control-plugin-0.13.5-2020.1-bug217.zip Could you try this please. |
Great! it works , thanks for your contribute. |
I can confirm as well that plugin works! |
Nice to hear Thanks for testing |
Thabks a lot for thr quick support! |
…invalid SSL certificate is used use Idea Server Certificates and Proxy Settings remove libs which are provided by Idea Platform
solves #217 Show Log not possible for selected Job if self-signed or invalid SSL certificate is used
released with 0.13.5 Feel free to create a new issue if something is wrong |
The text was updated successfully, but these errors were encountered: