Closed sgireddy closed 6 years ago
@sgireddy, It is hard to debug internal server error from the client side. What we can do is - if you share the request-response log, we can try engaging someone from service team here, they could take a look at the log and see anything wrong with the request payload. Logging can be enabled as:
final File credFile = new File(System.getenv("AZURE_AUTH_LOCATION"));
ApplicationTokenCredentials credentials = ApplicationTokenCredentials.fromFile(credFile);
ConsumptionManager consumptionManager = ConsumptionManager
.configure()
.withLogLevel(LogLevel.BODY_AND_HEADERS)
.authenticate(credentials, credentials.defaultSubscriptionId());
consumptionManager.inner().usageDetails().list(scope);
Thank You @anuchandy, I captured the log. Is there a secure location where I could upload the log file?
You can remove or modify all the sensitive info from the log entries (such as remove authorization header value, replace subscription id chars with zeros) then share it here.
/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57291,suspend=y,server=n -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/tools.jar:/Users/shashigireddy/code/bpcs/AzureCostAnalytics/target/classes:/Users/shashigireddy/Library/Caches/IdeaIC2017.2/r_skeletons/1481726564:/Users/shashigireddy/.m2/repository/org/scala-lang/scala-library/2.11.8/scala-library-2.11.8.jar:/Users/shashigireddy/.m2/repository/org/scala-lang/scala-reflect/2.11.8/scala-reflect-2.11.8.jar:/Users/shashigireddy/.m2/repository/org/scala-lang/scala-library/2.11.8/scala-library-2.11.8-sources.jar:/Users/shashigireddy/.m2/repository/org/scala-lang/scala-reflect/2.11.8/scala-reflect-2.11.8-sources.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure/1.3.1-SNAPSHOT/azure-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-client-runtime/1.1.2-SNAPSHOT/azure-client-runtime-1.1.2-20171114.051125-27.jar:/Users/shashigireddy/.m2/repository/com/microsoft/rest/client-runtime/1.1.2-SNAPSHOT/client-runtime-1.1.2-20171114.051105-27.jar:/Users/shashigireddy/.m2/repository/com/google/guava/guava/20.0/guava-20.0.jar:/Users/shashigireddy/.m2/repository/com/squareup/retrofit2/retrofit/2.1.0/retrofit-2.1.0.jar:/Users/shashigireddy/.m2/repository/com/squareup/okhttp3/okhttp/3.3.1/okhttp-3.3.1.jar:/Users/shashigireddy/.m2/repository/com/squareup/okio/okio/1.8.0/okio-1.8.0.jar:/Users/shashigireddy/.m2/repository/com/squareup/okhttp3/logging-interceptor/3.3.1/logging-interceptor-3.3.1.jar:/Users/shashigireddy/.m2/repository/com/squareup/okhttp3/okhttp-urlconnection/3.3.1/okhttp-urlconnection-3.3.1.jar:/Users/shashigireddy/.m2/repository/com/squareup/retrofit2/converter-jackson/2.1.0/converter-jackson-2.1.0.jar:/Users/shashigireddy/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.7.2/jackson-databind-2.7.2.jar:/Users/shashigireddy/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.7.2/jackson-datatype-joda-2.7.2.jar:/Users/shashigireddy/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.7.0/jackson-annotations-2.7.0.jar:/Users/shashigireddy/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar:/Users/shashigireddy/.m2/repository/com/squareup/retrofit2/adapter-rxjava/2.1.0/adapter-rxjava-2.1.0.jar:/Users/shashigireddy/.m2/repository/org/slf4j/slf4j-api/1.7.22/slf4j-api-1.7.22.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-client-authentication/1.1.2-SNAPSHOT/azure-client-authentication-1.1.2-20171114.051135-26.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/adal4j/1.1.2/adal4j-1.1.2.jar:/Users/shashigireddy/.m2/repository/com/nimbusds/oauth2-oidc-sdk/4.5/oauth2-oidc-sdk-4.5.jar:/Users/shashigireddy/.m2/repository/javax/mail/mail/1.4.7/mail-1.4.7.jar:/Users/shashigireddy/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/shashigireddy/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/Users/shashigireddy/.m2/repository/net/minidev/json-smart/1.1.1/json-smart-1.1.1.jar:/Users/shashigireddy/.m2/repository/com/nimbusds/lang-tag/1.4/lang-tag-1.4.jar:/Users/shashigireddy/.m2/repository/com/nimbusds/nimbus-jose-jwt/3.1.2/nimbus-jose-jwt-3.1.2.jar:/Users/shashigireddy/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.51/bcprov-jdk15on-1.51.jar:/Users/shashigireddy/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/shashigireddy/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-annotations/1.2.0/azure-annotations-1.2.0.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-resources/1.3.1-SNAPSHOT/azure-mgmt-resources-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/org/slf4j/slf4j-simple/1.7.5/slf4j-simple-1.7.5.jar:/Users/shashigireddy/.m2/repository/io/reactivex/rxjava/1.2.4/rxjava-1.2.4.jar:/Users/shashigireddy/.m2/repository/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-storage/1.3.1-SNAPSHOT/azure-mgmt-storage-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-network/1.3.1-SNAPSHOT/azure-mgmt-network-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-compute/1.3.1-SNAPSHOT/azure-mgmt-compute-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-graph-rbac/1.3.1-SNAPSHOT/azure-mgmt-graph-rbac-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-keyvault/1.3.1-SNAPSHOT/azure-mgmt-keyvault-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-batch/1.3.1-SNAPSHOT/azure-mgmt-batch-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-trafficmanager/1.3.1-SNAPSHOT/azure-mgmt-trafficmanager-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-dns/1.3.1-SNAPSHOT/azure-mgmt-dns-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-redis/1.3.1-SNAPSHOT/azure-mgmt-redis-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-appservice/1.3.1-SNAPSHOT/azure-mgmt-appservice-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-cdn/1.3.1-SNAPSHOT/azure-mgmt-cdn-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-sql/1.3.1-SNAPSHOT/azure-mgmt-sql-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-containerinstance/1.3.1-SNAPSHOT/azure-mgmt-containerinstance-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-storage/4.4.0/azure-storage-4.4.0.jar:/Users/shashigireddy/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.0/jackson-core-2.6.0.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-keyvault-core/0.8.0/azure-keyvault-core-0.8.0.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-containerregistry/1.3.1-SNAPSHOT/azure-mgmt-containerregistry-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-cosmosdb/1.3.1-SNAPSHOT/azure-mgmt-cosmosdb-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-search/1.3.1-SNAPSHOT/azure-mgmt-search-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-servicebus/1.3.1-SNAPSHOT/azure-mgmt-servicebus-1.3.1-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/joda-time/joda-time/2.1/joda-time-2.1.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-billing/1.3.1-beta-SNAPSHOT/azure-mgmt-billing-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-consumption/1.3.1-beta-SNAPSHOT/azure-mgmt-consumption-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-logic/1.3.1-beta-SNAPSHOT/azure-mgmt-logic-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-insights/1.3.1-beta-SNAPSHOT/azure-mgmt-insights-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-locks/1.3.1-beta-SNAPSHOT/azure-mgmt-locks-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-cognitiveservices/1.3.1-beta-SNAPSHOT/azure-mgmt-cognitiveservices-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-scheduler/1.3.1-beta-SNAPSHOT/azure-mgmt-scheduler-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-datalake-analytics/1.3.1-beta-SNAPSHOT/azure-mgmt-datalake-analytics-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-datalake-store/1.3.1-beta-SNAPSHOT/azure-mgmt-datalake-store-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-devtestlab/1.3.1-beta-SNAPSHOT/azure-mgmt-devtestlab-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-customerinsights/1.3.1-beta-SNAPSHOT/azure-mgmt-customerinsights-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-monitor/1.3.1-beta-SNAPSHOT/azure-mgmt-monitor-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-devices/1.3.1-beta-SNAPSHOT/azure-mgmt-devices-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-relay/1.3.1-beta-SNAPSHOT/azure-mgmt-relay-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-servicefabric/1.3.1-beta-SNAPSHOT/azure-mgmt-servicefabric-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-streamanalytics/1.3.1-beta-SNAPSHOT/azure-mgmt-streamanalytics-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-machinelearning/1.3.1-beta-SNAPSHOT/azure-mgmt-machinelearning-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-powerbi/1.3.1-beta-SNAPSHOT/azure-mgmt-powerbi-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-notificationhubs/1.3.1-beta-SNAPSHOT/azure-mgmt-notificationhubs-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-eventhub/1.3.1-beta-SNAPSHOT/azure-mgmt-eventhub-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/com/microsoft/azure/azure-mgmt-recoveryservices/1.3.1-beta-SNAPSHOT/azure-mgmt-recoveryservices-1.3.1-beta-SNAPSHOT.jar:/Users/shashigireddy/.m2/repository/commons-net/commons-net/3.3/commons-net-3.3.jar:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar" com.bpcs.azure.resources.ManageResources Connected to the target VM, address: '127.0.0.1:57291', transport: 'socket' [pool-1-thread-1] INFO com.microsoft.aad.adal4j.AuthenticationAuthority - [Correlation ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx] Instance discovery was successful
[main] INFO com.microsoft.azure.management.resources.Resources list - --> GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resources?api-version=2016-09-01
[main] INFO com.microsoft.azure.management.resources.Resources list - Accept-Encoding: gzip
[main] INFO com.microsoft.azure.management.resources.Resources list - accept-language: en-US
[main] INFO com.microsoft.azure.management.resources.Resources list - Authorization: Bearer <<TOKEN>>
[main] INFO com.microsoft.azure.management.resources.Resources list - Connection: Keep-Alive
[main] INFO com.microsoft.azure.management.resources.Resources list - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.resources.Resources list - Host: management.azure.com
[main] INFO com.microsoft.azure.management.resources.Resources list - User-Agent: Azure-SDK-For-Java/1.3.1-SNAPSHOT OS:Mac OS X/10.13.1 MacAddressHash:<<MAC-ADDRESS-HASH>> Java:1.8.0_131 (ResourceManagementClient, 2016-09-01)
[main] INFO com.microsoft.azure.management.resources.Resources list - x-ms-client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Resources list - <-- 200 OK https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resources?api-version=2016-09-01 (197 ms, 7239-byte body)
[main] INFO com.microsoft.azure.management.resources.Resources list - Cache-Control: no-cache
[main] INFO com.microsoft.azure.management.resources.Resources list - Content-Encoding: gzip
[main] INFO com.microsoft.azure.management.resources.Resources list - Content-Length: 7239
[main] INFO com.microsoft.azure.management.resources.Resources list - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.resources.Resources list - Date: Thu, 16 Nov 2017 03:50:37 GMT
[main] INFO com.microsoft.azure.management.resources.Resources list - Expires: -1
[main] INFO com.microsoft.azure.management.resources.Resources list - Pragma: no-cache
[main] INFO com.microsoft.azure.management.resources.Resources list - Strict-Transport-Security: max-age=31536000; includeSubDomains
[main] INFO com.microsoft.azure.management.resources.Resources list - Vary: Accept-Encoding
[main] INFO com.microsoft.azure.management.resources.Resources list - x-ms-correlation-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Resources list - x-ms-ratelimit-remaining-subscription-reads: 14994
[main] INFO com.microsoft.azure.management.resources.Resources list - x-ms-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Resources list - x-ms-routing-request-id: WESTUS2:20171116T035037Z:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Resources list - 7239-byte body:
<<JSON BODY>>
[main] INFO com.microsoft.azure.management.resources.Resources list - <-- END HTTP
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - --> GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx?api-version=2016-06-01
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Accept-Encoding: gzip
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - accept-language: en-US
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Authorization: Bearer <<TOKEN>>
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Connection: Keep-Alive
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Host: management.azure.com
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - User-Agent: Azure-SDK-For-Java/1.3.1-SNAPSHOT OS:Mac OS X/10.13.1 MacAddressHash:<<MAC-ADDRESS-HASH>> Java:1.8.0_131 (SubscriptionClient, 2016-06-01)
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - x-ms-client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - <-- 200 OK https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx?api-version=2016-06-01 (22 ms, 335-byte body)
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Cache-Control: no-cache
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Content-Encoding: gzip
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Content-Length: 335
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Date: Thu, 16 Nov 2017 03:50:37 GMT
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Expires: -1
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Pragma: no-cache
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Strict-Transport-Security: max-age=31536000; includeSubDomains
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - Vary: Accept-Encoding
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - x-ms-correlation-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - x-ms-ratelimit-remaining-subscription-reads: 14993
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - x-ms-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - x-ms-routing-request-id: WESTUS2:20171116T035037Z:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - 335-byte body:
<<JSON BODY>>
[main] INFO com.microsoft.azure.management.resources.Subscriptions get - <-- END HTTP
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - --> GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Accept-Encoding: gzip
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - accept-language: en-US
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Authorization: Bearer <<TOKEN>>
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Connection: Keep-Alive
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Host: management.azure.com
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - User-Agent: Azure-SDK-For-Java/1.3.1-beta-SNAPSHOT OS:Mac OS X/10.13.1 MacAddressHash:<<MAC-ADDRESS-HASH>> Java:1.8.0_131 (ConsumptionManagementClient, 2017-04-24-preview)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - x-ms-client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - <-- 200 OK https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview (31685 ms, unknown-length body)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Cache-Control: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Content-Encoding: gzip
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Date: Thu, 16 Nov 2017 03:51:11 GMT
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Expires: -1
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Pragma: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Server: Microsoft-IIS/8.5
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Strict-Transport-Security: max-age=31536000; includeSubDomains
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Transfer-Encoding: chunked
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - Vary: Accept-Encoding
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - X-AspNet-Version: 4.0.30319
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - x-content-type-options: nosniff
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - x-ms-correlation-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - x-ms-ratelimit-remaining-subscription-reads: 14992
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - x-ms-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - x-ms-routing-request-id: WESTUS2:20171116T035111Z:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - X-Powered-By: ASP.NET
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - 116269-byte body:
<<JSON BODY>>
[main] INFO com.microsoft.azure.management.consumption.UsageDetails list - <-- END HTTP
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - --> GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Accept-Encoding: gzip
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - accept-language: en-US
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Authorization: Bearer <<TOKEN>>
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: Keep-Alive
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Host: management.azure.com
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - User-Agent: Azure-SDK-For-Java/1.3.1-beta-SNAPSHOT OS:Mac OS X/10.13.1 MacAddressHash:<<MAC-ADDRESS-HASH>> Java:1.8.0_131 (ConsumptionManagementClient, 2017-04-24-preview)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- 500 Internal Server Error https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D (2013 ms, 333-byte body)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Cache-Control: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: close
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Length: 333
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Date: Thu, 16 Nov 2017 03:51:14 GMT
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Expires: -1
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Pragma: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Server: Microsoft-IIS/8.5
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Strict-Transport-Security: max-age=31536000; includeSubDomains
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-AspNet-Version: 4.0.30319
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-content-type-options: nosniff
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-correlation-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-failure-cause: service
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-ratelimit-remaining-subscription-reads: 14991
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-routing-request-id: WESTUS2:20171116T035114Z:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-Powered-By: ASP.NET
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - 333-byte body:
<<JSON BODY>>
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- END HTTP
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - --> GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Accept-Encoding: gzip
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - accept-language: en-US
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Authorization: Bearer <<TOKEN>>
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: Keep-Alive
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Host: management.azure.com
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - User-Agent: Azure-SDK-For-Java/1.3.1-beta-SNAPSHOT OS:Mac OS X/10.13.1 MacAddressHash:<<MAC-ADDRESS-HASH>> Java:1.8.0_131 (ConsumptionManagementClient, 2017-04-24-preview)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- 500 Internal Server Error https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D (1373 ms, 333-byte body)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Cache-Control: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: close
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Length: 333
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Date: Thu, 16 Nov 2017 03:51:15 GMT
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Expires: -1
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Pragma: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Server: Microsoft-IIS/8.5
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Strict-Transport-Security: max-age=31536000; includeSubDomains
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-AspNet-Version: 4.0.30319
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-content-type-options: nosniff
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-correlation-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-failure-cause: service
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-ratelimit-remaining-subscription-reads: 14994
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-routing-request-id: WESTUS2:20171116T035115Z:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-Powered-By: ASP.NET
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - 333-byte body:
{"error":{"code":"InternalServerError","target":"https://billing.windowsazure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D","message":"The server encountered an internal error. Please retry the request."}}
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- END HTTP
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - --> GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Accept-Encoding: gzip
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - accept-language: en-US
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Authorization: Bearer <<TOKEN>>
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: Keep-Alive
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Host: management.azure.com
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - User-Agent: Azure-SDK-For-Java/1.3.1-beta-SNAPSHOT OS:Mac OS X/10.13.1 MacAddressHash:<<MAC-ADDRESS-HASH>> Java:1.8.0_131 (ConsumptionManagementClient, 2017-04-24-preview)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- 500 Internal Server Error https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D (1406 ms, 333-byte body)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Cache-Control: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: close
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Length: 333
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Date: Thu, 16 Nov 2017 03:51:17 GMT
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Expires: -1
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Pragma: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Server: Microsoft-IIS/8.5
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Strict-Transport-Security: max-age=31536000; includeSubDomains
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-AspNet-Version: 4.0.30319
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-content-type-options: nosniff
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-correlation-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-failure-cause: service
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-ratelimit-remaining-subscription-reads: 14995
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-routing-request-id: WESTUS2:20171116T035117Z:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-Powered-By: ASP.NET
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - 333-byte body:
{"error":{"code":"InternalServerError","target":"https://billing.windowsazure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D","message":"The server encountered an internal error. Please retry the request."}}
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- END HTTP
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - --> GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Accept-Encoding: gzip
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - accept-language: en-US
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Authorization: Bearer <<TOKEN>>
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: Keep-Alive
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Host: management.azure.com
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - User-Agent: Azure-SDK-For-Java/1.3.1-beta-SNAPSHOT OS:Mac OS X/10.13.1 MacAddressHash:<<MAC-ADDRESS-HASH>> Java:1.8.0_131 (ConsumptionManagementClient, 2017-04-24-preview)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- 500 Internal Server Error https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D (4269 ms, 333-byte body)
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Cache-Control: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Connection: close
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Length: 333
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Content-Type: application/json; charset=utf-8
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Date: Thu, 16 Nov 2017 03:51:21 GMT
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Expires: -1
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Pragma: no-cache
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Server: Microsoft-IIS/8.5
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - Strict-Transport-Security: max-age=31536000; includeSubDomains
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-AspNet-Version: 4.0.30319
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-content-type-options: nosniff
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-correlation-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-failure-cause: service
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-ratelimit-remaining-subscription-reads: 14995
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - x-ms-routing-request-id: WESTUS2:20171116T035121Z:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - X-Powered-By: ASP.NET
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - 333-byte body:
{"error":{"code":"InternalServerError","target":"https://billing.windowsazure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D","message":"The server encountered an internal error. Please retry the request."}}
[main] INFO com.microsoft.azure.management.consumption.UsageDetails listNext - <-- END HTTP
Status code 500, {"error":{"code":"InternalServerError","target":"https://billing.windowsazure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D","message":"The server encountered an internal error. Please retry the request."}}
Disconnected from the target VM, address: '127.0.0.1:57291', transport: 'socket'
com.microsoft.azure.management.consumption.ErrorResponseException: Status code 500, {"error":{"code":"InternalServerError","target":"https://billing.windowsazure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=MjAxODAxIyMxIyMxMDAwIyMjIzM%3D","message":"The server encountered an internal error. Please retry the request."}}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.microsoft.rest.ServiceResponseBuilder.build(ServiceResponseBuilder.java:122)
at com.microsoft.azure.AzureResponseBuilder.build(AzureResponseBuilder.java:56)
at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner.listNextDelegate(UsageDetailsInner.java:418)
at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner.access$100(UsageDetailsInner.java:37)
at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner$16.call(UsageDetailsInner.java:405)
at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner$16.call(UsageDetailsInner.java:401)
at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:69)
at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$RequestArbiter.request(RxJavaCallAdapterFactory.java:173)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102)
at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152)
at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138)
at rx.Observable.unsafeSubscribe(Observable.java:10142)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.subscribe(Observable.java:10238)
at rx.Observable.subscribe(Observable.java:10205)
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:444)
at rx.observables.BlockingObservable.single(BlockingObservable.java:341)
at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner$1.nextPage(UsageDetailsInner.java:83)
at com.microsoft.azure.PagedList.cachePage(PagedList.java:62)
at com.microsoft.azure.PagedList.<init>(PagedList.java:56)
at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner$1.<init>(UsageDetailsInner.java:80)
at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner.list(UsageDetailsInner.java:80)
at com.bpcs.azure.resources.ManageResources$.delayedEndpoint$com$bpcs$azure$resources$ManageResources$1(ManageResources.scala:26)
at com.bpcs.azure.resources.ManageResources$delayedInit$body.apply(ManageResources.scala:14)
at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at com.bpcs.azure.resources.ManageResources$.main(ManageResources.scala:14)
at com.bpcs.azure.resources.ManageResources.main(ManageResources.scala)
Process finished with exit code 0
@sgireddy thank you, shared these details with service team.
Just FYI: Updated your comment by adding formatting for http log, just to make analysis easy for service team.
@anuchandy Tried again this morning and it worked. Seems the service team fixed the issue. Thank you for your help.
I cloned this sdk and tweaked to include ConsumtionManager in order to access usage details but ended up getting "Internal Server Error". Is there a way I could fix this issue?
//scala code (marked sensitive details with xx) val consumtion = azure.getConsumptionManager val usageDetails = consumtion.inner().usageDetails().list("/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”).asScala.toList
usageDetails.foreach( ud => { println(ud) })
Exception:
Status code 500, {"error":{"code":"InternalServerError","target":"https://billing.windowsazure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=xxxxODAxIyMxIyMxMDAwIyMjIzM%xx”,”message":"The server encountered an internal error. Please retry the request."}} com.microsoft.azure.management.consumption.ErrorResponseException: Status code 500, {"error":{"code":"InternalServerError","target":"https://billing.windowsazure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Consumption/usageDetails?api-version=2017-04-24-preview&$skiptoken=xxxxODAxIyMxIyMxMDAwIyMjIzM%xx","message":"The server encountered an internal error. Please retry the request."}} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) Disconnected from the target VM, address: '127.0.0.1:51380', transport: 'socket' at com.microsoft.rest.ServiceResponseBuilder.build(ServiceResponseBuilder.java:122) at com.microsoft.azure.AzureResponseBuilder.build(AzureResponseBuilder.java:56) at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner.listNextDelegate(UsageDetailsInner.java:418) at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner.access$100(UsageDetailsInner.java:37) at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner$16.call(UsageDetailsInner.java:405) at com.microsoft.azure.management.consumption.implementation.UsageDetailsInner$16.call(UsageDetailsInner.java:401) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:69) at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$RequestArbiter.request(RxJavaCallAdapterFactory.java:173) at rx.Subscriber.setProducer(Subscriber.java:211)