-
Notifications
You must be signed in to change notification settings - Fork 48
DOCS-4493: Cover DNS error #4722
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -249,6 +249,28 @@ The limit applies to calls through both WebRTC and direct gRPC connection, that | |
|
|
||
| Try to find bottlenecks in scripts or modules that are hitting APIs for the machine in loops. You can check operations and sessions for a machine on its **CONTROL** tab at the bottom of the screen. To adjust the per-resource limit for modules, you can set the `VIAM_RESOURCE_REQUESTS_LIMIT` [environment variable on your machine](/manage/reference/viam-agent/#environment-variables-for-viam-server) to a positive integer higher than the default, 100. | ||
|
|
||
| ### transport: Error while dialing: dial tcp: lookup app.viam.com | ||
|
|
||
| **Full Error:** | ||
|
|
||
| ```sh {class="command-line" data-prompt="$" data-output="1-10"} | ||
| rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp: lookup app.viam.com on [::1]:53: read udp [::1]:<random ports>->[::1]:53: read: connection refused" | ||
| ``` | ||
|
|
||
| **Description**: | ||
|
|
||
| This error occurs due to congestion while different machine processes compete for bandwidth. | ||
|
|
||
| **Solution:** | ||
|
|
||
| This error is usually harmless and may resolve on its own. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Going with the hypothesis, yes this appears to resolve on its own once the internet connection returns to a stable/usable state. |
||
|
|
||
| To get more logs, you can enable forwarding system logs for SOCKS, by adding the following to your [`viam-agent` system configuration](/manage/reference/viam-agent/#system-configuration): | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not everyone will be running socks-forwarder. |
||
|
|
||
| ```json | ||
| { "forward_system_logs": "socks-forwarder" } | ||
| ``` | ||
|
|
||
| ## Other common errors | ||
|
|
||
| ### Accidental deletion of machines, locations, organizations, or accounts | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only my hypothesis that error appears when your internet connection becomes flaky (and socks-forwarder, if you choose to connect through it, by design will be), but it's not 100% verified.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, what do you suggest we should tell the user about this then?
Should I just close the PR and we leave it out or would you like to confirm your hypothesis?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best I have for now is just to verify your internet connection is stable and if it's not, the error should go away once it is. Up to you if you feel that's sufficient, or just leave it out for now.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I'll leave it out for now since we can't describe the error