2026-01-09 13:30:07 +09:00
# Frequently Asked Questions (FAQ)
---
## 1. Cannot Export PDF
**Problem** : Web version redirects to `convert.diagrams.net/node/export` when exporting PDF, then nothing happens
**Cause** : Embedded Draw.io doesn't support direct PDF export, it relies on external conversion service which doesn't work in iframe
**Solution** : Export as image (PNG) first, then print to PDF
**Related Issues** : #539 , #125
---
## 2. Cannot Access embed.diagrams.net (Offline/Intranet Deployment)
**Problem** : Intranet environment shows "Cannot find server IP address for embed.diagrams.net"
2026-10-06 09:28:46 +09:00
**Key Point** : The app now ships with its own copy of draw.io, served from `/drawio` , so the browser no longer needs `embed.diagrams.net` . If you still see this error, the image was built with `NEXT_PUBLIC_DRAWIO_BASE_URL=https://embed.diagrams.net` (the old Dockerfile default). Rebuild without that build argument. See [Offline Deployment ](./offline-deployment.md ).
2026-01-09 13:30:07 +09:00
2026-10-06 09:28:46 +09:00
`NEXT_PUBLIC_*` environment variables are **build-time** variables, they get bundled into JS code. **Runtime settings don't work!**
**To keep a separate draw.io server instead** , pass it via `args` at build time:
2026-01-09 13:30:07 +09:00
```yaml
# docker-compose.yml
services :
drawio :
image : jgraph/drawio:latest
ports : [ "8080:8080" ]
next-ai-draw-io :
build :
context : .
args :
- NEXT_PUBLIC_DRAWIO_BASE_URL=http://your-server-ip:8080/
ports : [ "3000:3000" ]
env_file : .env
```
**Intranet Users** : Modify Dockerfile and build image on external network, then transfer to intranet
**Related Issues** : #295 , #317
---
## 3. Self-hosted Model Only Thinks But Doesn't Draw
**Problem** : Locally deployed models (e.g., Qwen, LiteLLM) only output thinking process, don't generate diagrams
**Possible Causes** :
1. **Model too small** - Small models struggle to follow tool calling instructions correctly, recommend 32B+ parameter models
2. **Tool calling not enabled** - Model service needs tool use configuration
**Solution** : Enable tool calling, e.g., vLLM:
```bash
python -m vllm.entrypoints.openai.api_server \
--model Qwen/Qwen3-32B \
--enable-auto-tool-choice \
--tool-call-parser hermes
```
**Related Issues** : #269 , #75
---
## 4. "No Image Provided" After Uploading Image
2026-01-09 13:43:26 +09:00
**Problem** : After uploading an image, the system shows "No image provided" error
2026-01-09 13:30:07 +09:00
**Possible Causes** :
1. Model doesn't support vision (e.g., Kimi K2, DeepSeek, Qwen text models)
**Solution** :
2026-01-09 13:43:26 +09:00
- Use vision-capable models: GPT-5.2, Claude 4.5 Sonnet, Gemini 3 Pro
2026-01-09 13:30:07 +09:00
- Models with `vision` or `vl` in name support images
- Update to latest version (v0.4.9+)
**Related Issues** : #324 , #421 , #469