the0demiurge / charlesscripts Goto Github PK
View Code? Open in Web Editor NEWMy awesome scripts for Arch Linux or Ubuntu Gnome latest LTS or MacBook.
Home Page: https://the0demiurge.blogspot.jp/2017/02/ubuntu-gnome.html
License: Other
My awesome scripts for Arch Linux or Ubuntu Gnome latest LTS or MacBook.
Home Page: https://the0demiurge.blogspot.jp/2017/02/ubuntu-gnome.html
License: Other
酸酸乳.zip 都无法获取到怎么解
[email protected]
Hi,
I used your ssr script and the installation is success. But when I try to do ./ssr test
or ./ssr config
, there is always a error:
This is the output after execute ./ssr test
Testing Connection...
jq in use
connection information:
curl: (7) Failed to connect to localhost port 1080: Connection refused
This is the output after execute ./ssr config
IPv6 support
2019-07-04 17:08:48 ERROR daemon.py:155 not running
IPv6 support
2019-07-04 17:08:48 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0
started
Testing Connection...
jq in use
connection information:
curl: (7) Failed to connect to localhost port 1080: Connection refused
Any idea how to solve this problem?
Thanks!
在测试链接时,curl报错:curl: (52) Empty reply from server
here below is the output after inputting "ssr start" with super user privilege [the proxy info in the configure file("~/.local/share/shadowsocksr/config.json") is correct and effective for sure] :
2017-11-21 19:04:53 INFO util.py:85 loading libsodium from libsodium.so.18
started
Testing Connection...
curl: (52) Empty reply from server
您好,很感谢您分享的教程,这里有一个小问题:
如果在网络上遇到别人分享的ssr,或者自己通过剪贴板导出自己的配置,通常会导出如下格式:
ssr://aGszLmFpdHkucHJvOjQ0ODQyOmF1dGhfY2hhaW5fYTphZXMtMTI4LWN0cjp0bHMxLjJfdGlja2V0X2F1dGg6UlNGTVdFUWtkMDQvP29iZnNwYXJhbT1aRzkzYm14dllXUXVkMmx1Wkc5M2MzVndaR0YwWlM1amIy......
等,那么类似这样的编码配置信息,如何转换成config.json
中的如下配置信息呢:
{
"server": "0.0.0.0",
"server_ipv6": "::",
"server_port": 8388,
"local_address": "127.0.0.1",
"local_port": 1080,
"password": "m",
"method": "aes-128-ctr",
"protocol": "auth_aes128_md5",
"protocol_param": "",
"obfs": "tls1.2_ticket_auth_compatible",
"obfs_param": "",
"speed_limit_per_con": 0,
"speed_limit_per_user": 0,
"additional_ports" : {}, // only works under multi-user mode
"additional_ports_only" : false, // only works under multi-user mode
"timeout": 120,
"udp_timeout": 60,
"dns_ipv6": false,
"connect_verbose_info": 0,
"redirect": "",
"fast_open": false
}
I saw that akkariiin/Experimental's branch with recent updates, why we didn't use it?
I modified this:
WEBSITE=http://ss.pythonic.life
BRANCH=akkariiin/Experimental
GIT_REPO=https://github.com/shadowsocksrr/shadowsocksr.git
INSTALL_PATH=$HOME/.local/share/shadowsocksr
but there has an error.
最近无聊搞点东西,需要用到linux ssr客户端,我的系统是centos7_64,我发现运行一键脚本中61和62行会报错
61:jq ".local_port" $INSTALL_PATH/config.json
62:tsocks ping -c 5 cip.cc;
原因是centos7没有自带jq和tsocks,前者我通过从官网上下载可执行的jq,添加环境变量后解决;后者yum源没有,安装起来也很复杂,只能通过编译安装,但安装时提示缺少libtsocks.so很尴尬。
最后是通过改host解决的问题,请问老徐可以增加对centos支持吗,谢谢!
https://ss.pythonic.life/json can't replay.and ssr_test() connection information:curl: (52) Empty reply from server
after "ssr install"
post the issue
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
terminate called after throwing an instance of 'apf::JackClient::jack_error'
what(): JackClient: Unable to connect to the JACK server!
例如可以用gsettings命令将网络代理设置为手动
gsettings set org.gnome.system.proxy mode 'manual'
有些用户的local host 端口 并不一定是 1080(当然大部分的是)
ssr_test(){
echo Testing Connection...
curl cip.cc --socks5 'localhost:1080'
if [ $? == 0 ]; then echo -e '\nChecking delay...'; tsocks ping -c 5 cip.cc; fi
}
错误信息:
.local/bin/ssr: 第 13 行: [: emacsclient: 需要二元表达式
~/.bashrc:
export EDITOR="emacsclient -nw"
看起来是没有加双引号的缘故
就改了一下端口号、密码、协议,返回如下错误
Testing Connection...
curl: (52) Empty reply from server
谢谢您的分享, 但无法打开http://ss.pythonic.life
大佬,您好,今天晚上突然就不好了。配置信息完全正确,检查过很多遍。手机上用的ssr客户端还是非常快,电脑就完全连不上了
parse error: Invalid numeric literal at line 17, column 32
curl: (7) Failed to connect to localhost port 0: Connection refused
刚装的debian9.4,貌似是不能访问本地端口?
执行了SSR INSTALL
SSR CONFIG
IP : 185.173.93.100
地址 : 俄罗斯 新西伯利亚州 新西伯利亚
运营商 : clx.ru
数据二 : 俄罗斯
数据三 : 荷兰
URL : http://www.cip.cc/185.173.93.100
You may install proxychains4 and configure it properly to test net delay
[root@localhost pei2]# ping www.google.com
PING www.google.com (31.13.73.17) 56(84) bytes of data.
^C
--- www.google.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9000ms
ssr config File configuration
{
"server": "144.34.130.252",
"server_ipv6": "::",
"server_port": 443,
"local_address": "127.0.0.1",
"local_port": 1080,
"password": "0EnvPk6moOXC",
"method": "aes-128-cfb,
"protocol": "auth_aes128_md5",
"protocol_param": "",
"obfs": "tls1.2_ticket_auth_compatible",
"obfs_param": "",
"speed_limit_per_con": 0,
"speed_limit_per_user": 0,
"additional_ports" : {},
"additional_ports_only" :false,
"timeout": 120,
"udp_timeout": 60,
"dns_ipv6": false,
"connect_verbose_info": 0,
"redirect": "",
"fast_open": false
}
Checking delay...
ERROR: ld.so: object 'libtsocks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
I can successfully use the script to connect my ssr server and open the out of wall website. But the question is, after some minutes, if I try to call "ssr stop" it doesn't work and say
cd: /home/myID/.local/share/shadowsocksr/shadowsocks/: 没有那个文件或目录
seems that the dir has been removed? But I never do that, can you help me with it? I don't want to reinstall the ssr server every time I reboot my PC.
Thanks
master@master:~$ sudo ssr config
IPv6 support
2018-01-12 20:58:03 ERROR daemon.py:155 not running
IPv6 support
2018-01-12 20:58:03 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0
started
测试时:
master@master:~$ ssr test
Testing Connection...
curl: (52) Empty reply from server
查看log:
2018-01-12 20:58:03 INFO local.py:50 local start with protocol[auth_aes128_md5] password [5NLxxxxxx] method [aes-256-cfb] obfs [tls1.2_ticket_auth] obfs_param []
2018-01-12 20:58:03 INFO local.py:54 starting local at 127.0.0.1:1080
2018-01-12 20:58:03 INFO asyncdns.py:324 dns server: [('127.0.1.1', 53)]
2018-01-12 20:59:38 ERROR tcprelay.py:1039 [Errno 111] Connection refused
2018-01-12 20:59:38 ERROR tcprelay.py:1041 remote error, when connect to xxxxxxxxx:80
请问这是什么问题?
账号在windows下用SSR客户端是可以直接用的。
ERROR encrypt.py:94 method aes-256-gcm not supported
不愧是我家男人~(≧▽≦)/~
ERROR: ld.so: object 'libtsocks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
查看了日志之后,发现是这个错误,请问如何解决,谢谢。
root@avepoint:~/.local/share/shadowsocksr# ssr config
IPv6 support
stopped
IPv6 support
2019-07-01 11:02:06 INFO util.py:85 loading libcrypto from libcrypto.so.1.1
started
Testing Connection...
jq in use
connection information:
curl: (52) Empty reply from server
shadowsocksr.log会报如下错误:
2019-07-01 11:02:06 INFO local.py:50 local start with protocol[auth_sha1_v4_compatible] password [xxxxxxxx] method [aes-256-cfb] obfs [http_simple_compatible] obfs_param []
2019-07-01 11:02:06 INFO local.py:54 starting local at 127.0.0.1:1080
2019-07-01 11:02:06 INFO asyncdns.py:324 dns server: [('127.0.0.53', 53)]
2019-07-01 11:02:07 INFO tcprelay.py:643 TCP request 216.239.34.21:80 by user 1080
2019-07-01 11:02:07 INFO tcprelay.py:794 TCP connecting 216.239.34.21(52.221.177.46):80 from 10.1.52.13:45090 by user 1080
会报这个错误,请问我还可以看哪里的log来定位问题,现在这些信息不够定位问题。
ssr config后终端能走代理吗 我这测试看起来是没走得
作者可否加个判断 ,是否机子上已经装过 tsock ? 如果没安装 提示user 运行 apt-get install tsocks ?
启动ss报下面问题:
IPv6 support
started
Testing Connection...
curl: (7) couldn't connect to host
下面是日志,看上去并没有报错
2018-01-08 14:45:58 INFO local.py:50 local start with protocol[origin] password [john...ll@#$%$^%&^*^@$Ddgd] method [none] obfs [tls1.2_ticket_auth] obfs_param []
2018-01-08 14:45:58 INFO local.py:54 starting local at 127.0.0.1:1080
2018-01-08 14:45:58 INFO asyncdns.py:324 dns server: [('192.168.1.1', 53), ('114.114.114.114', 53)]
root@ziyan:# ssr config#
IPv6 support
stopped
IPv6 support
2019-09-04 19:50:56 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0
started
Testing Connection...
jq in use
parse error: Invalid numeric literal at line 16, column 32
root@ziyan:
ssr.sh config
执行结果:
curl: (52) Empty reply from server
看样子连上了,但是设置代理后,仍然无法访问google。
PS:同样的SSR客户端配置,在windws可以,在ubuntu16.04失败了,因为我用的双系统。
2019-06-30 00:12:24 ERROR shell.py:50 [Errno 2] No such file or directory: '/home/thepoy/.local/share/shadowsocksr/ssr.pid'
2019-06-30 00:12:24 ERROR daemon.py:146 not running
IPv6 support
2019-06-30 00:12:25 INFO util.py:85 loading libcrypto from libcrypto.so.1.1
started
Testing Connection...
jq in use
parse error: Invalid numeric literal at line 17, column 32
打扰您,在操作过程中,遇到这个问题。请问您知道是什么原因么
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.