Skip to content

Flashforge host can't connect, print_host is resolved as http://<ip> #667

Backlog

Description

@sellauth

Is there an existing issue for this problem?

  • I have searched the existing issues

CrealityPrint Version

V7.3.2.6412

Operating System (OS)

Windows

OS Version

Windows 10 22H2 (19045)

Additional system information

No response

Printer

Flashforge Adventurer 5M Pro (firmware v5.1.7)

How to reproduce

  1. Go to the Device page and add a printer manually
  2. Set Host Type to Flashforge
  3. Enter the printer IP in "Hostname, IP or URL" (192.168.100.138 here)
  4. 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.

Activity

  1. added a commit that references this issue on Nov 24, 2026
    6808181
  2. changed the title [-]Flashforge host: "Could not connect to Flashforge: The operation completed successfully" - host is resolved as "http://<ip>"[/-] on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions