Proxy relevant
Tag: Ruby
Tag: Rails
Category: jekyll
Category: update
Category: git
Category: database
Category: PostgreSQL
Category: websocket
Category: ruby
Category: projects
Category: Redis
Category: mysql
Category: Mac
Category: Node
Category: NPM
Category: PM2
Category: nodejs
Category: Meteor
Category: Nginx
Category: gitLab
Category: Rails
- Why Ruby on Rails is better than Python Django?
- How to use Hotwire turbo in Rails 6 with Webpacker?
- Rails 6 Credentials (master.key and credentials.yml.enc)
- Rails Console
- JIRA-Atlassian-Connect-App-Django
- Rails 4 5.0 Session Cookie AuthenticityToken
- Rails Active Storage
- Rails 5 Source code Research
- 微信支付
- Rails零星笔记
Category: Homebrew
Category: CentOS
Category: FreeSwitch
Category: Ruby
- Ruby on Rails 8
- RESTful API
- Ruby on Rails 7
- Study from Ruby official website
- Ruby-Metaprogramming
- Ruby连数据库的问题
- rbenv使用
Category: Vim
Category: javascript
Category: React-Native
Category: Wechat
Category: homeland
Category: JavaScript
Category: Docker
Category: RubyMine
Category: Authorization
Category: RESTful-API
Category: Proxy
Category: Deploy
Category: Devise
Category: Bootstrap
Category: Active_Storage
Category: github
Category: Android
Category: cloud
Category: ssh
Category: python
Category: reactjs
Category: markdown
Category: ShadowSocks
Category: Code
Category: rails
Category: code
Category: Django
Category: Python
Category: DRF
Category: Fish
Category: Yarn
Category: Material-UI
Category: CSS
Category: aws
Category: uwsgi
Category: nginx
Category: docker
Category: React
Category: Enzyme
Category: Jira
Category: Interview
Category: JetBrain
Category: PyCharm
Category: ESLint
Category: Rails6
Category: NVM
Category: ssl
Category: tencent
Category: CI
Category: jenkins
Category: GitHub
Category: Credentials
Category: master.key
Category: Webpacker
Category: Turbo
Category: Hotwire
Category: Bootstrap5
Category: Flutter
Category: Clash
Category: Tor
Category: proxy
Category: Build
Category: SwitchyOmega
Category: Chrome-extension
Category: SQLAlchemy
Category: Algorithm
Category: Rails7
Category: Data
Category: Structure
Category: CPP
Category: Languages
Category: Golang
Category: Typescript
Category: Rails 8
What is browser fingerprinting
Network errors
- Run
curl -x "socks5://198.1.1.1:9999" "https://www.google.com/"
got error:curl: (97) SOCKS5 reply has wrong version, version should be 5.
This is a network issue. You can switch to another WIFI connection.
Run:
pip3 install requests
pip3 install PySocks
python3
then run:
import requests
socks5 = "socks5://198.1.1.1:9999"
proxy = dict(http=socks5, https=socks5)
res = requests.get('https://google.com', timeout=5, proxies=proxy)
res.content
Got error:
MaxRetryError: SOCKSHTTPSConnectionPool(host='google.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x108a61810>: Failed to establish a new connection: SOCKS5 proxy server sent invalid data'))
This is also a network issue (The same as the curl
example. You can switch to another WIFI connection.)
Clash
Clash pro
Clash pro has limited feature. I prefer to use Clash for windows
.
For x86 Intel CPU of Macbook,
- Click
Config - Remote config - Manage -Add
. ForUrl
, input a valid url, then click theOK
button. - If the Url is valid, you should see that there would be a list of proxy there if you click
Dashboard
. - Then click
Set as system proxy
(you canWifi - Network preferences - Advanced - Proxies
) to checkWeb Proxy, Secure Web Proxy, SOCKS Proxy)
.
Clash for windows
- Visit clash_for_windows_pkg/releases, for x86 Intel CPU of Macbook, you can download the Clash.for.Windows-0.20.3.dmg
- Click
Profiles
, enter the URL and clickDownload
. - Click
General
, set thePort
as7890
. Then clickSystem Proxy
to enable it. Now you can try to open a web browser and test if you can visit google.com to verify your proxy. You should be able to visit google.com, but your browser started via puppeteer may still can not visit google.com. Then it is time to enableTUN Mode
. -
Click
General
, then clickTUN Mode
to enable it. Then verify your browser started via puppeteer again. You should be able to visit google.com. - References: https://www.youtube.com/watch?v=h4Js3gBRzwU
About TUN.
This solution can make which shadowSocks could not make because shadowSocks doesn’t support TUN mode
.