gcollin / cookie-aware-cors-proxy Goto Github PK
View Code? Open in Web Editor NEWA proxy handling cors handshake with smart cookie and redirection management
License: GNU Affero General Public License v3.0
A proxy handling cors handshake with smart cookie and redirection management
License: GNU Affero General Public License v3.0
When using cac-proxy running chromium, Sometimes I get the following error that crashes everything:
Sep 19 00:12:25 systemd[1]: Started Cookie-Aware-Cors-Proxy.
/var/log/cac-proxy/cac-proxy.log
lmp0er7hgy2lt641i37: Changing sec-fetch-site from cross-site to same-site
lmp0er7hgy2lt641i37: Changing referer from https://dont-code.net/ to https://jhu6zvksfy-dsn.algolia.net/
lmp0er7hgy2lt641i37: Sending request: {
url: 'https://jhu6zvksfy-dsn.algolia.net/1/indexes/*/queries?x-algolia-agent=Algolia+for+JavaScript+(3.35.1);+Browser;+Magento2+integration+(3.6.0);+autocomplete.js+0.38.0&x-algolia-application-id=JHU6ZVKSFY&x-algolia-api-key=YTYyYzkyNzgyZDliZTZlMDk1OGE1MDQwNjRkYWY1ZmY4ZTE5OWZhYmU4ZGUyNTM2NDFjNmU4YjllNWMwNmJmNXRhZ0ZpbHRlcnM9\n',
method: 'POST',
headers: {
connection: 'keep-alive',
'content-length': '593',
'sec-ch-ua': '"Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"',
accept: 'application/json, text/plain, /',
'content-type': 'application/json',
'sec-ch-ua-mobile': '?1',
'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36',
'sec-ch-ua-platform': '"Android"',
origin: 'https://jhu6zvksfy-dsn.algolia.net',
'sec-fetch-site': 'same-site',
'sec-fetch-mode': 'cors',
'sec-fetch-dest': 'empty',
referer: 'https://jhu6zvksfy-dsn.algolia.net/',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7'
},
maxRedirects: 0,
validateStatus: [Function (anonymous)],
responseType: 'stream',
decompress: false,
data: { requests: [ [Object], [Object], [Object] ] }
}
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: rimraf: missing path
at rimraf (/opt/yunohost/cac-proxy/package/node_modules/rimraf/rimraf.js:54:3)
at Plugin.deleteUserDataDir (/opt/yunohost/cac-proxy/package/node_modules/puppeteer-extra-plugin-user-data-dir/index.js:71:5)
at Plugin.onDisconnected (/opt/yunohost/cac-proxy/package/node_modules/puppeteer-extra-plugin-user-data-dir/index.js:118:12)
at /opt/yunohost/cac-proxy/package/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:3:248
at Array.map ()
at Object.emit (/opt/yunohost/cac-proxy/package/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:3:232)
at CDPBrowser.emit (/opt/yunohost/cac-proxy/package/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js:87:22)
at /opt/yunohost/cac-proxy/package/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js:76:18
at /opt/yunohost/cac-proxy/package/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:3:248
at Array.map () {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: true,
operator: '=='
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.