Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    David LECOMTE
    @dlecomte_gitlab

    Hi there ! From my 3.8.6 Gravitee management, I cannot retrieve analytics ...
    {
    "message": "Unable to calculate analytics",
    "http_status": 500
    }

    2021-08-06T14:57:07+02:00 io.gravitee.elasticsearch.exception.ElasticsearchException: Unable to search
    2021-08-06T14:57:07+02:00 ] response[{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [path] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"gravitee-prod-request-2021.08.06","node":"kkT8E9a8S5uc-QwtCqt6Yw","reason":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [path] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [path] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [path] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400}]

    My Kibana instance has a livecycle policy to remove indexes older than 1 month. I read on Gitter that removing indexes can be the root cause, but how can I do to reindex my Elastic indexes ?

    12 replies
    RushanS
    @RushanS
    Hello!
    Do you now where stored gravitee apim user passwords?
    They are in mongodb, aren't they?
    What collection are they in?
    Nicolas Géraud
    @NicolasGeraud
    hello @RushanS
    in the users collection
    sekman99
    @sekman99
    Hi, anyone knows if it is possible from a Groovy script to output logging/debug information that can be seen from the Analytics -> Logs view?
    1 reply
    lllamnyp
    @lllamnyp_twitter
    Hi! Is it a known issue, that /_node/health returns a 500 error when using redis as a rate-limiting repository? I'm getting {
    "ratelimit-repository" : {
    "healthy" : false,
    "message" : "null"
    },
    even though everything seems to be working perfectly fine.
    vliska
    @vliska
    Hi. I stumbled upon wierd behavior. API under context-path: /config-service ; entrypoint target: http://config-service:8080/config-service throws 502 Bad Gateway on all commands (with nothing in gravitee-gateway log). If I change context-path to /configuration-service, /config-svc, /config-serviceX ... everything works as expected - returns 200. Are there any endpoints on gravitee-gateway that our service name collides with?
    1 reply
    Kleber Rocha
    @klinux
    @brasseld there 's some policy to check x5t#S256 in apim?
    pavanelthepumisc
    @pavanelthepumisc
    @brasseld I’ve keycloak provider in Client Registration section. When we sudbscribe, a new client is getting created. Is there any way we can add sevice account role to this new client (instead of adding from keycloak manually)?
    vliska
    @vliska
    Hi. Quick question (that I could not find answer for). We have kubernetes cluster with nginx as load balancer (nginx-ingress) and we are trying to put gravitee in front of our services. Path of traffic would be internet -> azure LB -> nginx LB -> gravitee -> our services (throws APIs). Right now, we have internet -> azure LB -> nginx LB -> kubernetes service. We use nginx-ingress to ensure sticky sessions on some of our services (we need this for some). Is there a way how to implement sticky sessions in this scenario with gravitee in the middle? Thank you!
    2 replies
    Ghost
    @ghost~60feb7616da037398481da47
    Hi, Can someone help me how to Dockerize both gravitee-ui-component and gravitee-portal-webUI repositories?
    Heri Setyawan Nugroho
    @crayon66
    Hi, can I use EL in eureka service discovery in field "The application name to query"? so can work like dynamic routing? thanks before
    Jonathan Bennett
    @JonathanBennett

    Hey :wave: I'm trying to use the traffic shadowing policy, and any combination of EL I use ends up with the following exception:

    Caused by: java.lang.NoSuchMethodError: 'io.gravitee.gateway.api.proxy.ProxyConnection io.gravitee.gateway.api.Connector.request(io.gravitee.gateway.api.proxy.ProxyRequest)'
        at io.gravitee.policy.trafficshadowing.TrafficShadowingPolicy.onRequestContent(TrafficShadowingPolicy.java:60)
        ... 93 common frames omitted

    So far defined an endpoint group called "requestbin" and used the template EL {#endpoints['requestbin']} for the target. Any possible tips, please?

    7 replies
    Ghost
    @ghost~608fdb666da03739847ba431
    Hi ! I was wondering if there's some statistics about Gravitee's performance when using the hibrid deployment
    Brassely David
    @brasseld
    Hi everyone, I'm back from vacations ! I don't have time to look after all your questions, so if it's urgent, please feel free to ask them again. Thanks!
    Ghost
    @ghost~60feb7616da037398481da47
    Hi @brasseld can you tell me how to Dockerize both gravitee-ui-component and gravitee-portal-webUI repositories?
    6 replies
    lllamnyp
    @lllamnyp_twitter
    Is it possible to extract the application's client_id from the context of a request with SpEL when the application is calling an API with an API-key plan?
    15 replies
    Thientvse
    @thientvse
    Hi all
    1 reply
    I have a problem: 04:20:20.677 [vert.x-eventloop-thread-17] [] ERROR i.g.e.client.http.HttpClient - An error occurs while indexing data into ES: indice[gravitee-monitor-2021.08.26] error[index [gravitee-monitor-2021.08.26] blocked by: [TOO_MANY_REQUESTS/12/index read-only / allow delete (api)];]
    Can you help me?
    Yohann Fabri
    @YoranSys
    Hi,
    I can't make Gravitee AM 3.10.1 and APIM 3.5.XX work together,
    When I use Gravitee.io or OpenID integration on APIM side the AM gateway respond 401 : Invalid client: missing or unsupported authentication method on /oauth/token endpoint.
    Which seem to be related to the authentification method used by APIM client credential is on body and the AM seem only to support Basic auth header. On previous version of apim we have an option to choose the authentification.
    Do I miss something or this is a bug ?
    3 replies
    Yohann Fabri
    @YoranSys
    image.png
    Ahmet AYDIN
    @ahmetayd
    Hi,
    I'm preparing to Brownbag session about Gravitee API Gateway. Do you have slides for detailed information about features?
    1 reply
    Тигран Мартиросян
    @MTigra_gitlab
    Hi guys, i can not find any information about tracing support.
    Is it possible to generate some traceid and spanid in gravitee?
    icandir
    @icandir
    Hi
    we are getting this error from analytics,,, 07:16:20.566 [vert.x-eventloop-thread-0] [] ERROR i.g.r.e.i.DocumentBulkProcessor - Unexpected error while indexing data on
    is there a troubleshoot guide for this case
    Tanking
    @Tank-zhu
    hi
    André Santos
    @AndreRog
    Hello guys, sorry for the weird question but I wanted to have a more informed answer to a challenge that am I facing. Right now, my company is using the 1.22 version of gravitee (very old I know) and I am in charge of not only the migration to the latest version but to a k8s environment. Additionally, the company wants to change the management DB from mongo to a JDBC (Postgres most likely). I am thinking of using helm, and using aws services for the database. How should I proceed knowing that I want to change the database as well any recommendation? Should follow the update guide to the latest version, and then worry about the database or just start over from the latest version?
    13 replies
    Ben Shabtai
    @bendking

    Hello.

    It seems that our Gravitee app's (running on Kubernetes) portal component loads in with the title of 'Gravitee.io Portail' which then changes into our custom title page.
    It does not seem that this typo ('portail' instead of 'portal') is caused by our configuration, and I have found other portals which share this error on Google, which leads me to believe that this is a bug with Gravitee.

    Has anyone been able to solve this issue?

    mdz0r
    @mdz0r
    hello guys, just updated to 3.11, i'm only seeing 10 users in org settings, are you experiencing this issue?
    5 replies
    Ganaa
    @gantulgao
    hi. i'm using 3.11. but there is /oidc/.well-known/openid-configuration not showing subject_type_supported field. what should i do?
    8 replies
    Vincent Margerin
    @vmargerin
    Hello there,
    Is there an option to sanitize email notification (I can see it for Pages, but not for email) ?
    Thanks !
    3 replies
    Oliver Graebner
    @ofg
    Hi, I am trying to place the gateway in front of one of your existing development tools. To make that work I need to set the host header to a different value then the upstream service name, e.g. the host needs to reflect the original domain name the tool was hosted at. The setup in Kubernetes is: ingress with DNS name https://tool-1.mycompany => forwarding to gateway => forwarding to backend service http://internal-service-name; now the host header has the value "internal-service-name" and I need to set it to "tool-1.mycompany". Any chance to do this? Neither manipulating the header with "transform header" in the designer nor setting "preserve_host : true" has any effect ...
    3 replies
    Quentin Lauterbach
    @kyew4u
    Hi,Do liveness and readiness probes work when using gravitee in kubernetes environment?
    2 replies
    Faf
    @fabMrc
    Hello
    14 replies
    2021-09-07 14:59:48.032 [vert.x-eventloop-thread-3] [] ERROR i.g.g.s.h.rule.EndpointRuleHandler - An error has occurred during Health check response handler
    org.springframework.expression.spel.SpelParseException: Expression [#response.status == ''UP"] @24: EL1045E: Cannot find terminating " for string
    it is a log from gateway
    logback.xml is configured to write out the api id but in log it does not appears
    [vert.x-eventloop-thread-3] []
    the [] is empty
    APIM 3.9
    do you have some ideas about it ?
    furthermore I believe it is related to a fixed issue but I want to be sure the error
    2021-09-07 14:59:39.945 [gio-heartbeat] [] ERROR i.g.g.s.heartbeat.HeartbeatThread - An unexpected error occurs while monitoring the gateway
    java.lang.IllegalStateException: Queue is full!
            at com.hazelcast.collection.impl.queue.QueueProxyImpl.add(QueueProxyImpl.java:59)
    is fixed in 3.10 or not
    Faf
    @fabMrc
    Last error in 3.9.0 is there something identified about ES indexes
    4 replies
    2021-09-07 15:49:27.566 [vert.x-eventloop-thread-5] [] ERROR i.g.e.client.http.HttpClient - An error occurs while indexing data into ES: indice[gravitee-rcc-health-2021.09.07] error[failed to parse]
    2021-09-07 15:49:27.566 [vert.x-eventloop-thread-5] [] ERROR i.g.e.client.http.HttpClient - An error occurs while indexing data into ES: indice[gravitee-rcc-health-2021.09.07] error[failed to parse]
    2021-09-07 15:49:30.156 [vert.x-eventloop-thread-6] [] ERROR i.vertx.core.net.impl.ConnectionBase - readAddress(..) failed: Connection reset by peer
    I have a lot of these logs, but in management console analytics are reacheable and in ES all seems OK green open gravitee-rcc-health-2021.09.07 aydRw5A0SK-Sm0pxaK05Mg 1 1 10997358 0 2.7gb 1.4gb
    François Papon
    @fpapon
    Hi
    I can't find the path of the readiness/liveness for the gateway
    8 replies