tauri-apps / tauri-apps/plugins-workspace
socks5 proxy is not supported in @tauri-apps/plugin-http
Open
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
Assessment
This issue has not been assessed yet.