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 }}
Repository navigation
Flashforge host can't connect, print_host is resolved as http://<ip> #667
Enter the printer IP in "Hostname, IP or URL" (192.168.100.138 here)
Click Test
Actual results
Test fails with:
Could not connect to Flashforge: The operation completed successfully
OK doesn't add the printer either, since it only adds it after a successful test.
From the log:
[error] TCPConsole: Exception while talking with http://192.168.100.138:8899: resolve: No such host is known [system:11001 at ...\boost-1_84\boost/asio/detail/resolver_service.hpp:84:5 in function 'resolve']
Expected results
Test passes and the printer can be added. The printer itself is reachable, it answers ~M601 S1 on port 8899 with Control Success V2.1. and ok.
Project file & Debug log uploads
Log lines are above. Happens with an empty plate, so no project file.
Checklist of files to include
Log file
Project file
Anything else?
The device page adds http:// to whatever is typed in the address field before sending it to the app. That's fine for the HTTP based hosts, but the Flashforge host passes print_host straight to TCPConsole, which then tries to resolve http://192.168.100.138 as a host name. It fails with an exception rather than a socket error, so the error code is still 0, which is where the "completed successfully" message comes from.
MKS and ESP3D also pass print_host to TCPConsole, so they're probably affected too. I haven't checked those.
changed the title [-]Flashforge host: "Could not connect to Flashforge: The operation completed successfully" - host is resolved as "http://<ip>"[/-]on Nov 24, 2026
Activity
Flashforge: strip URL scheme from print_host before connecting
[-]Flashforge host: "Could not connect to Flashforge: The operation completed successfully" - host is resolved as "http://<ip>"[/-]