Remove all
521xueweihan / shadowsocks-heroku Goto Github PK
View Code? Open in Web Editor NEW本项目已删除
本项目已删除
Remove all
本人新手,操作到第四步启动本地client完全不知道该怎么操作,楼主第四步教程写的太简略了,新手完全看不懂无从下手,能不能把第四步写的详细一下?需要安装什么软件?提示什么界面才算部署成功?谢谢了!
新手,请多指教
module.js:471
throw err;
^
Error: Cannot find module './merge_sort'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (G:\GitHub\shadowsocks-heroku\encrypt.js:7:16)
at Object.<anonymous> (G:\GitHub\shadowsocks-heroku\encrypt.js:207:4)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
请问如何解决?
connecting dashboard.heroku.com via ws://proxyall.herokuapp.com:80/
remote disconnected
请问怎么 “进到本项目目录”
需要运行什么程序吗?有没有更详细的图文教程?
node local.js -s 你的app名称.herokuapp.com -l 1080 -m 设置的加密算法 -k 设置的密码 -r 80
大兄弟,想请教一个问题。
这里,启动local.js时,指定的远程端口是80
,server.js 监听的是8080端口,而且,herokuapp提供的URL也是https(那就是443
端口)。所以,为什么你的客户端指定80端口,可以正常工作,而指定443或者8080反而不能工作?
我尝试着把这个项目部署到非heroku的另外一个服务商zeit.co, e.g. https://alex-ssr-naobaigshf.now.sh/
,直接打开这个链接,能够看到服务器正常启动了(你可以直接点开试试)。
但是,这次,就不能正常工作了。
"C:\Program Files\nodejs\node.exe" local.js -s alex-ssr-naobaigshf.now.sh -l 1080 -m aes-256-cfb -k barfoo! -r 80
这里,远程端口设置不论是80,443还是8080,都无法正常工作。
没有你的联系试,所以在这里问一下。如果“不方便”,就直接删除吧。
如果方便,能否帮忙看看或者解释一下,这个server.js到底怎么工作的?我看了一下源代码,并没有找到哪里有443端口接收到的内容转到8080端口。
p.s.
我是一个很传统的桌面应用老码农,对网络编程不是很懂。
通读完代码,我觉得理论上,你这个server应该能在所有支持http/https
的网络服务上运行。
设置完成后,打开shadowsocks,里面的端口填什么?80,还是1080,或是其它什么数字?
$ node local.js -s liujunhongz.herokuapp.com -l 1080 -m rc4-md5 -k killer -r 80
server listening at { address: '127.0.0.1', family: 'IPv4', port: 1080 }
local connected
concurrent connections: 1
local connected
concurrent connections: 2
connecting tip.f.360.cn via ws://liujunhongz.herokuapp.com:80/
remote disconnected
local connected
concurrent connections: 2
connecting errsug.se.360.cn via ws://liujunhongz.herokuapp.com:80/
remote disconnected
remote errsug.se.360.cn:80 Error: This socket has been ended by the other party
concurrent connections: 1
remote errsug.se.360.cn:80 Error: This socket has been ended by the other party
concurrent connections: 1
remote tip.f.360.cn:80 error: Error: unexpected server response (503)
1.速度有些慢。看youtube 最高在500KB/S(20M宽带,无其他代理配合),也是时不时remote disconnected
2.对于小白来讲(我就是),还需要提前下载安装好两个东西:
①Download and run the Windows installer.
②node-v6.9.2-x64.msi
启动本地 client
是说 在Clone的项目文件夹里右键,选择get bash here
,然后输入node local.js -s 你的app名称.herokuapp.com -l 1080 -m 设置的加密算法 -k 设置的密码 -r 80
手机能用吗,可以的话怎么配置 @521xueweihan
必须node启动吗?
remote f-log-extension.grammarly.io:443 error: Error: getaddrinfo ENOTFOUND yugoslavia.herokuapp.com yugoslavia.herokuapp.com:80
remote disconnected
concurrent connections: 11
remote clients1.google.com:443 error: Error: getaddrinfo ENOTFOUND yugoslavia.herokuapp.com yugoslavia.herokuapp.com:80
remote disconnected
concurrent connections: 10
remote www.google.com:443 Error: This socket has been ended by the other party
concurrent connections: 10
remote www.google.ca:443 Error: This socket has been ended by the other party
concurrent connections: 10
remote www.google.ca:443 Error: This socket has been ended by the other party
concurrent connections: 10
remote www.google.ca:443 Error: This socket has been ended by the other party
concurrent connections: 10
remote clients1.google.com:443 error: Error: getaddrinfo ENOTFOUND yugoslavia.herokuapp.com yugoslavia.herokuapp.com:80
remote disconnected
concurrent connections: 9
remote www.google.ca:443 Error: This socket has been ended by the other party
concurrent connections: 9
remote github.com:443 Error: This socket has been ended by the other party
remote github.com:443 Error: This socket has been ended by the other party
concurrent connections: 9
concurrent connections: 9
remote mail.google.com:443 Error: This socket has been ended by the other party
concurrent connections: 9
remote www.google.ca:443 Error: This socket has been ended by the other party
concurrent connections: 9
remote www.google.ca:443 Error: This socket has been ended by the other party
concurrent connections: 9
remote disconnected
remote assets-cdn.github.com:443 Error: write after end
remote assets-cdn.github.com:443 Error: write after end
concurrent connections: 9
concurrent connections: 9
remote github.com:443 Error: This socket has been ended by the other party
concurrent connections: 9
remote f-log-extension.grammarly.io:443 error: Error: getaddrinfo ENOTFOUND yugoslavia.herokuapp.com yugoslavia.herokuapp.com:80
remote disconnected
concurrent connections: 8
local disconnected
remote disconnected
concurrent connections: 7
local disconnected
remote disconnected
concurrent connections: 6
local disconnected
remote disconnected
concurrent connections: 5
local disconnected
remote disconnected
concurrent connections: 4
local disconnected
remote disconnected
concurrent connections: 3
local disconnected
remote disconnected
concurrent connections: 2
local disconnected
remote disconnected
concurrent connections: 1
local disconnected
remote disconnected
concurrent connections: 0
local connected
concurrent connections: 1
local connected
concurrent connections: 2
local connected
concurrent connections: 3
local connected
concurrent connections: 4
local error: Error: read ECONNRESET
concurrent connections: 3
local connected
concurrent connections: 4
remote github.com:443 error: Error: getaddrinfo ENOTFOUND yugoslavia.herokuapp.com yugoslavia.herokuapp.com:80
remote disconnected
concurrent connections: 3
remote clients1.google.com:443 error: Error: getaddrinfo ENOTFOUND yugoslavia.herokuapp.com yugoslavia.herokuapp.com:80
remote disconnected
concurrent connections: 2
remote clients1.google.com:443 error: Error: getaddrinfo ENOTFOUND yugoslavia.herokuapp.com yugoslavia.herokuapp.com:80
remote disconnected
concurrent connections: 1
local connected
concurrent connections: 2
local connected
concurrent connections: 3
local connected
concurrent connections: 4
npm WARN [email protected] No repository field. npm WARN [email protected] No license field.
启动本地client时出现:
node local.js -s xxx.herokuapp.com -l 1080 -m xxx -k xxx -r 80
出现:
address in use, aborting
测试了下好像不行
启动本地 client 是什么意思,我每次使用都要在git 里输入node local.js -s 你的app名称.herokuapp.com -l 1080 -m 设置的加密算法 -k 设置的密码 -r 80这个才行,我做的对吗?
我也前来感谢大神,很好用,但是也是在YouTube上看视频有点卡,但是平时谷歌什么的基本解决了
按照说明配置成功,唯一不同点是port改为1082,SwitchyOmega也改为1082(因为1080已结在别的ss中使用),无法连接成功
server listening at { address: '127.0.0.1', family: 'IPv4', port: 1082 }
local connected
concurrent connections: 1
local connected
concurrent connections: 2
local connected
concurrent connections: 3
local connected
concurrent connections: 4
local connected
concurrent connections: 5
local connected
concurrent connections: 6
local connected
concurrent connections: 7
local connected
concurrent connections: 8
local connected
concurrent connections: 9
local connected
concurrent connections: 10
local disconnected
concurrent connections: 9
local connected
concurrent connections: 10
local disconnected
concurrent connections: 9
按照您的教程做了,但是依然没有成功,是不是我heroku那边还要做什么操作啊,全程我没有看到一个地方配置账号的呢?
之前的步骤都按教主教程做好了,没也见提示出错,但在 四、启动本地 Client 最后一步 node local.js -s 你的app名称.herokuapp.com -l 1080 -m 设置的加密算法 -k 设置的密码 -r 80(已经把app名称,加密,密码都改成自己设置的了) 出错,提示这样:
module.js:472
throw err;
^
Error: Cannot find module 'ws'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (C:\Temp\shadowsocks-heroku-master\local.
js:15:15)
at Object. (C:\Temp\shadowsocks-heroku-master\local.
js:322:4)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
请问该怎么办呢?谢谢。
shadowsocks-heroku 有没有android版
因为只能pc浏览器用,想全局用和移动端用,不知道有没有转成vpn的教程
我刚按照您给的布置了heroku,在ubuntu系统下 client我用的是sslocal命令,不知道为什么,无法运行啊,在您给的命令行中 -s 是服务器地址,-l 是本地端口, -k 是密码 , -m 是加密方式 ,但是我不知道 -r 是什么意思,也不知道怎么更改,它是指服务器的端口吗?
module.js:472
throw err;
^
Error: Cannot find module 'ws'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Users/Andrew/Documents/VPN/shadowsocks-heroku/local.js:15:15)
at Object. (/Users/Andrew/Documents/VPN/shadowsocks-heroku/local.js:322:4)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
一安装就出现npm WARN [email protected] No repository field
npm WARN [email protected] No license field.
2233
and change command like this :node local.js -s 'yourappname.herokuapp.com' -l '1080' -m 'rc4-md5' -k 'yourpassword' -r 80.
npm WARN [email protected] No repository fiel
npm WARN [email protected] No license field.
window7环境
Error: Cannot find module 'ws'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (D:\heroku\local.js:15:15)
at Object. (D:\heroku\local.js:322:4)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
在不挂代理的情况下,有的线路已经无法正常登陆 heroku 的登陆页。有哪些小伙伴又跟我一样的情况吗?
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.