Troubleshooting¶
| Symptom | Likely cause | Fix |
|---|---|---|
Vulcan AI tab does not appear |
The add-in is not registered, or the build is x86 | Build the x64 Release configuration, run install.bat or RegAsm as administrator, restart SolidWorks |
| "Target machine actively refused connection" | Server is not running, or VULCAN_SERVER_URL is wrong |
Start python app.py; check the host and port; open the firewall |
| No active document | SolidWorks has no Part open | Create or open a Part document, then generate again |
| Sketch appears, extrusion fails | Interop version mismatch or a stale SolidWorks state | Check Desktop/Vulcan_Logs; update FeatureExtrusion3 parameters; keep SolidWorks focused |
| Fillet or chamfer fails | The radius or distance is too large, or the body has no solid edges | Reduce the value, rebuild the base, and inspect Vulcan_Logs |
| Revolve fails | The profile lies on or crosses the revolution axis | Move center_x or center_y away from the axis |
| Server tests fail after install | Development dependencies are missing | Run pip install -r requirements.txt -r requirements-dev.txt |
| LLM returns an empty or malformed response | The model ignored the JSON contract | Switch to a stronger model, lower temperature, inspect vulcan_server.log |
| Request times out | The model is slower than 30 seconds | Raise LLM_TIMEOUT and the ApiClient timeout together |
| Chinese or French request is misunderstood | The model lacks multilingual engineering vocabulary | Use a multilingual model; the system prompt is Chinese |
| Build fails on SolidWorks references | ReferenceDLL/ does not match your SolidWorks version |
Replace the interop assemblies in ReferenceDLL/ with matching ones |
| Installer registration fails | SolidWorks is running, or the shell is not elevated | Close SolidWorks and rerun the installer as administrator |
| Settings dialog cannot reach the server | Wrong URL, server down, or a token mismatch | Use 测试连接 in the dialog; check VULCAN_SERVER_URL and the server console |
Provider returns 401 or 403 |
The BYOK key is invalid, expired, or lacks access to the model | Re-enter the key in 设置; check the provider console |
| Preview rejects the edited JSON | The edit no longer matches the contract | Keep feature_type (or features) and a params object; see the JSON contract |
| Settings do not persist | %APPDATA%\Vulcan is not writable, or the Windows profile changed |
Check folder permissions; the secrets are DPAPI-encrypted per Windows user |
| Ribbon missing after reinstalling | An old registration still points at the previous DLL path | Run uninstall.bat as administrator, then reinstall |
| Command icons are blank or the tab is empty | Icon strips are missing next to the DLL, or SolidWorks cached an older command group | Rerun the installer and confirm icons\commands\strip_*.png exists; restart SolidWorks |
| Model appears but holes are in the wrong place | The plane or coordinate convention does not match the request | Inspect the returned JSON; the four-corner heuristic assumes front-plane X/Y |
Server logs are written to vulcan_server.log in the working directory, rotated at 5 MB, and ignored by git. Prompts are logged by length at INFO level; set LOG_LEVEL=DEBUG to include full content locally. Client logs are written to Vulcan_Logs/log_YYYYMMDD.txt on the desktop.