by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 19 03:19
    chrisrichard commented #985
  • Sep 14 02:59
    xinjiguaike commented #934
  • Sep 14 02:58
    xinjiguaike commented #934
  • Sep 11 11:15
    dependabot[bot] labeled #1007
  • Sep 11 11:15
    dependabot[bot] opened #1007
  • Sep 11 11:15

    dependabot[bot] on npm_and_yarn

    Bump node-fetch from 2.6.0 to 2… (compare)

  • Sep 05 08:31

    dependabot[bot] on npm_and_yarn

    (compare)

  • Sep 05 08:30

    XVincentX on master

    Bump http-proxy from 1.18.0 to … Merge pull request #1006 from E… (compare)

  • Sep 05 08:30
    XVincentX closed #1006
  • Sep 04 23:09
    dependabot[bot] labeled #1006
  • Sep 04 23:09
    dependabot[bot] opened #1006
  • Sep 04 23:09

    dependabot[bot] on npm_and_yarn

    Bump http-proxy from 1.18.0 to … (compare)

  • Aug 20 03:56
    mohitt13 opened #1005
  • Aug 06 10:33
    XVincentX closed #997
  • Aug 06 10:33
    XVincentX closed #981
  • Aug 06 10:33
    XVincentX closed #949
  • Aug 06 10:33
    XVincentX closed #926
  • Aug 06 09:58
    Nditah opened #1004
  • Jul 29 07:26
    XVincentX commented #934
  • Jul 29 07:07
    xinjiguaike commented #934
bugf1nd3r
@bugf1nd3r
but I want to run APi Gateway from subdomain.abc.com to subdomain.abc.com/apigateway
How can I achieve that ?
Daniel Barreiro
@Birraco_twitter
hello, I suffering an issue when I proxy a request with a large body payload. Can I configure body size in express gateway?
If I call directly to the endpoint (without express-gateway) works flawlessly
Awais Ali
@awaisaliliaqat
how I can add users or authentication permanently?
Al Tsang
@altsang
You are saving to the in memory instance
Set up a real redis instance - see the docs
nawazxy
@nawazxy
Hello
How do I avoid installing express-gateway package to access the CLI within the express gateway docker container?
André Fauth
@andrefauth
Hey guys, I've been looking at express gateway and its great so far, but I haven't been able to transform the response, and by that I mean, I have been able to remove nodes from the response object, but haven't been able to add using the response object, wich is... using the https://httpbin.org/ip example, I'ld like to change the "origin" property to something else. So I removed the origin and then added another using "res.origin" but it simply dosent work.
I know I must be doing something wrong.
Can anyone please explain it to me ?
sbindaloii
@sbindaloii
Using express gateway to call my other micro services
I have large payload size and not able to send my request to other MS
Please help if any configuration is there to allow it
Waleed Saleem
@Waled_Saleem_twitter

I am trying to set timeout for request and tried

  - proxy:
      - action:
          serviceEndpoint: service-management-srv
          changeOrigin: true
          timeout: 300000

but didn't succeed. I am getting "502 - web server received an invalid response while acting as a gateway or proxy server." when a make an API call which takes more than a minute. Other calls work fine.

