DioxusLabs / DioxusLabs/dioxus

The dx cli tool throws an error when configured with a socks5 proxy.

Open
#4,944 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

The CLI tool throws an error when I configure the `http_proxy` and `https_proxy` environment variables with a URL scheme set to socks5.

**Steps To Reproduce**

Steps to reproduce the behavior:

- export http_proxy=socks5://127.0.0.1:10808
- export https_proxy=socks5://127.0.0.1:10808
- dx new hot_dog

```
$ dx new hot_dog

ERROR dx new: Please check if the Git user / repository exists.

Caused by:
unknown http scheme 'socks5'; class=Http (34)
```

**Expected behavior**

work fine

**Screenshots**

**Environment:**

- Dioxus version: main
- Rust version: rustc 1.88.0 (6b00bc388 2025-06-23)
- OS info: deepin
- App platform: desktop

**Questionnaire**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.