Join now - be part of our community!

VPN: Xperia Z don't connect, S3 mini does

SOLVED
profile.country.FR.title
cool_raoul
Member

VPN: Xperia Z don't connect, S3 mini does

Since I had my Z I never been able to connect to my home NAS VPN server using built-in L2TP/IPsec profile.

It stays in "connecting state" for a long time then goes back to "disconnected" state

Today, I had the opportunity to test Samsung Salaxy S3 mini.

Using *exactly* the same settings, i've been able to connect straight away.

How can this be possible?

Any tip to make have my Z connect like the S3?

1 ACCEPTED SOLUTION

Accepted Solutions
Rickard
Master

We got a test account from another user with this issue and have found the cause of this. It will be fixed in an upcoming software update.

View solution in original post

15 REPLIES 15
Bandolero
Contributor

Is your stamina mode on?

profile.country.FR.title
cool_raoul
Member


@Bandolero wrote:

Is your stamina mode on?


It's not.

Anyway, I  don't see the point there: Stamina applies only when screen is *off*:

(ref: http://developer.sonymobile.com/2013/04/03/how-sonys-battery-stamina-mode-works/)

"STAMINA Mode turned on, the background activities of most applications are reduced when you turn off the screen"

and the failed connection attemps are made with screen on.

profile.country.FR.title
cool_raoul
Member

I have been able to test with a Galaxy S4 and a LG G3 (both running same android version as Xperia Z: 4.4.2): both ar able to connect!

 **edit**

both other phones are using the same mobile operator and data plan as mine. So it's not a protocol filtering issue.

profile.country.FR.title
cool_raoul
Member

A member of another forum has been able to connect succesfully with an Xperia Z1 which was still using 4.3 firmware

Then he has updated his phone to latest availlable firmware (4.4.4) and after that has been unable to connect.

I'm guessing there's a flaw introduced by Sony port of android VPN Implementation after kitkat.

Note: I just remembered that, when my phone was still under 4.3, I had a misconfiguration of my router port forwarding.

This explain why I have been unable to connect previously.

Bandolero
Contributor

Not sure why, you can't get it work. Maybe your pre-share key for security is not correct and etc. But for my XPeria Z works flawlessly.

You may want to check with the ISP of your VPN to see if they require any specific authentication to secure the connection successfully.

Screenshot_2014-09-04-03-09-11[1].png   Screenshot_2014-09-04-03-09-26[1].png    Screenshot_2014-09-04-03-09-32[1].png

profile.country.FR.title
cool_raoul
Member


@Bandolero wrote:

Not sure why, you can't get it work. Maybe your pre-share key for security is not correct and etc.


You should imagine that double checking PSK correctness has been the first thing I've done. And, in any cases, how could it be possible to make systematic typing errors when using Sony phones and not with other brands?

So far this has been working on 4 different brand *non Sony* phones.

Only *one* Xperia among 5 (2 Z, 2 Z2 and a Z1 compact) has been able to connect, the one which was running android 4.3. 

As soon as it hat been upgraded to kitkat, it hasn't been able to connect too.

How could this be explained by a PSK typing error?


But for my XPeria Z works flawlessly.

You haven't be able to check to connect to the same VPN as I do. BTW, It's the VPN server buldled in all Synology NAS devices. And not en exotic one : Openswan, the de facto stanrard on majority of Linux Systems.

I can send you connections settings details in PM, you would be able to make the test by yourself in the same conditions.


You may want to check with the ISP of your VPN to see if they require any specific authentication to secure the connection successfully.



Don't forget that, as specified in my 1st messages, I'm using my own private personal VPN server.

Bandolero
Contributor

lol My apologies, i miss out that NAS server. But your port forwarding is done and other device seems to work well. That should be a problem, aside from not being able to connect any error prompt?

profile.country.FR.title
cool_raoul
Member


@Bandolero wrote:

 aside from not being able to connect any error prompt?


No prompt on client side but server log contains a lot of (probaly useful) information (for successful connections too) which unfortunately I'm unable to interpret 

Christian45
Visitor

Hi everybody,

Same exact problem here and it doesn't seem to be an xperia issue. Can connect to my home vpn with every other device except a specific vodafone branded cellphone running kitkat. I can even connect when tethering from this very cellphone with my android tablet. Needless to say I'm using the same credentials on every device, run numerous tests, created new vpn accounts, etc. 

The connection is blocked right from the start. It doesn't even reach the server. Now, it has to be some silly permission setting that has been overlooked. Will post here if I find a solution.

Regards