-
Notifications
You must be signed in to change notification settings - Fork 59
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
people picker either stuck on loading or does not find any matches #182
Comments
Check the browser console logs for errors |
@timja I've checked, nothing in the console logs |
It looks there is no XHR query running when i'm typing |
Refresh the page and make sure the query to /me on page load works |
@timja |
Could you attach a screenshot of the security configuration page and of the network tab of browser console after a fresh page load, blurring / masking whatever you need |
Unfortunately I can't. Is there a way I can troubleshoot this? |
Both on latest chrome (96.0.4664.110) and latest safari (Version 15.2 (17612.3.6.1.6)) I don't see a request to me |
Don't think I can help much more without seeing the config, (you can redact as much as you like I just need to see what's ticked and what fields are filled out) |
I have seen some HTTP requests to Jenkins fail because of a misconfigured reverse proxy. That was not with the Azure AD plugin, but if you are using a reverse proxy, please do check its logs as well. |
@timja here is my configuration (BTW, I do really appreciate you trying to help me on New Years 🙂 ) |
can you add network tab from fresh page load and browser console? Also any chance you are a guest user (should work although didn't initially) or something special set up on your tenant? |
Have you checked the system log too? |
@timja nothing in the system logs |
@timja network of XHR only? |
yup XHR only is fine |
Any reason you aren't on (be aware of the breaking changes in matrix-auth) |
@timja because of the breaking change 🙂 |
if this could help, i had the same issue on Firefox but search is well returning results on chrome. |
Thanks @aubertaa , I've tried from both safari and chrome :( |
Jenkins and plugins versions report We have to same problem under: What Operating System are you using (both controller, and any agents involved in the problem)? Reproduction steps Expected Results Actual Results Console Output: Response Body: Anything else? Jenkins Url (Root URL): |
I was having this same issue under Jenkins 2.345 with Azure AD plugin 191.vfc8019068670. I could not upgrade to the latest plugin version due to #198 but I couldn't fix my configuration because the user picker for "Azure Active Directory Matrix-based security" is broken. I tried Brave Browser, Chrome, and Firefox. It's worth noting that the user picker worked in the project configuration under "Enable Project-based Security", so I don't think it was related to my reverse proxy. It just wasn't working in the "Configure Global Security" section. The user picker wasn't making any HTTP requests on the "Configure Global Security" page for some reason and there were no JavaScript errors. As a workaround, I saved a project configuration with project-based security so I could see the correct permission values, manually updated the root |
user picker won't make any http requests if the first call to /me fails. which is probably what happened but would need to see why |
@timja It appears that there is no |
Right yes, that's a limitation I think. It might be fixed on recent versions of Jenkins core, but I'd need to check that as there was a change in that area. |
I'm still seeing this issue with Jenkins 2.414.3, I used the workaround from @gtbuchanan |
Hi, We're seeing that on 2.426.1 with latest released plugins (azure ad version 442.v355cca_6b_c169). It appears user search doesn't work until the configuration is saved. Afterwards it works fine until jenkins service restart. Then it stops working again until its saved. It appears the only changes to the config made when save is hit are to clientid and tenentid values in config.xml We've tried removing the authorizationStrategy section of the config as a test, with no difference. There are no exceptions logged also. |
This issue is really annoying - we need to add instruction for users, that after every restart of jenkins they need to: |
Yes that's expected. I think the only way to fix that is to separate the pages.
I can't reproduce that and it shouldn't do that =/ |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
Reproduction steps
Expected Results
Ability to find the users
Actual Results
Getting Didn't find any matches
Anything else?
No response
The text was updated successfully, but these errors were encountered: