c# - Code which worked several days ago to create bigquery job has stopped working -


starting couple days ago, calls jobs.insert fail. using google .net client sdk on azure, can't (easily) network trace. summary of code below.

    jobsresource.insertmediaupload insertmediaupload          = new jobsresource.insertmediaupload(bigqueryservice, job, projectid, stream, contenttype);     insertmediaupload.progresschanged += uploadonprogresschanged;      var task = insertmediaupload.uploadasync();      stringbuilder sbwait = new stringbuilder("waiting: ");     while (!task.iscompleted) {         thread.sleep(1000);     } 

...

static private void uploadonprogresschanged(iuploadprogress process) {     string excpstr = process.exception != null ? process.exception.message : "";     logger.info($"in uploadonprogresschanged: {process.status} :  {process.bytessent} : {excpstr}"); } 

my log has

"in uploadonprogresschanged: failed : 0 : error occurred while sending request."

fails pretty consistently after 20 iterations of while (!task.iscompleted) loop.

when run locally successful. perhaps recognizes , understand error message library generating.


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -