question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

λ  python .\testclient.py
E1030 15:36:09.480000000 11252 src/core/ext/transport/chttp2/server/insecure/server_chttp2.c:38] {"created":"@1509348969.480000000","description":"No address added out of total 1 resolved","file":"src/core/ext/transport/chttp2/server/chttp2_server.c","file_line":245,"referenced_errors":[{"created":"@1509348969.480000000","description":"Failed to add port to server","file":"src/core/lib/iomgr/tcp_server_windows.c","file_line":510,"referenced_errors":[{"created":"@1509348969.480000000","description":"OS Error","file":"src/core/lib/iomgr/tcp_server_windows.c","file_line":199,"os_error":"Only one usage of each socket address (protocol/network address/port) is normally permitted.\r\n","syscall":"bind","wsa_error":10048}]}]}
.....ERROR:root:Exception iterating requests!
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\grpc\_channel.py", line 185, in consume_request_iterator
    request = next(request_iterator)
  File "C:\ProgramData\Anaconda3\lib\site-packages\aiogrpc\utils.py", line 223, in __next__
    raise r
  File "C:\ProgramData\Anaconda3\lib\site-packages\aiogrpc\utils.py", line 204, in _next
    self._q.put((await nf, False))
  File ".\testclient.py", line 119, in test_input2
    raise ValueError('testerror')
ValueError: testerror
...
----------------------------------------------------------------------
Ran 8 tests in 1.314s

OK

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
hubo1016commented, Oct 30, 2017

This is a correct behavior. This test case covers the situation when the request stream or response stream raises an exception inside the iteration. When these exceptions occur, grpc.io core generates this log.

It might be possible to drop this log with a customized logger, but maybe it is not necessary?

0reactions
hubo1016commented, Nov 3, 2017

fixed by a367421158bfeadd2a5bba100c085b2c5a4dc7ac

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when I try to run `npm run test` in windows command ...
I tried to run npm run test on my directory but I get an error in the terminal that says: '.' is not...
Read more >
Handling the Error 'The test run has stopped...'
Diagnosing the Problem. Open the test log and locate the “The test run has stopped...” message in it. The “The test run has...
Read more >
Error when running npm test or npm run lint-test #635 - GitHub
I tried to run my tests with the command javascript npm test . I went to the link provided by the CLI. Expected:...
Read more >
Unit tests run in Test Explorer despite build error and I click ...
Developer Community. When initiating test execution in Test Explorer, if my code has a build error I get the expected dialog stating “There...
Read more >
Mocha - the fun, simple, flexible JavaScript test framework
JS native ESM support; Running Mocha in the Browser; Configuring Mocha (Node.js); The test/ Directory; Error Codes; Editor Plugins; Examples; Testing Mocha ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found