Questions tagged [proxy]

In the realm of software engineering and technology, a remarkable invention has emerged - an intermediary tool or software suite that effectively bridges multiple interconnected programs or devices. Known as [dynamic-proxy], this extraordinary Java class guarantees seamless communication between different components. Furthermore, if you seek to implement a sophisticated architectural design approach, look no further than the renowned [proxy-pattern] - a tried and tested solution. For those exploring the world of JavaScript, fear not! The astonishing [es6-proxy] holds the key to harnessing the power of the JavaScript Proxy object.

Unable to connect domain name to IP address (No display is shown)

I recently purchased a domain () through Google Domains. However, when I try to open it in Chromium or Firefox, I receive an error message: ERR_CONNECTION_REFUSED. Here is my current setup: I have an EC2 AWS machine running my nodeJS backend on port 3000 ...

I encountered an issue with the proxy configuration while working with Npm and Angular, specifically after installing and then uninstalling

Ever since I removed Fiddler, I've been encountering issues with using Angular and npm, specifically related to proxy errors. When attempting an http call with Angular, I receive the following error: [HPM] Error occurred while trying to proxy request ** ...

What causes the ignoring of config.proxy in axios requests while working on a webpack project?

My objective I am aiming to make a request using [email protected] with full efficiency through an http proxy (squid). My project is built on Vue and uses the webpack template. I initialized it with vue init webpack proxytest The challenge Despite ...

Utilizing Vue Cli's Webpack Proxy feature

While working on a project using the vue-cli and the Webpack template, I am facing some difficulties with setting up a custom host. Currently, Webpack is listening to localhost:8080, but I need it to work with a custom domain like . Has anyone found a solu ...

Nuxt: Configure Axios requests to have their origin set based on the current domain

