Hi,
I'm using Playfab+Unity and i'm getting error 1123 on android devices. Can you proved info of how to solve this issue.?
Ty
Hi,
I'm using Playfab+Unity and i'm getting error 1123 on android devices. Can you proved info of how to solve this issue.?
Ty
I just got more info about this bug.
This bug happens when I try to call LoginWithFacebook or LoginWithCustomID. It was working 2 days ago, but since yesterday i'm getting this error every time i try to login.
Note: We didn't change anything in our side that could cause this issue.
Note2: We are using Unity Playfab SDK
Changing the PlayFab code is not necessary. If you look 3 lines up from your change, you see we already made that option available to you. You can set it multiple ways:
As far as errors when you use WWW:
What version of Unity are you using?
What version of our SDK are you using?
Since you say the error happens on login, I assume that you can't make ANY calls with WWW, but I'd like you to confirm that.
Can you post any error logs, or tracebacks with this error? For android, you should be able to get logs using ADB or Android Studio.
What version of Unity are you using?
Unity 2017.2.0f3
What version of our SDK are you using?
I don't know where i can find this info, but I updated playfab last week.
Since you say the error happens on login, I assume that you can't make ANY calls with WWW, but I'd like you to confirm that.
The error is happening in the login, so there's no other playfab call.
Can you post any error logs, or tracebacks with this error? For android, you should be able to get logs using ADB or Android Studio.
I checked the log and there's no info.(Even in the log without the unity filter.)
Also, everything is working properly now after this change.
But if you want any other info to understand better what happened you can ask me :)
UnityWWW is the default option because we consider it to be the more stable and preferrable choice. If you have found an error with it, we'd like to resolve it.
If you're willing, please change it back to WWW, and give us an ADB log of the exception when it's NOT fixed.
So, error 1123 is "ServiceUnavailable". One possibility would be the error from this post: https://community.playfab.com/questions/12034/why-do-i-get-error-code-1123-failed-to-connect-to.html. If that's not the issue you're encountering, can you get a Wireshark capture with the SSL packets decrypted (https://wiki.wireshark.org/SSL#Complete_SSL_decryption_walk_through) and send that to us, so that we can have a look?
I'll try to get this wireshark capture.
But what is really strange is that this issue is happening only in android devices. I don't get this issue on unity editor and ios.
Agreed that's odd, but without seeing the actual requests/responses, it's impossible to say what the cause is. The capture should help to clarify this.
Brendan,
How can I decrypt the ssl server if I don't have access to the ssl key you use in your webserver?
The guide you sent me is using an a local key with a local server, i've researched about it and i can't do it without the webserver private key:
"You're asking: "How can I decrypt arbitrary TLS-protected TCP traffic without the private key."
The answer is, of course, you cannot do that. That's why anyone uses TLS to begin with."
https://stackoverflow.com/questions/23661928/tools-like-fiddler-for-ssl-encrypted-tcp-traffic
Can i send you the current apk of the project or the encrypted data?
I think a normal Unity/C# stacktrace would be a more useful to start with. We don't even know where the failure is happening. Perhaps it's not even making the call.
We found out a workaround to solve the issue. It seems to be a problem with "PlayFabWww", because the error was solved after i forced to use "PlayFabWebRequest".
Below, you can find the line we added to solve the issue.
Should we revert from 2017.2 or the issue will be fixed soon enough. HttpWebRequest is not always as stable as WWW or at least was not when we tried it about a year ago
We are aware of a performance issue with HttpWebRequest when building a GameServer, or a client process that has been running constantly for a very long time (>24 hours). This has not yet been fixed.
There should be no issues with UnityWWW. If you find an issue, please report it, along with a stacktrace, and any debug information you can discover.
If you are using the latest PlayFab UnitySdk version, there should be no issues which are dependent on your version of Unity. You can use any version of Unity. If you find an issue based on a specific Unity version, please report it, along with a stacktrace, and any debug information you can discover.
Your first step should be to update to the latest version of the PlayFab UnitySDK:
via our Editor Extensions Panel: https://api.playfab.com/downloads/unity-edex
via direct unityPackage download: https://api.playfab.com/downloads/unity-v2ap
Hope it can help you too.
PlayFabSharedSettings
@icaro many thanks but mine is identical to you and i get NullReferenceException when calling login, Strangely it seems another call of mine which is reading from title data can call (it returns an error since I'm not logged in)
Without a stack trace, it's hard to verify.
However, this sounds like a Unity issue that we've already worked-around:
https://community.playfab.com/questions/14434/unity-login-eror.html
@Paul Gilmore
Attached is a log for a Unity WWW usage in 2017.2
Also using HttpWebRequest is very unstable in 2017.2 and fails once per couple of requests.
Regarding the log there seem to be a NullReference Exception when using WWW
Also I am calling a read operation of title data without checking I'm logged in or not and that request seem to be sent and receives a correct error response saying I'm not logged in.
Hope this helps. Please let me know what should be done. Seems a WWW regression on Android to me.
From this log I can verify it's EXACTLY the issue we've already fixed.
Update your PlayFab UnitySDK to the latest version and you'll be fixed.
6 People are following this question.