projectkudu / AzureResourceExplorer

Azure Resource Explorer - a site to explore and manage your ARM resources in style
https://resources.azure.com
Apache License 2.0
199 stars 77 forks source link

Strange error after leaving the site up for many hours #1

Open davidebbo opened 9 years ago

davidebbo commented 9 years ago

All requests fail with a variant of this:

{
    "data": "",
    "status": 0,
    "config": {
        "method": "GET",
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "url": "api/subscriptions/9033bcf4-c3c2-4f82-9e98-1cc531f1a8a8/resourceGroups",
        "headers": {
            "Accept": "application/json, text/plain, */*"
        }
    },
    "statusText": ""
}

I'm guessing the token needs a refresh or something like that. Not a huge deal, as refreshing page fixes it.

davidebbo commented 9 years ago

@suwatch wrote: Once we start getting 403 from Ajax, we should say something like Session Expired and instruct user to refresh the page. See portal experience for example.