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
{{ message }}
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: Instructions/Exercises/ai-foundry/04-use-a-container.md
+55Lines changed: 55 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,61 @@ Many commonly used Azure AI services APIs are available in container images. For
110
110
111
111
4. Verify that the command returns a JSON document containing information about the sentiment detected in the two input documents (which should be postive and negative, in that order).
112
112
113
+
## Troubleshooting
114
+
115
+
> **Note:**
116
+
> Seeing your container as "Running" in the Azure Portal does **not** always mean it is ready to process requests. If you try to use `curl` and get errors like:
117
+
>
118
+
> ```text
119
+
> curl: (52) Empty reply from server
120
+
> curl: (56) Recv failure: Connection reset by peer
121
+
> ```
122
+
>
123
+
> This may mean the container has not been started with the correct parameters or environment, or is missing model files or internet access for model download.
124
+
125
+
### Alternative: Deploying the Container using Azure CLI
126
+
127
+
You can try the following command (replace the `rg-name`, `container-name`, `ApiKey` and `Billing` endpoint with your values):
0 commit comments