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

how to choose easyconnect version,both error #346

Open
wonb168 opened this issue May 6, 2024 · 12 comments
Open

how to choose easyconnect version,both error #346

wonb168 opened this issue May 6, 2024 · 12 comments

Comments

@wonb168
Copy link

wonb168 commented May 6, 2024

docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=xxxx -v $HOME/.ecdata:/root -p 127.0.0.1:5901:5901 -p 127.0.0.1:1080:1080 hagb/docker-easyconnect:7.6.7

then vnc connect:

The VPN server software is too low and does not support downloading client.

If change to 7.6.3,then

The EasyConnect version is not consistent with server version. Please update the client.

My machine is mac mini m2,
and the remote connect version is 7.6.6
how to do?

@Hagb
Copy link
Collaborator

Hagb commented May 6, 2024

Referring to FAQ, try to add -e DISABLE_PKG_VERSION_XML=1 argument

@wonb168
Copy link
Author

wonb168 commented May 7, 2024

I add, but still error:

docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=xxxx -v $HOME/.ecdata:/root -p 127.0.0.1:5901:5901 -p 127.0.0.1:1080:1080 -e DISABLE_PKG_VERSION_XML=1 hagb/docker-easyconnect:7.6.7

当前连接的vpn设备版本过低,且不支持客户端下载 (use 7.6.7)
If use 7.6.3:

The EasyConnect version is not consistent with server version. Please update the client.

@Hagb
Copy link
Collaborator

Hagb commented May 7, 2024

  1. What is the content of the url https://THE-SERVER/por/ec_pkg.csp?platform=linux? It should tell you whether 7.6.3 or 7.6.7 should be used. If it returns 404, it is probably an old version of EasyConnect server that requires the old java-based client.
  2. docker pull hagb/docker-easyconnect:7.6.X (X can be got from step 1), and try to run the container again. If there is still the problem, compare the DIGEST field of docker image ls hagb/docker-easyconnect with the one on dockerhub.

@wonb168
Copy link
Author

wonb168 commented May 8, 2024

https://THE-SERVER/por/ec_pkg.csp?platform=linux

what's the THE-SERVER?
I tested vpn.pbwear.com

https://vpn.pbwear.com/por/ec_pkg.csp?platform=linux

or 127.0.0.1,
嗯… 无法访问此页面127.0.0.1 已拒绝连接。

@Hagb
Copy link
Collaborator

Hagb commented May 8, 2024

what's the THE-SERVER?

The EasyConnect server which you want to connect to

@wonb168
Copy link
Author

wonb168 commented May 8, 2024

https://vpn.pbwear.com/por/ec_pkg.csp?platform=linux

vpn.pbwear.com,I want to connect,but...
image

@Hagb
Copy link
Collaborator

Hagb commented May 8, 2024

The port should also be added if it is not the standard one (443).

@wonb168
Copy link
Author

wonb168 commented May 9, 2024

my pc is mac mini m2, and want to connect https://vpn.pbwear.com,
how to choose the version of easyconnect, the port is default 443.

@wonb168
Copy link
Author

wonb168 commented May 9, 2024

image
I change another vpn:
The requested URL /por/ec_pkg.csp was not found on this server.

@Hagb
Copy link
Collaborator

Hagb commented May 9, 2024

my pc is mac mini m2, and want to connect https://vpn.pbwear.com, how to choose the version of easyconnect, the port is default 443.

well i cannot connect to this server. are you sure it is an EasyConnect server?

@Hagb
Copy link
Collaborator

Hagb commented May 9, 2024

The requested URL /por/ec_pkg.csp was not found on this server.

the only explanation i can give is that it is either an older EasyConnect server using java client or simply not an EasyConnect server.

@wonb168
Copy link
Author

wonb168 commented May 9, 2024

?

yes,if I connect it in parrelldesktop,it's OK,

https://[vpn.pbwear.com](https://vpn.pbwear.com/por/shortcut.csp?type=cs&destUrl=service.csp&id=1906b78d296dbed4&autoOpen=1&is_reminded=1)/por/shortcut.csp?type=cs&destUrl=service.csp&id=1906b78d296dbed4&autoOpen=1&is_reminded=1

image
image

but I want to use docker-connect tiny。
both OK in PD win11 easyconnect:
vpn.pbwear.com
wt.tlsoft360.cn

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

2 participants