Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse client config failed decoding:\n\n* 'obfs' expected a map #1142

Open
H1-N1 opened this issue Jul 5, 2024 · 6 comments
Open

parse client config failed decoding:\n\n* 'obfs' expected a map #1142

H1-N1 opened this issue Jul 5, 2024 · 6 comments

Comments

@H1-N1
Copy link

H1-N1 commented Jul 5, 2024

hi.
igot this error when running hysteria in client mode
failed to parse client config {"error": "1 error(s) decoding:\n\n* 'obfs' expected a map, got 'string'"}
config:

{
  "server": "serverip:20000-50000",
  "auth": "asdff==",
  "obfs": "Aqw=",
  "up_mbps": 1,
  "down_mbps": 1,
  "retry": -1,
  "retry_interval": 1,
  "socks5": {
  "listen": "127.0.0.1:10802"
  },
  "http": {
  "listen": "127.0.0.1:1080"
  },
  "insecure": true,
  "ca": "",
  "recv_window_conn": 196608,
  "recv_window": 491520
}

also how can i add tun mode to the config ?
thanks

@haruue
Copy link
Collaborator

haruue commented Jul 5, 2024

Hello,

It looks like you are running Hysteria 2 with a Hysteria 1 config file.

Please have a look at the Hysteria 2 config guide: https://hysteria.network/docs/getting-started/Client/

@H1-N1
Copy link
Author

H1-N1 commented Jul 5, 2024

Hello,

It looks like you are running Hysteria 2 with a Hysteria 1 config file.

Please have a look at the Hysteria 2 config guide: https://hysteria.network/docs/getting-started/Client/

ok i will check this
another proplem is this gonfig work with
Version: v1.3.2

but the exposed proxy work only with curl but not global proxy nor any proxy app
can you help pls

@tobyxdd
Copy link
Collaborator

tobyxdd commented Jul 5, 2024

"does not work" is not a valid description. Be more specific about the problem you are having

@H1-N1
Copy link
Author

H1-N1 commented Jul 5, 2024

"does not work" is not a valid description. Be more specific about the problem you are having

in wnindow log i get
2024-07-06T00:44:13+01:00 [INFO] [src:127.0.0.1:64100] [dst:www.youtube.com:443] [error:connection rejected: host resolution failure] SOCKS5 TCP error

now the message not showing but still no internet when i set the global proxy
but when i test with curl with --socks5 argument it return the data (ipinfo)

@tobyxdd
Copy link
Collaborator

tobyxdd commented Jul 9, 2024

have you tested www.youtube.com with curl? this looks like a DNS problem

@H1-N1
Copy link
Author

H1-N1 commented Sep 29, 2024

IMG_20240929_182911_464

have you tested www.youtube.com with curl? this looks like a DNS problem

using curl or invoke-webrequest i can retrieve the webpage
but browser no internet
another thing im using hysteria v1 for free internet
that mean a have no load no data plan
in android it work but windows with global proxy no
but when im connected with data plan then all work
as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants