Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self Dependent Server #1

Closed
ghost opened this issue Mar 23, 2020 · 4 comments
Closed

Self Dependent Server #1

ghost opened this issue Mar 23, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 23, 2020

I gotthe server working, but when I try to access youtube videos, it leads to siteproxy.now.sh. It wont use my own server.

@netptop
Copy link
Owner

netptop commented Mar 23, 2020

did you modify your serverName as required in deployment steps?

@ghost
Copy link
Author

ghost commented Mar 23, 2020

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.

@ghost
Copy link
Author

ghost commented Mar 23, 2020

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.

@ghost
Copy link
Author

ghost commented Mar 23, 2020

Nevermind. I got it to work. Thanks!

@ghost ghost closed this as completed Mar 23, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant