Network, proxy and connection troubleshooting

Differentiate between native, container, remote application and upstream asset access issues.

Test in real calling environment

The success of the native browser does not mean that Docker, remote server or desktop extension are on the same network. Check the DNS, TLS, proxy and final URL in the context of the actual request, and then test the minimum request.

Common differences

  • localhost in the container points to the container itself.
  • Programs started by desktop icons may not inherit terminal environment variables.
  • HTTP_PROXY, HTTPS_PROXY and NO_PROXY may change the traffic path.
  • The corporate network may block specific domain names, long connections, or large uploads.
  • TLS certificate errors should correct the trust chain or address, and certificate verification cannot be turned off for a long time.

Streaming problem

If the response doesn’t come until the end, check proxy buffering. If the fixed duration is disconnected, check the idle timeout and total duration of each layer. Capture desensitized response headers and event boundaries, and do not put real keys into public diagnostic commands.

Material access

The image and video URLs that the model needs to read should be accessible by the upstream server. Web pages with login status, short-term signatures, regional restrictions, and anti-leeching may all cause failure; first use simple materials under your control to verify.

Hierarchical diagnostic commands

First check site reachability without credentials:

curl --connect-timeout 10 --max-time 20 -I https://dunduntoken.com

This result does not verify model permissions. Then run the real request of Quick Start in the same environment. Do not enable public debug logging or share full curl traces on requests with keys.

Stage Phenomenon Troubleshooting direction
DNS Unable to resolve host Actual operating environment DNS, proxy domain name
TCP Connection timed out or refused Outbound rules, proxies and routing
TLS Certificate Error System Time, Trust Chain, Enterprise Proxy
HTTP Received status and error body Path, authentication and interface parameters
SSE Interrupt after start Idle timeout, buffering, network switching

Agent environment

Check if the app supports system proxy or HTTP_PROXY / HTTPS_PROXY. Remote services, desktop programs, and containers may be configured individually, and the success of the browser agent cannot be used to infer the success of other processes. NO_PROXY affects bypass rules. Only prints whether the variable exists, and does not paste the agent URL containing the username and password into the work order.

Fixed regression

Revalidate short text, streaming, and actual size media uploads. After the TLS problem is resolved, normal certificate verification will be restored and temporary debugging files will be deleted; the long-term insecure option will not be used as a formal solution.