SALOME NUÑEZ MARQUEZ
@SALOME78_gitlab
Hi, I want to create credentials to user but this command response a error. Help please: COMAND: eg credentials create -c bob -t key-auth -q, ERROR: Configuring yargs through package.json is deprecated and will be removed in a future major release, please use the JS API instead.
I use gateway express
image.png
Can anyone help me please
Kevan0v
@Kevan0v
Hi guys was wondering if express gateway had websocket support and service discovery + client side loadbalacing support?
SS88
@SS88
@SALOME78_gitlab -q in the command is creating your problem
Prabhu GTSL
@prabhugtsl_gitlab
Hi
SyntaxError: Unexpected string in JSON at position 16
    at JSON.parse (<anonymous>)
    at parse (/home/Documents/api-gateway/node_modules/body-parser/lib/types/json.js:89:19)
    at /home/Documents/api-gateway/node_modules/body-parser/lib/read.js:121:18
    at invokeCallback (/home/Documents/api-gateway/node_modules/raw-body/index.js:224:16)
    at done (/home/prabhu/Documents/api-gateway/node_modules/raw-body/index.js:213:7)
    at IncomingMessage.onEnd (/home/Documents/api-gateway/node_modules/raw-body/index.js:273:7)
    at IncomingMessage.emit (events.js:322:22)
    at endReadableNT (_stream_readable.js:1187:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
can anyone help me to handle this error
elmariky
@yelmariky
hello, rate-limit policy didn't work
gehlotchirag
@gehlotchirag
Does this works with soap api as well?
Tejas H
@CodingCreate101
Is this active?
Rahul Kumar
@rk36
Can I use express gateway as API management, if my services are hosted in Google APP engine. If so, where the express gateway will be deployed ?
Geilson Ribeiro Mirandola
@geilsonrm

and in server.js , write this line at the top
require('dotenv').config();

Thank you! Helped here.

bhupendrabisht8130
@bhupendrabisht8130

Can I use express gateway as API management, if my services are hosted in Google APP engine. If so, where the express gateway will be deployed ?

you can deployed your gateway in Compute instance.

SS88
@SS88
How does the gateway operate ? is it one instance running on server for multiple clients (front) and how the session are managed (the jwt headers) ?? thanks !
Brady (John) Connelly
@Brady-Conn
Hello, I had recently(about two weeks ago) gotten some changes merged into the express-gateway repo. My team is super excited to make use of the new functionality that we had helped contribute to and was hoping to get a timeline on when a new version would be published? I had reached out on github and got no response.
Lost
@theLostPupper_twitter
Hi everyone. I was curious about the oauth2.0 introspection plugin. In the documentation https://www.express-gateway.io/docs/policies/oauth2-introspection/, it says that you must provide an authorization_value which represents the client_id/secret combo. This makes total sense for all cases outside of PCKE application where a client secret is not given. A major integration player who does this is okta. https://developer.okta.com/docs/reference/api/oidc/#introspect. Given that info, my question is - Is the plugin unable to handle the okta introspection for a pkce app given that an Authorization Header must not be provided.
Shubham Goel
@shubhamgoel95_twitter
Hi,
I am using jwt policy and after that, I have used log policy and printed req.user and getting decoded data, but when printing req.use in my express microservice I am getting undefined, earlier I was getting the decoded data in my microservice
Rahul Kumar
@rk36
@bhupendrabisht8130 thank you! Also, I wanted to know can I integrate the express gateway with the firebase authentication. (Here I wish that firebase should do the authentication and token validation for every request that goes by the express gateway)
Dave Glendenning
@zerosandones
Hi. I have a couple of questions around basic-auth credentials. I am trying to make a basic-auth credential for a user via the admin api. Can you set the password you want the user to have? Can you update the credential with a new password? I am trying to secure an endpoint via basic-auth which will allow for a creation of a jwt token to access the rest of the gateway. When a new user gets created I want to create a basic-auth credential with the password the user added and allow them to reset the password. I have been looking at the documents ans can't see anything about this, but I thought that it would be a basic requirement of the system. Maybe I am not understanding the credential system usage correctly.
Shubham Goel
@shubhamgoel95_twitter
Can we change the default status code of JWT policy if the token is expired?
SS88
@SS88
does EG use passport ?
Ike353
@Ike353
Hi, I'm currently trying to get responses from an AWS lambda which are base64 encoded gzip binary data to be returned to the client as regular JSON. So far I haven't been able to come up with a solution using both express-gateway-plugin-compression and express-gateway-plugin-lambda. What would your recommendation be for this? To be clear the only compression I want to exist is on the response of the lambda to the gateway, everything else is uncompressed. Thanks in advance!
2 replies
Sisir
@prionkor
Do anyone know how to enable webpack hot reload with express gateway?
Bengono Obiang
@metroGermes_twitter
Please How to combined multiple responses with single gateway endpoint using express gateway?
FazlanFarook
@FazlanFarook
How to use the same credentials in the two server since I'm using load balancer
Bhagyaraju
@bhagi1289
hi, how to use socket.io in expressgateway
I am getting connect EADDRNOTAVAIL 127.0.0.1:9015 - Local (127.0.0.1:0) this error
Jess Karol
@jpk0727
Do conditions in a pipeline get tried in the sequence they are defined in? What about pipelines? Also, with multiple pipelines, is it possible to have a default one that catches any routes that were not previously satisfied by the other pipelines?
Fabricio Canez
@FabricioCanez_gitlab
Hi, everyone! I would like to get all the users... So I use GET https://{my_url}/gateway/admin/users?start=0. It returns the first user and a nextKey value. But when I make a new search using GET https://{my_url}/gateway/admin/users?start={nextKey value of previous search}, there's no more records inside this search. But I still have more users. Could anyone here help me, please?
kaveh
@sg_kaveh_gitlab
hi i want to using https in express-gateway . i m using micro service. i test eg document example about https but not work please send me one correct example
Jose Perera Morales
@jperera84
Hi, can someone take a look at this performance issue: https://stackoverflow.com/questions/63723869/express-gateway-degraded-causing-huge-delays-on-requests I really appreciate any help
ThaDaVos
@ThaDaVos

Hello All,

Are there any known issues with Express-Gateway behind an NGINX proxy? We're having issues with the host option of the api-endpoints it doesn't seem to match

Celso Miranda
@celso.mateusmiranda_gitlab
Hi,
I would like to know if it is possible for me to create a route at the gateway so that it is directed to that endpoint?
Muhammad Ameer Hamza
@HamzaBinSarfraz
Hi, can someone please share getting started tutorials for Express gateway in a good way, thanks
ThaDaVos
@ThaDaVos
Is the roadmap still up to date?
https://www.express-gateway.io/docs/roadmap/
RaedMou
@RaedMou
Hi, is there any examples of service discovery within express gateway ?