Skip to content

代理添加不行 #14375

@sherlcok314159

Description

@sherlcok314159

Routes

twitter/user/_akhaliq

Full routes

no

Related documentation

https://docs.rsshub.app/zh/install/config#%E4%BB%A3%E7%90%86%E9%85%8D%E7%BD%AE

What is expected?

正常运行

What is actually happening?

无论是 http 在 7890,还是 socks 在 7891,均是一样的结果

image

Deployment information

Self-hosted

Deployment information (for self-hosted)

OS: Ubuntu 20.04; Docker: 24.0.6, build ed223bc

Additional info

docker-compose.yml 如下,config.yaml 是没问题的


version: '3'

services:
    clash:
        image: dreamacro/clash
        restart: always
        ports:
            - "5090:9090"
            - "5890:7890"
            - "5891:7891"
        volumes:
            - ./config.yaml:/root/.config/clash/config.yaml

    rsshub:
        # two ways to enable puppeteer:
        # * comment out marked lines, then use this image instead: diygod/rsshub:chromium-bundled
        # * (consumes more disk space and memory) leave everything unchanged
        image: diygod/rsshub
        restart: always
        ports:
            - '1200:1200'
        environment:
            NODE_ENV: production
            CACHE_TYPE: redis
            REDIS_URL: 'redis://redis:6379/'
            PUPPETEER_WS_ENDPOINT: 'ws://browserless:3000' # marked
            # 以下两种都试过,不行
            PROXY_URI: "socks://clash:7891" # 代理,若不使用代理则去掉代理相关配置
            PROXY_URI: "http://clash:7890" # 代理,若不使用代理则去掉代理相关配置
        depends_on:
            - clash
            - redis
            - browserless # marked

    browserless:
        # marked
        image: browserless/chrome # marked
        restart: always # marked
        ulimits:
            # marked
            core:
                # marked
                hard: 0 # marked
                soft: 0 # marked
        depends_on:
            - clash
    redis:
        image: redis:alpine
        restart: always
        volumes:
            - redis-data:/data

volumes:
    redis-data:

This is not a duplicated issue

  • I have searched existing issues to ensure this bug has not already been reported

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions