I use Figma in browser (Chrome 136) on Windows 11 23H2. Recently I’m experiencing missing fonts in design files, yet the missing fonts are installed and usable on my computer. The settings panel insists that I have not installed FigmaAgent, but I have. Reinstalling FigmaAgent does not solve the problem.
The problem does not always manifest itself. It sometimes goes away after a reboot.
Other topics in this forum suggests that figma_agent.exe might have not been started. That’s not the case. The program is properly configured to run on startup, and I can see it in Task Manager.
However, in Resource Monitor, I see no program listening port 44950. Apparently figma_agent.exe somehow failed to bind the port, but there is no diagnostics because it is a GUI program and does not output anything with OutputDebugString. Killing and relaunching figma_agent.exe does not help.
I try to bind the port myself (e.g., with py -m http.server 44950
). It fails with “PermissionError: sErrno 10013] An attempt was made to access a socket in a way forbidden by its access permissions”. No luck even with administrator privileges.
All ports between 44619 and 48715 exhibit such behavior. Searching for this range reveals an issue telling that it is a problem with WSL (Windows Subsystem for Linux) 2, specifically its mirrored networking mode. Indeed, shutting down WSL with wsl --shutdown
before launching figma_agent.exe solves the problem.
FigmaAgent requires two fixed port numbers, 44950 and 44960. WSL is able to adjust the reserved range if it detects port usage on startup. So starting WSL after FigmaAgent works, but it breaks the other way around. On reboot, WSL and FigmaAgent races to reserve the ports, so it works some of the time.
I was writing for help, but somehow in the way I figured it out myself. I’m still posting it anyway, in case someone finds the information useful.
Troubleshooting such problems would be easier if FigmaAgent doesn’t fail silently, but at least produces logs somewhere.