Giter VIP home page Giter VIP logo

Comments (6)

vgalunov avatar vgalunov commented on September 6, 2024 2

@deepy

It does not work for me for some reason and it is not a config issue.

Because according to https://github.com/deepy/sonar-crowd/blob/master/src/main/java/org/sonar/plugins/crowd/CrowdRealm.java

if config correct I should see line 104 execution result:
LOG.info("Crowd configuration is valid, connection test successful.");

else any of these 106-110:
throw new SonarException("Unable to test connection to crowd", e);
throw new SonarException("Application name and password are incorrect", e);
throw new SonarException("The application is not permitted to perform the requested operation on the crowd server", e);

But as you can see in provided logs there is no any notifications from CrowdRealm class.
There is INFO level set in my SQ.

So I assume the plugin is not able to start
Probably I should not rely to LOGS, and try to find the reason somewhere else.

Can you advise me how to investigate it?

from sonar-crowd.

deepy avatar deepy commented on September 6, 2024

It's possible that it might not work with 8, the last version I tried was 7.9 but in the last release all the deprecations were addressed.
I'll try it on 8.2 and see if it works

from sonar-crowd.

deepy avatar deepy commented on September 6, 2024

@vgalunov it worked fine for me on 8.2 with crowd 3.4.5.
I installed the latest version from the marketplace, added the following to conf/sonar.properties and stopped and started the server.

sonar.security.realm=Crowd
crowd.url=http://illusionist.local:8095/crowd/
crowd.application=sonar
crowd.password=sonar
sonar.security.localUsers=admin,sonar

After that I could login to sonar with my crowd user

from sonar-crowd.

deaamoflih avatar deaamoflih commented on September 6, 2024

@vgalunov
Hi ,
i have now exactly the same issue.. i have tried it also for the SQ versions 7.9+ and got the same problem:
crowd plugin 2.1.3 deployed but not started.
did you have already a way to fix this?
i appreciate your answer..

from sonar-crowd.

vgalunov avatar vgalunov commented on September 6, 2024

@deaamoflih
You need an active license.

from sonar-crowd.

deaamoflih avatar deaamoflih commented on September 6, 2024

@vgalunov
thanks a lot for your answer.
you mean i have to upgrade the SQ Version with an active license ?
i use in my deployment a docker image , pulled from the official SQ repo in docker hub.
and as a last question , which Version of SQ and Sonar-crowd do you use for it ?
still SQ 8+ and crowd plugin 2.1.3 ?
have a nice day !

from sonar-crowd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.