mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

The token sometimes invalid and sometimes uninvalid . In China

Open weacw opened this issue 8 years ago • 6 comments

Note: If this is a bug or support ticket, please provide the following information:

  • Unity version: 2018.1.3f1
    • Scripting Runtime Version: 4.6
    • Scripting Backend: IL2CPP
    • Api Compatibility Level: .Net2 subset
  • Mapbox SDK version: 1.43
  • The platform you're building to:iOS

The token sometimes invalid and sometimes uninvalid . In China!

weacw avatar Jul 04 '18 13:07 weacw

Does this happen on and off with the same token? Do you have a reliable way to reproduce this? If so please let us know.

jordy-isaac avatar Jul 06 '18 17:07 jordy-isaac

@jordy-isaac Hi, jordy Thank you for your reply. I can screenshot for you.I think this may be a problem with the Chinese network.

image

image

--

Log:

Mapbox.Unity.MapboxAccess+InvalidTokenException: StatusNotYetSet UnityEngine.Debug:LogError(Object) Mapbox.Unity.c__AnonStorey0:<>m__0(MapboxToken) (at Assets/Mapbox/Unity/MapboxAccess.cs:99) Mapbox.Tokens.c__AnonStorey0:<>m__0(Response) (at Assets/Mapbox/Core/mapbox-sdk-cs/Tokens/MapboxTokenApi.cs:59) Mapbox.Platform.c__AnonStorey1:<>m__0(Response) (at Assets/Mapbox/Core/mapbox-sdk-cs/Platform/FileSource.cs:136) Mapbox.Unity.Utilities.c__Iterator0:MoveNext() (at Assets/Mapbox/Unity/Utilities/HTTPRequest.cs:96) Mapbox.Unity.Utilities.Routine:MoveNext() (at Assets/Mapbox/Unity/Utilities/Runnable.cs:130) Mapbox.Unity.Utilities.Runnable:UpdateRoutines() (at Assets/Mapbox/Unity/Utilities/Runnable.cs:168) Mapbox.Unity.Utilities.Runnable:UpdateRunnable() (at Assets/Mapbox/Unity/Utilities/Runnable.cs:90) UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

weacw avatar Jul 07 '18 02:07 weacw

Thanks for the additional info. @jim-martin might have some ideas for you.

jordy-isaac avatar Jul 11 '18 19:07 jordy-isaac

Hi @weacw, can you share any other information about when this issue occurs? Are there differences in your network setup between the two screenshots you shared?

jim-martin avatar Jul 25 '18 20:07 jim-martin

Hi @jim-martin , Thank you for your reply.

can you share any other information about when this issue occurs?

Unitypackage downloaded from the maobox website, enter the key, can be used for the first time, but can not be used after a few minutes.

Are there differences in your network setup between the two screenshots you shared?

There is no difference in the network.

I am in China, Sometimes it can't be used after a while.

weacw avatar Jul 26 '18 15:07 weacw

I am in China. However, I have the lantern on and can access google. Why is it still blocked?

chenaptx avatar Jan 26 '19 10:01 chenaptx