cernekee / ics-openconnect

Android UI for OpenConnect VPN client
GNU General Public License v2.0
358 stars 129 forks source link

does not work with my build #38

Open reza-souri opened 5 years ago

reza-souri commented 5 years ago

I have an open connect server that work perfectly fine when i use the App downloaded from google play. and the Log is OK.

but wen I build the App get connect to the server but the Log is like this: after establishing DTLS connection initiating IPv4 MTU detection (min=717, max=1434) time out while waiting for DPD response; trying 1076 //couple more time out error and then Too long time in MTU detect loop //then the Log goes crazy and show infinite of this error: Unknown DTLS packet type ... , len ...

and cant use nothing except google and telegram. I use windows so I have to use the ./misc/download-artifacts.sh I think maybe artifact causing the problem.

please help me should I use linux? do you think that solve the problem?

cernekee commented 5 years ago

Could be a regression in libopenconnect. Can you connect from a Linux VM using the latest openconnect command line client to see if the infradead.org master branch is able to talk to this gateway?

If the openconnect master branch from infradead.org works OK, I'll update the libopenconnect artifacts to use that version and we can retest. If the master branch is broken on both Linux and Android, we'll probably want to bisect it to see why the old library works but the latest version doesn't.

What is the server type?

reza-souri commented 5 years ago

@cernekee I dont know if it was last version or what. but I use: sudo apt install openconnect and it works perfectly fine with the infradead.org that you have been asking for.
now what should I do?

tomcat-f14 commented 5 years ago

@cernekee I have the same problem. I think you should update download files in artifacts

cernekee commented 5 years ago

I uploaded some new artifacts on Oct 16th (based on infradead's openconnect master from Aug 15th). Do those help? I'll update to 8.00 once it's released.

reza-souri commented 5 years ago

@cernekee I build once more its like nothing change at all i keep getting same errors from the log. I think its better to put artifacts exact version in the app from google play. I will send you the server details in gmail so you can test it your self. screenshot_20181019-203327

reza-souri commented 5 years ago

@cernekee
I have done some new test and turns out with the new artifacts the App works fine with sim card cellular data. and you only get > Unknown DTLS packet type < error when using WiFi on some devices.

lnpusong123 commented 5 years ago

screenshot_2018-12-03-22-02-18-155_app openconnec Hi, I encounter the same problem, I use the new artifacts in the sample app. In my home WiFi, it can connect, but I cannot access Internet. Anything else, the GP version works fine in my home WiFi. Please help me.

reza-souri commented 5 years ago

screenshot_2018-12-03-22-02-18-155_app openconnec Hi, I encounter the same problem, I use the new artifacts in the sample app. In my home WiFi, it can connect, but I cannot access Internet. Anything else, the GP version works fine in my home WiFi. Please help me.

reza-souri commented 5 years ago

@lnpusong123 send him your server ip and password to his Gmail. may be hi can run some test and finally fix it.