Comments (4)
did you modify your serverName as required in deployment steps?
from siteproxy.
let config = { httpprefix: 'https', port: 443, serverName: 'siteproxy.now.sh', }
Should I change this? If I change it to my server, it still doesn't work.
from siteproxy.
This is what I changed it to
let config = {
'httpprefix' : 'https',
'port' : '443',
'serverName' : 'poxe.helixable.repl.co' //Test server
}
When I visit youtube.com, this is what is logged in the console:
[HPM] Error occurred while trying to proxy request /url?sa=t&source=web&rct=j&url=https://poxe.helixable.repl.co:443/https/www.youtube.com/&ved=2ahUKEwjw-ajM9LDoAhVRbs0KHXzqA74QFjAAegQIGxAC from poxe--helixable.repl.co to https://www.google.com (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_syste
m_errors)[HPM] Error occurred while trying to proxy request /async/ecr?ei=ntV4XvAy0dy1BvzUj_AL&lei=ntV4XvAy0dy1BvzUj_AL&yv=3&async=encoded_cache_key:ChMI8PmozPSw6AIVUW7NCh186gO-EgIYAg,version_info:YzXJ7cPlt7wdkM8Etx7IT2tBSCeAEBc,attempt:1,_fmt:jspb from poxe--helixable.repl.co to https://www.google.com (ECONNRESET) (https:
//nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /async/ecr?async=encoded_cache_key%3AChMI8PmozPSw6AIVUW7NCh186gO-EgIYAg%2Cversion_info%3AYzXJ7cPlt7wdkM8Etx7IT2tBSCeAEBc%2Cattempt%3A1%2C_fmt%3Ajspb&ei=ntV4XvAy0dy1BvzUj_AL&lei=ntV4XvAy0dy1BvzUj_AL&yv=3 from poxe--helixable.repl.co to https://www.google.com (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /async/ecr?async=encoded_cache_key%3AChMI8PmozPSw6AIVUW7NCh186gO-EgIYAg%2Cversion_info%3AYzXJ7cPlt7wdkM8Etx7IT2tBSCeAEBc%2Cattempt%3A1%2C_fmt%3Ajspb&ei=ntV4XvAy0dy1BvzUj_AL&lei=ntV4XvAy0dy1BvzUj_AL&yv=3 from poxe--helixable.repl.co to https://www.google.com (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)
Also, many of the icons in youtube don't load in.
from siteproxy.
Nevermind. I got it to work. Thanks!
from siteproxy.
Related Issues (20)
- 能不能登录微软邮箱啊。
- Feature Request: robots.txt 禁止所有搜索引擎 HOT 1
- 能不能去掉浏览器上那一行英文提醒,真的太烦了。 HOT 7
- 建议能绑定多域名 HOT 2
- 能否单独代理某个 youtube 视频
- WebKit/Safari 适配 HOT 8
- cloudflare_worker部署添加自定义域无法访问 HOT 16
- 征集vercel部署指南,加入README HOT 3
- 使用cf部署时,无法使用poe HOT 2
- [Feature Request]在siteproxy与target之间再加上我的VPS里的代理 HOT 2
- 混淆的原因 HOT 2
- [Feature Request] Worker版使用环境变量管理网站域名和密码
- Workers部署中,需要替换的几个地方(备忘) HOT 3
- 征集www.netptop.com主页 HOT 4
- ipv6问题 HOT 2
- 对于嵌入式链接的代理 HOT 7
- 使用后每隔一段时间就会跳到netpop主页&开放自定义主页功能
- cf worker时不时访问速度慢 HOT 1
- 能不能直接国内看YOUTUBE视频呢 HOT 1
- 能不能开启google账户登录配置,风险自担 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from siteproxy.