Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
88 views

I am writing a proxy to relay websocket messages to a backend server. Client initiates a request over HTTP to upgrade to WS using a Sec-WebSocket-Key header. The proxy has to intercept the request and ...
S7H's user avatar
  • 1,687
0 votes
0 answers
98 views

I am trying to add a header to an HTTP request as: const { createProxyMiddleware } = require('http-proxy-middleware'); const express = require('express'); const app = express(); const API_KEY = '...
Mandroid's user avatar
  • 7,866
0 votes
0 answers
205 views

I'm building an API Gateway using Node.js, Express, and http-proxy-middleware. All incoming requests are forwarded to different services based on dynamic routing logic. I'm encountering a 408 Request ...
Keyla's user avatar
  • 1
0 votes
1 answer
84 views

I have a node.js / express project and I try to implement http-proxy-middleware like this : const app = express(); ... // 1st : `/mainUrls/*` are processed by the main app app.use("/mainUrls"...
gduh's user avatar
  • 1,222
0 votes
1 answer
38 views

I am using Flask with the flask-jwt-extended library for authentication, and I have encountered an issue with the refresh cookie. My setup includes: Backend: Flask running with flask run on port 5000....
Stepan0806's user avatar
1 vote
1 answer
569 views

I am trying to modify HTML body response of proxied target url, but my res.send method is not executing because onProxyRes function is not waiting the proxyRes.on('end', () => { event. const ...
Rang's user avatar
  • 11
-1 votes
1 answer
239 views

I'm facing an issue in my react application where I have created setupProxy.js file in that I have added multiple environment url (.development, .test) . Development port is running "http://...
abhijit bakshi's user avatar
-1 votes
1 answer
275 views

Initial issue faced: "Invalid options object. Dev Server has been initialized using an options object that does not match the API schema" TO resolve this issue added setupProxy.js inside src ...
Nivedha's user avatar
0 votes
0 answers
104 views

When i am uploading file from frontend with formdata as body of post request, Backend is returning 400 bad request. const formData = new FormData(); formData.append("file", this....
Deevanshu Kushwah's user avatar
0 votes
1 answer
425 views

I have the current code for proxying. const fastify = require('fastify')({ logger: true }) const fastifyHttpProxy = require('@fastify/http-proxy') fastify.register(fastifyHttpProxy, { upstream: ...,...
Richard's user avatar
  • 7,493
0 votes
0 answers
466 views

I use http-proxy-middleware to access various web-sites, including those having TLS fingerprint checks. My problem is that the proxy's TLS fingerprint is not corresponding to the User-Agent header I'm ...
optimizitor's user avatar
2 votes
3 answers
1k views

Below error message is shown on my console. After researching, I found that this error message is thrown from the initSocket function, which should be used by webpack hot update. Below is my ...
Hei Yui Wong's user avatar
2 votes
1 answer
169 views

I am setting up a local proxy to redirect specific URLs to another server, I am running my expressJS server as my main server, I have another server running on a different port... My express JS config ...
Takuhii's user avatar
  • 977
0 votes
2 answers
925 views

I'm having a webpack-dev-server enabled with watcher and reload on every change. This frontend dev server is in docker container, and is proxying everything to another docker container, backend, which ...
MCFreddie777's user avatar
  • 1,208
0 votes
1 answer
90 views

The query object from the client is simply missing from the handshake object on the server. On console.log(socket) at the client, query object is shown in _opts while opts looks like - hostname: "...
Manik Sejwal's user avatar

15 30 50 per page
1
2 3 4 5
17