-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BillingWebJob error #33
Comments
I just noticed the default timeout in App.config is 10 minutes, and the exception is thrown at the 10 minute mark. I will increase the value of ApiResponseWaitTimeOutInMinutes to 20 minutes and report back. |
Now the same exception occurs after 20 minutes. |
Same set of errors , i ' m also getting as mentioned above , it seems that there is some change in the SDK function or procedure. |
In Swagger , i ' m getting back the below response as 200 and for some API response code is 500. https://billing-data-api.azurewebsites.net/api/cspsummary/currentmonth Response Body [] Response Code 200 Response Headers {
{"schemaValidationMessages":[{"level":"error","message":"Can't read from file https://billing-data-api.azurewebsites.net:443/swagger/docs/v1"}]} |
I receive accurate Response Body content when I click the "Try it out!" button for: https://[my site].azurewebsites.net/swagger/ui/index#!/CspSummary/CspSummary_GetCurrentMonthData s3banerjee, for what requests do you receive a 500 error? |
/api/cspbilling : - Returning back response 200 , but nothing in response body for 200 response in body we have nothing. Response Body [] for 500 response Response Body { |
Check out my pull request for the /api/cspusage response 500 errors you are seeing. I saw the same error, and in my case it was because the current /api/cspusage code throws an exception if any of your clients in the partner center have a relationship other than "reseller" (e.g. "advisor" relationship). My pull request adds a check to see if there is a reseller relationship before pulling usage data. |
Hi ssugar, I applied the code in your pull request #32. It resolves the problem for us. Thank you very much. For the record, our successful BillingWebJob.exe run is copied below.
|
@snpdev - Glad to hear it helped. |
@ssugar thank you for pointing that out. merging the pull request. |
Hello,
I experience a problem on running BillingWebJob.exe for the first time.
In https://[MY APP NAME].scm.azurewebsites.net/azurejobs/#/jobs/continuous/BillingWebJob there is the following message:
Screenshot in Figure 1 below
The log output is as follows:
The exception is written to the database table AuditData, but no data is written to any other table. I see no problem with the Storage connection strings. I started with a single Storage account, but have also tried with unique accounts for AzureWebJobsDashboard and AzureAnalyticsDbModel.
Suggestions to help troubleshoot the problem are appreciated.
Figure 1
![image](https://cloud.githubusercontent.com/assets/1825479/22710006/c50f3a72-ed49-11e6-9b1d-07bdcaa391be.png)
The text was updated successfully, but these errors were encountered: