Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    fmercier-almerys
    @fmercier-almerys
    Hi is there plan to authenticate with SAML ?
    ditjhaba
    @ditjhaba
    @ditjhaba I have managed to fix the error by including the truststore in the configuration
    But one more question, how do I test within the container that it is indeed serving?
    Brassely David
    @brasseld
    @fmercier-almerys SAML support is provided as part of the Access Management module
    gdc-sure
    @gdc-sure
    image.png
    image.png
    image.png
    image.png
    can anyone give me some advise?
    GANESH SHARMA
    @being__ganesh_twitter
    @brasseld can i use API key and Oauth2 policy for the same api?
    Elamrani Azize
    @aelamrani
    @being__ganesh_twitter yes
    Titouan COMPIEGNE
    @tcompiegne
    @gdc-sure your cookie path seems wrong
    missing an /
    AliFetvaci
    @aliFetvaci61
    i.g.am.service.impl.TokenServiceImpl - An error occurs while trying to find total tokens
    com.mongodb.MongoWaitQueueFullException: Too many threads are already waiting for a connection. Max number of threads (maxWaitQueueSize) of 500 has been exceeded.
    I have a proble
    Titouan COMPIEGNE
    @tcompiegne
    betwee am and mydomain
    AliFetvaci
    @aliFetvaci61
    How can I solve it
    Titouan COMPIEGNE
    @tcompiegne
    Hi @aliFetvaci61 seems you have some issues with your MongoDB server no ?
    AliFetvaci
    @aliFetvaci61
    @tcompiegne I did not understand gravitee.yml properties not found ?
    Daniel Amodeo
    @daniel.amodeo_gitlab

    Hello can I define one API that check the contest and forward to different endpoints? I have to use some policy?

    Eg.
    http://mydomain/fruit/apple -> http://domain.a/foo/apple
    http://mydomain/fruit/pear -> http://domain.b/bar/pear
    http://mydomain/fruit/melon -> http://domain.c/ex/melon

    gdc-sure
    @gdc-sure
    @tcompiegne I don't understand why it's missing /
    Jakov Birinich
    @Impakt
    anyone here know how to build and run the gateway and the management api from intelliJ?
    im on the latest master branch
    Elamrani Azize
    @aelamrani
    @daniel.amodeo_gitlab you can make use of the Dynamic Routing policy
    @Impakt you have to specify some vm options
    for the management api -Dgravitee.home=/path/graviteeio-full/graviteeio-management-api-1.30.3
    and define the main class io.gravitee.rest.api.management.standalone.ManagementContainer
    Titouan COMPIEGNE
    @tcompiegne
    @gdc-sure look at your AM cookie path /ammydomain instead of /am/mydomain
    GANESH SHARMA
    @being__ganesh_twitter
    @aelamrani using oauth2 plan for the api already having api key plan giving me error typefetch error
    Elamrani Azize
    @aelamrani
    @being__ganesh_twitter can you provide the complete error?
    GANESH SHARMA
    @being__ganesh_twitter
    @aelamrani i was using api key policy for a specific api....it was working fine....then i add oauth2 policy to that api Now api key plan is not working for that api... after addition of the oauth2 plan Server response
    Code Details
    401
    Undocumented
    Error: Unauthorized
    Response headers
    content-length: 0
    Daniel Amodeo
    @daniel.amodeo_gitlab

    @being__ganesh_twitter maybe you can help me, how you have specified the key in the HTTP headers?

    I tried with: x-api-key = value

    But for me doesn't works and I receive error 401

    Elamrani Azize
    @aelamrani
    by default, the key is X_Gravitee_Api_Key
    @being__ganesh_twitter can you paste here the call you made with headers?
    curl -v ... for example
    GANESH SHARMA
    @being__ganesh_twitter
    mQUBE-Api-Key: value......this is my header
    Elamrani Azize
    @aelamrani
    ok, so i suppose you change the default value...
    GANESH SHARMA
    @being__ganesh_twitter
    {
    "message": "No API Key has been specified in headers (mQUBE-Api-Key) or query parameters (api-key).",
    "http_status_code": 401
    }
    Elamrani Azize
    @aelamrani
    @being__ganesh_twitter either pass the header mQUBE-Api-Key or Authorization if you want to consume your API
    GANESH SHARMA
    @being__ganesh_twitter
    @aelamrani Not Working
    Elamrani Azize
    @aelamrani
    @being__ganesh_twitter i need more information if you want me to be able to help you
    what is not working?
    please detail clearly what you tried
    srinivaspadala
    @srinivaspadala
    Hi ,
    I am facing the below errors on apim. Can you please guide to fix.
    Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.IllegalArgumentException: Cannot pass null or empty values to constructor
    local_managementapi_1 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
    local_managementapi_1 | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:583)
    local_managementapi_1 | ... 41 common frames omitted
    local_managementapi_1 | Caused by: java.lang.IllegalArgumentException: Cannot pass null or empty values to constructor
    local_managementapi_1 | at org.springframework.security.core.userdetails.User.<init>(User.java:113)
    local_managementapi_1 | at org.springframework.security.core.userdetails.User.<init>(User.java:86)
    and below on gateway server:
    | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    local_gateway_1 | at java.lang.Thread.run(Thread.java:748)
    local_gateway_1 | Caused by: io.vertx.core.http.impl.HttpClientRequestBase$1: The timeout period of 30000ms has been exceeded while executing POST /_bulk for host demo-elasticsearch
    local_gateway_1 | Exception in thread "vert.x-eventloop-thread-1" io.reactivex.exceptions.OnErrorNotImplementedException: The timeout period of 30000ms has been exceeded while executing POST /_bulk for host demo-elasticsearch
    local_gateway_1 | at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:704)
    local_gateway_1 | at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:701)
    local_gateway_1 | at io.reac
    I am able to connect connect to elasticsearch from gateway and management containers
    Daniel Amodeo
    @daniel.amodeo_gitlab

    by default, the key is X_Gravitee_Api_Key

    Thanks, it works but the key is "X-Gravitee-Api-Key" with "-" not "_"

    Elamrani Azize
    @aelamrani
    yes, sorry for the typo
    gdc-sure
    @gdc-sure
    @tcompiegne it's bug?
    @tcompiegne or configure problem?