mrluanma / shadowsocks-heroku Goto Github PK
View Code? Open in Web Editor NEWThis project forked from shadowsocks/shadowsocks-dotcloud
shadowsocks over WebSocket, support Heroku.
License: MIT License
This project forked from shadowsocks/shadowsocks-dotcloud
shadowsocks over WebSocket, support Heroku.
License: MIT License
my item show something like this:
concurrent connections: 1
remote github.com:443 error: Error: connect ECONNREFUSED 23.23.117.76:8080
remote disconnected
concurrent connections: 0
local connected
concurrent connections: 1
remote github.com:443 error: Error: connect ECONNREFUSED 23.23.117.76:8080
remote disconnected
concurrent connections: 0
Is this only http only ? I can't browse https://google.com or any other ssl enabled sites
@mrluanma heroku ws 协议。我遇到的error是超时。更新了代码问题还是复现。
events.js:72
throw er; // Unhandled 'error' event
^
Error: read ETIMEDOUT
at errnoException (net.js:905:11)
at TCP.onread (net.js:559:19)
下面link给你参考:
http://stackoverflow.com/questions/14972106/how-to-deal-with-read-etimedout-in-node-js
Jan 08 10:55:11 warm-cliffs-8392 heroku/web.1: source=web.1 dyno=heroku.23223846.3654f538-ec7a-4036-ab26-c533467c9a8a sample#load_avg_1m=0.92 sample#load_avg_5m=0.81 sample#load_avg_15m=0.47
Jan 08 10:55:11 warm-cliffs-8392 heroku/web.1: source=web.1 dyno=heroku.23223846.3654f538-ec7a-4036-ab26-c533467c9a8a sample#memory_total=1210.76MB sample#memory_rss=512.00MB sample#memory_cache=0.00MB sample#memory_swap=698.76MB sample#memory_pgpgin=604160pages sample#memory_pgpgout=473088pages
Jan 08 10:55:11 warm-cliffs-8392 heroku/web.1: Process running mem=1210M(236.5%)
Jan 08 10:55:11 warm-cliffs-8392 heroku/web.1: Error R14 (Memory quota exceeded)
hello, thank you for this awesome app.
But I want to use it for my ipad. So, can I just use original shadow socks client for ios?
Would this be possible?
The AUR is a community-driven repository for Arch users. All Arch-like system user can install software easily by AUR.
Hey,
very nice job, got it working very quickly! Many thanks!
It's pretty fast, stable as far as I can tell.
Now I want to try to put the client on a router ;)
But oddly, it doesn't seem to work for some website.
ex: for http://www.geoiptool.com/ I get a connection reset
No error in the console though.
Do you think it could be due to the WSS protocol ?
部署到openshift后,连接到各网站都会出现类似的error:
remote www.youtube.com:443 error: server responded with an invalid protocol
@mrluanma ,求助
如题,命令行中也没有看到异常信息,页面就一直在转,直到超时。
PS:服务器端是用shadowsocks-websocket-python部署的。
node: ../src/node_zlib.cc:86: void node::ZCtx::Close(): Assertion `!write_in_progress_ && "write in progress"' failed.
[2] 8498 abort (core dumped) node github/shadowsocks-heroku/local.js
Any thoughts guys?
具体的报错信息:
const result = this.cipher.update(buf);
^
TypeError: Cannot read property 'update' of undefined
at Encryptor.encrypt (/home/better/software/shadowsocks-node/encrypt.js:165:34)
at WebSocket.<anonymous> (/home/better/software/shadowsocks-node/local.js:200:37)
at emitNone (events.js:106:13)
at WebSocket.emit (events.js:208:7)
at WebSocket.setSocket (/home/better/software/shadowsocks-node/node_modules/[email protected]@ws/lib/WebSocket.js:167:10)
at ClientRequest._req.on (/home/better/software/shadowsocks-node/node_modules/[email protected]@ws/lib/WebSocket.js:715:10)
at emitThree (events.js:136:13)
at ClientRequest.emit (events.js:217:7)
at TLSSocket.socketOnData (_http_client.js:475:11)
at emitOne (events.js:116:13)
机子的node版本为v8.12.0,系统为Ubuntu 16.04.4 LTS
我是否可以理解成,除了node local.js -s ###########
以外,
现有的其他shadowsocks client on android/ios/win/linux 均无法连接?
话说,这让我想起了JAP (https://code.google.com/p/jap/)
$ npm install
npm WARN package.json [email protected] No repository field.
\
[email protected] install d:\shadowsocks\node_modules\ws
(node-gyp rebuild 2> builderror.log) || (exit 0)
d:\shadowsocks\node_modules\ws>if not defined npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\n
pm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
MSBUILD : error MSB3411: Could not load the Visual C++ component "VCBuild.exe". If the component is not instal
led, either 1) install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5, or 2) install
Microsoft Visual Studio 2008. [d:\shadowsocks\node_modules\ws\build\binding.sln]
MSBUILD : error MSB3411: Could not load the Visual C++ component "VCBuild.exe". If the component is not instal
$
Microsoft Visual Studio 2008. [d:\shadowsocks\node_modules\ws\build\binding.sln]
[email protected] node_modules\minimist
[email protected] node_modules\ws
├── [email protected]
├── [email protected]
└── [email protected]
concurrent connections: 14
local disconnected
concurrent connections: 13
local disconnected
concurrent connections: 12
local disconnected
concurrent connections: 11
events.js:72
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at errnoException (net.js:905:11)
at TCP.onread (net.js:559:19)
我昨天更新的代码。
部署不成功,是不是网站已作了限制?
执行ss-h文件后,输出如下信息:address in use, aborting
进行到这一步npm install卡住了,我win7的,装了最新的node,求解决。。。
Hello,
shadowsocks-heroku throws this error (but continues to work):
RangeError [ERR_INVALID_OPT_VALUE]: The value "63342" is invalid for option "value"
at checkInt (buffer.js:1229:11)
at Buffer.writeInt16BE (buffer.js:1417:5)
at Socket.<anonymous> (C:\Users\olive\Documents\Programming\arcane-proxy\local.js:190:15)
at Socket.emit (events.js:159:13)
at addChunk (_stream_readable.js:265:12)
at readableAddChunk (_stream_readable.js:252:11)
at Socket.Readable.push (_stream_readable.js:209:10)
at TCP.onread (net.js:598:20)
出错信息:
events.js:141
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at exports._errnoException (util.js:855:11)
at TCP.onread (net.js:544:26)
比如配置config.json以及使用dropbox上传代码,昨天试了一下,其实有个dropbox的话,会变得非常简单。
Hi guys, I just returned to my laptop and I figured out that my bots are shut down on heroku.
I checked the logs and I found these. Can anyone help me ?
2022-06-28T11:52:00.622950+00:00 heroku[run.9633]: Cycling
2022-06-28T11:52:00.624973+00:00 heroku[run.9633]: State changed from up to complete
2022-06-28T11:52:01.234730+00:00 heroku[run.9633]: Stopping all processes with SIGTERM
2022-06-28T11:52:02.132894+00:00 heroku[run.9633]: Process exited with status 0
and this again on another bot's log:
2022-06-28T11:59:44.300112+00:00 heroku[run.8192]: Cycling
2022-06-28T11:59:44.302360+00:00 heroku[run.8192]: State changed from up to complete
2022-06-28T11:59:44.871386+00:00 heroku[run.8192]: Stopping all processes with SIGTERM
2022-06-28T11:59:45.020489+00:00 heroku[run.8192]: Process exited with status 143
I'm working on win10 64 bit
my config.json:
{
"server": "127.0.0.1",
"local_address": "127.0.0.1",
"scheme": "ws",
"local_port": 1337,
"remote_port": 80,
"password": "`try*(^^$some^$%^complex>:<>?~password/",
"timeout": 600,
"method": "rc4-md5"
}
command line:
$ node local.js -s myapp.herokuapp.com -l 1337 -m rc4 -k mykey-r 80
firefox 57 - works:
How can I get chrome working?
I frequently get this error when runing client demon with cmd node local.js -s ......
.
connecting oauth.googleusercontent.com via ws://yy-shadowsocks.herokuapp.com:80/
connecting s.ytimg.com via ws://yy-shadowsocks.herokuapp.com:80/
local disconnected
concurrent connections: 28
remote disconnected
remote disconnected
local connected
concurrent connections: 29
remote disconnected
node: ../src/node_zlib.cc:124: static void node::ZCtx::Write(const v8::FunctionCallbackInfo<v8::Value>&) [with bool async = true]: Assertion `(false) == (ctx->pending_close_ && "close is pending")' failed.
Also, I find some links that may be helpful.
websockets/ws#633
this is $ my heroku logs -t --app:
2015-01-10T22:26:44.965131+00:00 heroku[api]: Deploy 6933f9b by [email protected]
2015-01-10T22:26:44.965742+00:00 heroku[api]: Release v7 created by [email protected]
2015-01-10T22:26:45.105202+00:00 heroku[web.1]: State changed from up to starting
2015-01-10T22:26:47.200945+00:00 heroku[web.1]: Starting process with command node server.js
2015-01-10T22:26:47.965497+00:00 app[web.1]: server listening at { address: '0.0.0.0', family: 'IPv4', port: 55536 }
2015-01-10T22:26:47.218350+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2015-01-10T22:26:48.430733+00:00 heroku[web.1]: State changed from starting to up
2015-01-10T22:26:48.474124+00:00 heroku[web.1]: Process exited with status 143
that is wrong?!
Hi,
I deployed the project on heroku and it was working fine, but suddenly it stopped working. Here is the log:
concurrent connections: 1
remote 74.125.133.105:443 error: Error: getaddrinfo ENOTFOUND
concurrent connections: 0
local connected
concurrent connections: 1
remote 74.125.133.105:443 error: Error: getaddrinfo ENOTFOUND
concurrent connections: 0
local connected
concurrent connections: 1
remote 74.125.133.105:443 error: Error: getaddrinfo ENOTFOUND
concurrent connections: 0
local connected
concurrent connections: 1
remote salam.ir:80 error: Error: getaddrinfo ENOTFOUND
concurrent connections: 0
local connected
concurrent connections: 1
remote salam.ir:80 error: Error: getaddrinfo ENOTFOUND
concurrent connections: 0
local connected
concurrent connections: 1
remote 91.99.101.248:80 error: Error: getaddrinfo ENOTFOUND
concurrent connections: 0
Same thing sometimes also happens in OpenShift.
用的是自己绑的域名,用浏览器可以正常访问(内容是“asdf."),
客户端出现如下提示“remote www.google.com:443 error: Error: Hostname/IP doesn't match certificate's altnames”
请问一下是哪里出了问题,谢谢
在openshift部署好了,但是打不开https的网址,http的却没有问题,这个情况怎么解决啊?
确定服务器已经启动了,端口也设好了,什么原因啊?
Hi,
Is it possible to change remote-port from 80 to anything else ?
For example, 443 or 8080
Thanks
Hi. i follow the instructions and run:
node local.js -s pacific-thicket-42139.herokuapp.com -l 1080 -m rc4 -k foobar -r 80
This is the log:
remote www.google-analytics.com:443 error: Error: getaddrinfo ENOTFOUND pacific-thicket-42139.herokuapp.com pacific-thicket-42139.herokuapp.com:80
remote disconnected
concurrent connections: 36
remote oauth.reddit.com:443 error: Error: getaddrinfo ENOTFOUND pacific-thicket-42139.herokuapp.com pacific-thicket-42139.herokuapp.com:80
remote disconnected
concurrent connections: 35
remote duckduckgo.com:443 error: Error: getaddrinfo ENOTFOUND pacific-thicket-42139.herokuapp.com pacific-thicket-42139.herokuapp.com:80
remote disconnected
concurrent connections: 34
local connected
concurrent connections: 35
local connected
concurrent connections: 36
local connected
concurrent connections: 37
local connected
concurrent connections: 38
local connected
concurrent connections: 39
local connected
concurrent connections: 40
local disconnected
remote fonts.googleapis.com:443 error: Error: WebSocket was closed before the connection was established
Seems my isp close the connection, right?
On deploying on railway I am getting this error: Error: Unexpected server response: 403. anyway to deploy it on railway?
您好,我在国际版 Azure 网站平台上部署了这个项目,现在基本可以用了。但是,免费版的 Azure 计划限制 WebSocket 连接数仅为 5 个,而加载一个网页通常需要建立数十个连接,体验并不好。请问能否把这些连接合并为一个来减少总的连接数?谢谢!
events.js:141
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at exports._errnoException (util.js:837:11)
at TLSWrap.onread (net.js:544:26)
然后就得重新启动,怎么解决啊?
电脑上可以成功翻墙,android端按照参数配置 域名 远程端口80 本地1080 密码 & 加密方式,但无法链接成功,求解
I have deploy 50 heroku apps on a single server, which uses as many as 50 ports on the server. When I crawl some website, I should random choose ip: ports on the server. But I wanna use a reverse proxy to make a load balance with one ip:port.
I have search on the google that nginx doesn't support socks protocol. So how can I archive this?
启动本地 client后cmd上显示address in using,aborting,请问这是什么错误?
First of all, your app is really awesome. thanks very much.
secondly, is there any way to add the support for android client? can you try it out? that will be perfect. i assume a lot of people would like to see it happen here. thank you for your innovation.
Hi,
I manually deployed the code on a virtualmachine, export the needed variables and the server start successfully, using nc
i can reach the ss server.
But when launching the client, it stuck at stage0 with no error in the std log
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.