Currently, I am utilizing @nuxtjs/proxy for making proxy requests. The setup in nuxt.config.js is working perfectly fine. nuxt.config.js proxy: { '/api/': { target: 'api.example.com', headers: { 'origin': 'www.example.com', // ... ...

Tips for implementing JWT in a Node.js-based proxy server:

I am a Node.js beginner with a newbie question. I'm not sure if this is the right place to ask, but I need ideas from this community. Here's what I'm trying to do: Server Configurations: Node.js - 4.0.0 Hapi.js - 10.0.0 Redis Scenario: ...

Employing nvm within the company's network restrictions

Due to the restrictions of the corporate firewall, I am unable to install Node JS via nvm. To work around this, I have decided to utilize Fiddler for proxying and attempted to configure the proxy in nvm with the following command: nvm proxy , where 8888 ...

Looking for a Python library that supports proxy for Twitter Streaming API?

Anyone know of a Python library for the Twitter Streaming API that supports proxies? I like tweepy, but haven't found a way to use an HTTP proxy. Any suggestions? ...

Is it possible to simultaneously run both an npm server and a proxy in separate directories with just one command in

We are currently working on a project that involves a 'server' folder and a 'client' folder. In order to run the project, we have to navigate to the 'server' folder, enter 'npm run nodemon' in the terminal, and then open a new Terminal tab/window, switch ...

Implementing a separated front-end and back-end for an application

My web app consists of two separate components: An API built on the Place Framework that handles requests of type /api/* for any client. A decoupled front end created with AngularJS using grunt build. Currently, the front end communicates with the API. ...

Enhancing ReactJS App with PHP backend: Tips for implementing hot reload on your local machine

Currently, I am in the process of developing a ReactJS-App that is connected to a PHP backend. To streamline my workflow, I have MAMP set up on my local machine with a virtual host pointing to the root of my project, and I utilize webpack for bundling my R ...

A guide on incorporating user information into http-proxy-middleware

I am currently trying to figure out how to include user data, or any data, in my requests to one of my services. However, despite the code I have written below, the data is not being added to the proxyRequest when it is sent to my service. Can anyone exp ...

The combination of Apache mod_proxy and Node Express is capable of efficiently rendering plain text

Currently, I have a webserver running Apache 2.2.12 as the default server bound to port 80. I am embarking on a new project that requires me to proxy one of Apache's bound domains via port 80 to a Node Express Server 4.7 also hosted on the same machine bu ...

Transferring an HTML file to a destination stream

Currently, I'm in the process of constructing a proxy server. One of the tasks I'm tackling involves blocking specific URLs. I have developed a simple HTML page that is supposed to display whenever a blocked URL is requested, but unfortunately, it's not f ...

Forward multipart requests in NextJS (as well as NodeJS) using proxy pass

My challenge involved proxy passing multipart/form-data through NextJS API routes, but the default built-in bodyParser was causing issues with incoming multipart data. Other plugins for NodeJS were also not allowing me to successfully proxy pass clear byte ...

Troubleshooting a Proxy Error while deploying a React, Express, and Node app to Heroku

In the past, I've successfully deployed full stack applications to Heroku by including a proxy link in the client's package.json file. However, recently I encountered an "Invalid Host header" error. To resolve this issue, I removed the proxy and created a ...

Incorporating sudo privileges within a makefile

Currently, I am situated behind a proxy in the realm of bash. My HTTP_PROXY and HTTPS_PROXY environment variables are set to the proxy. In order to successfully install something under sudo, such as pip, I must use the -E flag with sudo like this: sudo -E ...

npm request user authentication while operating within a corporate proxy environment

When utilizing npm within a corporate proxy environment, it is necessary to include specific configurations in the .npmrc file located in the user's home directory. proxy = http://<username>:<pass>@<proxy_host>:<proxy_port>/ r ...

How to prompt the browser to download a file with a specific name using node.js and express

I've created a node/express website as part of my university project. It allows users to search for a specific law ID, which then displays a table with various files in different formats and languages related to that ID. I am using the "http-proxy" module ...

Setting up Node NPM proxy authentication - what's the process?

Just diving into the world of Node and attempting to install TypeScript with this command: npm install -g typescript Encountering this error message: If you are behind a proxy, please ensure that the 'proxy' config is set correctly. I've configured my ...

Is it possible to run a React, Vite, Node.js, and Express app all at once

I am currently learning React and JavaScript, but I am facing challenges when it comes to connecting my frontend and backend. I have been attempting to run both the front and back end simultaneously in order to send requests to the backend and display fetc ...

Guide on routing a websocket connection through a proxy server

Encountering an issue with github.com/facebook/create-react-app, particularly when proxying the webpack-dev-server with a custom server. While HTTP requests work fine, WebSocket requests fail with this specific error: WebSocket connection to 'ws://localh ...

Strategies for safeguarding data in Node.js in the event of a crash

In my express app, users have the ability to create subdomains which act as proxies for sites dynamically. The challenge lies in potentially losing data if the app encounters errors, crashes, or restarts. This would result in all the unique proxies create ...

Unable to retrieve data from a localhost server to a different one

I have both a Webpack server for React (located at localhost:3000) and an Express server (found at localhost:4000). I followed the instructions to set up a proxy in my package.json file but it's still not working. Additionally, I tried setting headers on t ...

The JavaScript-loaded PHP script loses its POST data

On my ASPX page located at www.site.com/Page.aspx, I have a PHP script embedded from sub.site.com/Script.php using JavaScript. $('#LoadPhpScript').load("http://www.site.com/Proxy.aspx?http://sub.site.com/Script.php"); While this setup works wel ...

What is the best way to switch proxies multiple times during a single webdriver session?

I have been developing a bot that requires changing the proxy of the webdriver every 50 searches. I am currently using an API to request proxies and sockets, storing these variables for each session. However, my current method of setting up proxies through ...

Having trouble getting npm install to work on Windows? It could be due to a potential

Is there anyone who can help me find a solution to this problem? view image description here Attempted solutions: How to stop "npm install" at [..................] | idealTree:regal: sill idealTree buildDeps Npm install not completing. Need help fixing th ...

Looking to update IP address once it has been assigned to webdriver

Greetings! I am currently developing an automation tool for a scheduling platform utilizing the Selenium Chrome Webdriver in Python. I have successfully implemented static or residential authentication proxies with the Chrome driver by creating them as ext ...

"The webpack-dev-server seems to be failing to forward requests to an external domain using the proxy

I'm currently facing an issue with setting up the webpack-dev-server proxy configuration to route api requests to an external domain. Despite my efforts, I am unable to get it to function properly. Below is my configuration: var path = require(&apos ...

What exactly does the .proxy() method do in jQuery?

Can you explain the purpose of the jQuery.proxy function in jQuery and describe the scenarios where it is most beneficial? I came across this link, but I'm struggling to grasp its concept fully. ...

Utilizing PHP to Access AWS S3 through a Proxy Server

Currently, I am attempting to retrieve the object image through a proxy server using PHP. Below is the code I am utilizing: $client = new AwsS3S3Client([ 'version' => 'latest', 'region' => 'us-east-1', 'request.o ...

Is there a chance for a reverse proxy using pure PHP?

Allow me to elaborate further -- I have BOX1 in use, and I wish to access BOX2. However, I want to visit BOX2 using a domain name (example.com), with my domain currently pointing to box1. How can I configure example.com to retrieve content from box2 with ...

What is the underlying mechanism behind the functionality of this straightforward node.js proxy?

I am running a frontend-only web application on Netlify that needs to interact with an API on OpenSubtitles.org. Despite the fact that OpenSubtitles.org supports CORS, I sometimes encounter preflight errors, leading me to implement a proxy solution. After ...

Utilize Node.js to proxy Angular requests to a service hosted on Azurewebsites

I am trying to set up a proxy post request in my Node.js server and receive a response from the target of this request. Below is an excerpt from my server.js file code where I have implemented the proxy, but I am facing a issue with not receiving any respo ...

Utilizing Python SDK to access Watson Discovery API via an HTTP Proxy server

Utilizing the Watson Python SDK from https://github.com/watson-developer-cloud/python-sdk, I am attempting to send a search request to the Watson Discovery service. However, due to being behind an HTTP proxy, I am unable to reach the Watson Discovery servi ...

Struggling to access any Https sites while attempting to utilize a proxy with selenium

Having issues accessing an https site using a proxy with selenium. The following is the code I have written: from selenium import webdriver PROXY = "159.203.11.15:80" # IP:PORT or HOST:PORT chrome_options = webdriver.ChromeOptions() chrome_options.add_ ...

After configuring Python Selenium with a proxy, the message 'There are no active modal dialogs' is displayed

While using a proxy with my webdriver, an authentication dialog requiring user/pass credentials appears. To address this, I opted to utilize an autoit script for a simpler solution: #Include <File.au3> WinWaitActive("Authentication Required") Send( ...

Setting up a simple authentication system with randomly generated values on an Express.js route

My website runs on Node.js with the Express framework. I am looking to create a proxy that can fetch data from the Yahoo Placefinder API since it does not support JSONP responses. The plan is to use jQuery AJAX requests to communicate with the proxy and re ...

npm error along with challenges in working with proxy servers

I've been attempting to install several packages like express using the npm install command in the npm command prompt. However, I'm encountering errors while doing so. Every package seems to be throwing an error. error for npm I suspect this is ...

Steps for implementing a single proxy in JavaScript AJAX with SOAP, mirroring the functionality of the WCF Test Client

I am working with a WCF web Service and a javascript client that connects to this service via AJAX using SOAP 1.2. My goal is to pass a parameter to instruct the AJAX SOAP call to use only one proxy, similar to how it is done in the WCF Test Client by unch ...

Setting up an angular2 web application on an Nginx server and forwarding HTTP requests to the backend API for

Seeking assistance with setting up angular2 routes and proxying http requests to a rest api on a separate server Currently, I have an angular2 web application running on an nginx server which serves the static html files. The rest api that the application ...

Node.js proxy request to elastic search has been experiencing freezing issues

I attempted to send a request to my Elasticsearch server (localhost:9200) from my own server at localhost:8080. However, I am not receiving any response from the Elastic search. This is the code I used: var express = require('express'); var router = expre ...

"Using nginx to proxy a Node.js Express application running on a remote server within a sub

I am facing a challenge where I need to host multiple node applications on a single server. To achieve this, I have set up the applications to run on different ports and can access them by specifying the IP address along with the respective port numbers. ...

Unable to configure Luminati proxy with Selenium using Python 3

Currently, I am in the process of configuring a proxy for the Firefox driver using Selenium on Python. To set up the proxy, I followed the guidelines provided in this instruction: https://github.com/luminati-io/api/blob/master/python/3.x/simple.py userna ...

Configuring Selenium browsers to use Selenium's hub as a proxy server in Python on Selenium Grid – step-by-step guide

My current setup involves running Selenium 2.0b4dev on Selenium Grid in Ubuntu 10.04, using Python code to create test cases. I've encountered an issue with setting up basic HTTP authentication for a specific site. After a quick search online, I disco ...

React App's proxy configuration to connect with an Express server for PassportJS authentication is currently malfunctioning

After spending some time trying to configure a proxy for my React app to connect with my Express backend, using passportjs for Google social authentication, I encountered an issue. The React development server is running on PORT 3000 while the Express ser ...

Angular proxy - Syntax error found in proxy configuration file: proxy.conf.json

My Angular 6 setup is configured to make HttpRequests, but I encountered a problem that requires me to run them through a proxy. To address this issue, I created a proxy.conf.json file next to my package.json: { "/loans/": { "target" : "https://api. ...

Difficulty accessing the link in India using Selenium with Python

I have been attempting to automate the process of accessing a website using Python, but the catch is that it only works when accessed from India. Unfortunately, my current code isn't getting the job done. The existing code, complete with the website link, ...

Issue with Selenium IE Webdriver Proxy: hudsuckr.exe cannot be found

I am encountering an issue where I am unable to change the proxy settings of the IE Webdriver. This problem is being caused by the following exception: Caused by: java.io.IOException: Unable to locate: hudsuckr/hudsuckr.exe My current approach involves ...

Utilize a proxy gateway within Selenium WebDriver for enhanced browsing capabilities

My objective is to integrate a proxy gateway (such as geosurf.io) into the Selenium webdriver. I plan to achieve this using DesiredCapabilities, as it appears to be the preferred method for adding a proxy gateway according to this source. DesiredCapabi ...

Is there a method to automatically switch proxies every 5 minutes using a browser extension?

Looking to implement a proxy switcher in Selenium using Python. Currently, I have code that adds a proxy through an extension but now I need to modify it to switch proxies multiple times. The goal is to create a "Proxy Switcher" extension. manifest_json ...

Try out a secure proxy server in Python

I am currently working with a plethora of HTTPS proxies (proxies that have their own SSL connection). To simplify the process, I am developing a python diagnostic tool that aims to connect to a particular page through each proxy and send me an email if any ...

Employing a proxy server in conjunction with selenium and ruby

I'm facing an issue with getting selenium to make requests through a proxy server, as it doesn't seem to be working properly. Although this code gets a response, it's not utilizing the proxy settings: Selenium::WebDriver.logger.level = :info proxy = Sele ...

Issue with securely configured proxy: Meteor failure due to inability to establish tunneling socket with SSL?

Currently utilizing Meteor on Ubuntu 14.04.5 LTS within a corporate proxy environment, I am encountering issues applying updates or even establishing a Meteor instance. Upon running meteor update, the following error is displayed: Unable to update package ...

Rendertron always renders base routes as empty

I'm running into an issue while trying to use rendertron via an Apache proxy - all the base routes are showing up as "null." Could this be due to a configuration error on my part? Any help would be greatly appreciated. The Rendertron service is currently ...

Streamlining Website Traffic Through Automation

I am seeking ways to increase the views on my website using only my Mac computer. I am open to all suggestions and options available. If necessary, I can provide more details to clarify my question further. Initially, I am aiming for a rise in basic hits ...

Having trouble sending `req.params` through http-proxy-middleware in a NodeJS/Express application?

I'm still getting the hang of Node, and I've run into an issue with passing request parameters using http-proxy-middleware. Every time I try, I keep getting a 404 error. This is my express listener setup: app.put("/api/markets/:id",()=>{..c ...

The presence of a setupProxy file in a Create React App (CRA) project causes issues with the starting of react-scripts,

I have implemented the setupProxy file as outlined in the documentation: const proxy = require('http-proxy-middleware'); module.exports = function (app) { app.use( '/address', proxy({ target: 'http ...

What is the process of setting up a proxy for Clerk authentication in a Next.js/Vercel application?

Following the Clerk documentation has been a bit challenging as it seems to lack some crucial information: In my simple Next.js 14 app using the app router pattern and app directory, they mention adding 3 headers to the proxy: Clerk-Proxy-Url: Should con ...

npm is currently unable to fetch packages from the registry at registry.npmjs.org

I am encountering the following error message when trying: npm search rollup npm ERR! pna.nextTick is not a function npm ERR! code ECONNRESET npm ERR! network tunneling socket could not be established, statusCode=503 npm ERR! network This is a problem re ...

I noticed that my node.js application is intermittently throwing an Unhandled 'error' event when processing write requests, shortly after I configured it to run behind Nginx

Having been successfully running node.js(0.8.20 and 0.9.10) on Windows Server 2012 for weeks without any issues, I recently added Nginx(1.2.6) to the mix. However, after configuring Nginx as follows: #user nobody; worker_processes 1; #error_log logs/e ...

Troubleshooting Proxy.php issues in conjunction with AJAX Solr

Attempting to access a Solr 4.5.0 instance located on a private server, http://12.34.56.789:8983/ The application resides at this web server address, http://www.mywebapp.com To facilitate accessing the JSON object within the Solr instance, I decided to ...

Utilizing two nearby node servers to route traffic according to designated paths

I am seeking a solution to achieve the following: There are two servers running locally on different ports: localhost:3001 localhost:3002 I want a third server on port 3000 to route all traffic to localhost:3001 except for specific paths that are white ...

Secure user authentication is essential for the proxy application built on Express using NodeJS

I currently manage two servers: Server A - Utilizes Express/FeathersJS and is accessible to the public. It is secured with JWT for authentication. Server X - A Django application that is not available publicly and does not require any type of authenticati ...

What steps should I take to troubleshoot and resolve the connection issue that arises while trying to execute npm install

Following the guidelines from: I executed commands like mkdir, cd, and npm init. They all ran successfully, generating a file named package.json. Subsequently, I entered npm install --save-dev electron which resulted in an error occurring. lala@ubu:~/pr ...

Error 502: Nginx's connection to the Express server is experiencing issues

Greetings! I recently migrated my website from AWS with PM2 to a nginx server on Digital Ocean. However, I am encountering a 502 error, indicating that something is misconfigured. Originally, the client was served successfully, but after switching to havin ...

Interacting with an API through a proxy server within an Ionic application

Having trouble connecting to an API using Ionic config because you are behind a company proxy? When your path is "/v1" and the proxyUrl is "https://api.instagram.com/v1", how can you get it working if the company proxy is 192.168.1.18:8080? While explorin ...

Encountering issues when using a proxy with Selenium Webdriver in Python

After experimenting with a Selenium Python script for web scraping, I encountered an issue once my IP was detected. To overcome this, I decided to explore using a proxy server. I attempted two different methods to implement this. First approach: PROXY = & ...

Element Proxy

I decided to experiment and see how a library interacts with a video element that I pass to it. So, I tried the following code: const videoElement = new Proxy(document.querySelector('video'), { get(target, key) { const name = typeof key === 's ...

Having trouble with nodeJS when running the command "npm install"?

Can anyone help me understand why I'm encountering issues when running "npm install"? Whenever I run npm install, I am bombarded with numerous errors. npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files ...

Unable to access the Selenium Proxy while configuring it with BrowserMob

Having successfully created a Selenium proxy using BrowserMob on my local PC, I encountered an error when attempting to run the same code on a server (Windows Server 2008 R2 Standard) which reads "cannot connect to tunnel". I have experimented with variou ...

I am having trouble installing and running the essential Svelte demo on my work computer

Having trouble installing the basic Svelte demo project on my company laptop due to security and proxy issues. While it worked effortlessly on my personal PC, I've been stuck in a loop of errors and warnings for days with the company laptop. The steps I'm ...

Configuring proxy settings in npm-yeoman package

I'm currently developing my Angular application using Yeoman. I've configured proxies and registry settings as shown below: npm config set proxy http://proxy.tcs.com:8080 npm config set https-proxy http://proxy.tcs.com:8080 npm config set registry http ...

"Encountering InvalidArgumentError when attempting to execute webdriver with proxy

Struggling to set up webdriver.Firefox() with a proxy, I've tried various solutions but my IP doesn't seem to change. The only solution that worked for me is: def install_proxy(PROXY_HOST,PROXY_PORT): fp = webdriver.FirefoxProfile() print(PROXY_PO ...

NginX encounters issues with forwarding the POST request body while acting as a proxy for requests directed towards an Express backend originating from a static bundle

Currently, I am operating an NginX server that is hosted on a Digital Ocean Droplet under the domain 'pocket-caravan.com'. The main objective was to create a react bundle that would include all necessary css/js/images and utilize nginx for handling static ...