tauri-apps / tauri-apps/plugins-workspace

socks5 proxy is not supported in @tauri-apps/plugin-http

Open
#1,992 2 comments 0 reactions 0 assignees View on GitHub
plugin: http type: bug
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

This is work:

```
import { fetch } from '@tauri-apps/plugin-http';

const response = await fetch('http://google.com', {
method: 'GET',
proxy: {
all: 'http://127.0.0.1:1095'
}
});
console.log(response.status);
```

this is not work:

```
import { fetch } from '@tauri-apps/plugin-http';

const response = await fetch('http://google.com', {
method: 'GET',
proxy: {
all: 'socks5://127.0.0.1:1097'
}
});
console.log(response.status);
```

Got error in network panel (`ipc://localhost/plugin:http|fetch`):

`"builder error"`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.