Giter VIP home page Giter VIP logo

Comments (4)

ohyeah521 avatar ohyeah521 commented on July 19, 2024

换个网址试试

from shadowsocks-heroku.

catdog avatar catdog commented on July 19, 2024

另外还有俩问题请教:

1.有没有办法可以改server端的port number呢?
2.目前除了rc4还支持什么加密方式?和原生ShadowSocks的加密方式都一样么?

from shadowsocks-heroku.

mrluanma avatar mrluanma commented on July 19, 2024

@catdog

$ node local.js -m rc4 -k foobar -s 'wss://asdfasdf-qwert.rhcloud.com:8443'

请把 wss 更换成 ws,8443 更换成 8000 再试一下。

remote www.google.com:443 error: Error: Hostname/IP doesn't match certificate's altnames 这个看起来是在建立 WebSocket 连接的时候证书验证失败,OpenShift 提供的证书只对 *.rhcloud.com 有效。

你方便的话邮件把你绑定域名的域名 私下邮件 告诉我一下,我验证并修复一下。

1、server 端的端口是平台规定的,不能更换。
2、支持下列的加密方式:

  • rc4
  • rc4-md5
  • table
  • bf-cfb
  • des-cfb
  • rc2-cfb
  • idea-cfb
  • seed-cfb
  • cast5-cfb
  • aes-128-cfb
  • aes-192-cfb
  • aes-256-cfb
  • camellia-256-cfb
  • camellia-192-cfb
  • camellia-128-cfb

from shadowsocks-heroku.

mrluanma avatar mrluanma commented on July 19, 2024

如果使用自定义域名设置需要 NODE_TLS_REJECT_UNAUTHORIZED 环境变量为 0 关闭证书验证。

NODE_TLS_REJECT_UNAUTHORIZED=0 node local.js -m rc4 -k foobar -s 'wss://xxxx.xxxx.com:8443'

不过最好不使用自定义域名,一是没必要,二是证书验证很重要。

from shadowsocks-heroku.

Related Issues (20)

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.