Giter VIP home page Giter VIP logo

shadowsocks-heroku's People

Contributors

bigbagboom avatar clowwindy avatar hackinggate avatar librehat avatar mrluanma avatar olliecheng avatar xtons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shadowsocks-heroku's Issues

ECONNREFUSED

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

Error R14 (Memory quota exceeded)

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) 

can ios use this shadowsocks

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?

Add it into AUR

The AUR is a community-driven repository for Arch users. All Arch-like system user can install software easily by AUR.

works very well, but not for all website?

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 ?

Client crash

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?

求教,node local.js后,请求网址时报 Cannot read property 'update' of undefined

具体的报错信息:

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

npm install 出错,缺少Visual Studio 2008??

$ 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]

bugs

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)

我昨天更新的代码。

openshift

部署不成功,是不是网站已作了限制?

RangeError: The value "63342" is invalid

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)

Stopping all processes with SIGTERM

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

works on firefox but not chrome

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:

capture1

chrome 63 -- does not work
capture

How can I get chrome working?

node_zlib.cc:124: static void node::ZCtx::Write(const v8::FunctionCallbackInfo<v8::Value>&)

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

Stopping all processes with SIGTERM

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?!

remote [IP] error: Error: getaddrinfo ENOTFOUND

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.

没法翻墙啊

确定服务器已经启动了,端口也设好了,什么原因啊?

Error: WebSocket was closed before the connection

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?

Can I deploy it on Railway?

On deploying on railway I am getting this error: Error: Unexpected server response: 403. anyway to deploy it on railway?

关于连接复用的想法

您好,我在国际版 Azure 网站平台上部署了这个项目,现在基本可以用了。但是,免费版的 Azure 计划限制 WebSocket 连接数仅为 5 个,而加载一个网页通常需要建立数十个连接,体验并不好。请问能否把这些连接合并为一个来减少总的连接数?谢谢!

How to use a reversed proxy like nginx or haproxy to proxy multiple socks5 proxy?

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?

mrluanma, can you please add the support for android client?

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.

client stuck at stage 0 under Mac OSX

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.