You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error can be safely ignored if you do not intend to use audio on your machine.
121
121
122
-
## Common errors using the web UI
122
+
## Common errors between `viam-server` and Viam
123
123
124
124
### Failed to connect; retrying
125
125
@@ -143,6 +143,21 @@ When a machine is disconnected, it will continue to run with its locally-cached
143
143
grep 'viam-server' /var/log/syslog | tail -50
144
144
```
145
145
146
+
### Error: error connecting to peer, error not connected
147
+
148
+
**Full Error:**`error connecting to peer error not connected`
149
+
150
+
**Description:** This error indicates a networking or connection issue.
151
+
152
+
**Solution:**
153
+
154
+
1. Verify your machine's internet connection is stable and working properly.
155
+
1. Ensure your machine is using the correct machine cloud credentials.
156
+
You can obtain your machine cloud credentials from the machine's status in the part status dropdown to the right of your machine’s name on the top of the page.
157
+
1. If you are using API keys to connect, ensure you are using the correct credentials for the machine.
158
+
1. If you have multiple tabs open with your machine's page, close all but one.
159
+
Having too many connections can cause instability on some machines.
160
+
146
161
### Error: cannot parse config: JSON: cannot unmarshal string into Go struct
147
162
148
163
**Full Error:** `Error: cannot parse config: JSON: cannot unmarshal string into Go struct field Component.components.frame of type float64.`
@@ -171,20 +186,32 @@ In **JSON** mode, it will resemble the following:
error rdk.resource_manager.rdk:<RESOURCE-IDENTIFIER>resource/graph_node.go:297 resource build error: unknown resource type: API "<API-TRIPLET>" with model "<MODEL-TRIPLET>" not registered resource <RESOURCE-IDENTIFIER> model <MODEL-TRIPLET>
198
+
resourcebuild error: unknown resource type: API "rdk:component:camera" with model "viam:orbbec:astra2" not registered.
176
199
```
177
200
178
201
**Description:** This error occurs when your configuration requests a model with an associated API and the combination of model name and API triplet is not registered with viam-server.
179
202
180
203
**Solution:**
181
204
182
-
- **Module Installation**: For registry-provided models, ensure that your machine's configuration includes the module.
183
-
- **Model Triplet Verification**: Check for typos in the model triplet.
184
-
It must exactly match the model registered with `viam-server`.
185
-
For registry-provided models, you can find the correct model triplet (for example `viam:camera:csi-pi`) in the **Components & services** section of the registry page.
186
-
- **API Compatibility**: Ensure the selected model supports the requested API. You can find the requested APIs next to each model entry in the **Components & services** section of the registry page.
187
-
- **API Triplet Verification**: Check for typos in the API triplet (for example `rdk:component:camera`).
205
+
1. If you are using a registry-provided models, ensure that your machine's configuration includes the module that provides the model.
206
+
On your machine page, find the module and navigate to it's module page in the registry.
207
+
You can find the correct model triplet (for example `viam:camera:csi-pi`) in the **Components & services** section of the registry page.
208
+
1. Check for typos in the model triplet.
209
+
It must exactly match the model registered with `viam-server`.
210
+
1. Ensure the model supports the requested API.
211
+
You can find the requested APIs next to each model entry in the **Components & services** section of the registry page.
212
+
1. Check for typos in the API triplet (for example `rdk:component:camera`).
213
+
1. Check the logs for other errors.
214
+
It may be that the instantiation of the model is failing, for other reasons such as the hardware being disconnected.
188
215
189
216
### Accidental deletion of machines, locations, organizations, or accounts
0 commit comments