OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Error Send Model to FlashForge Adventurer 5M

Open pacocatech opened this issue 1 year ago • 30 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

OrcaSlicer Version

2.0.0

Operating System (OS)

Windows

OS Version

Windows 10

Additional system information

No response

Printer

FlashForge Adventurer 5M

How to reproduce

1 Configure network connection 2 Slice Model 3 Print 4 Error on send model to printer image image image image

Actual results

Error on send model to printer image

Expected results

Send model to printer with success

Project file & Debug log uploads

crash_Tue_Mar_26_23_29_08_0.log bust.zip

Checklist of files to include

  • [X] Log file
  • [X] Project file

Anything else?

No response

pacocatech avatar Apr 01 '24 12:04 pacocatech

When I make a smaller file, for example, the standard orca cube, the file is sent successfully, it must have something to do with the size of the file, in my example the file is more than 100mb

pacocatech avatar Apr 01 '24 12:04 pacocatech

@FlashforgeOfficial can u help?

pacocatech avatar Apr 01 '24 12:04 pacocatech

I have the same problem with my X1C from Bambu Lab

Savacartonner avatar Apr 02 '24 20:04 Savacartonner

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

FlashforgeOfficial avatar Apr 07 '24 06:04 FlashforgeOfficial

Same problem on my Adventure 5M. A consistent amount of time passes during uploading a file before Orca decides there is an error. On the printer interface, the upload status bar continues to fill up normally until Orca generates the error message.

tlochi avatar Apr 11 '24 19:04 tlochi

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

iherbak avatar Apr 11 '24 19:04 iherbak

I have an Adventure 3 and had the same issue. Command line tool worked prerfect for me, but surprisingly, after looking at the machine, the test file and even those that timed out on orca slicer were there, but without preview image. So I wonder, which Gcode flavor and which image format for preview to choose.

preacher4gh avatar May 02 '24 18:05 preacher4gh

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

would you mind helping me out with that? what are the defaults for the port and the [data_wait_timeout] [data_packet_size]? not sure what values to start with. edit; actually changing the image format QOI solved the problem for me. still dont have a preview image but i doubt thats orcas fault. i can do a test real quick though to see if i send the same big stl from flashforges illegal copy of orca if it has a preview or not though

thhdragon avatar Jun 08 '24 04:06 thhdragon

Hi. The dafult port is 8899 waittime try 60 first packet size in bytes so try 10240.

thhdragon @.***> (időpont: 2024. jún. 8., Szo, 6:48) ezt írta:

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

would you mind helping me out with that? what are the defaults for the port and the [data_wait_timeout] [data_packet_size]? not sure what values to start with.

— Reply to this email directly, view it on GitHub https://github.com/SoftFever/OrcaSlicer/issues/4834#issuecomment-2155807460, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6KN7EV6ESDQ5UB526Q5LZGKEIXAVCNFSM6AAAAABFRRF5VKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVHAYDONBWGA . You are receiving this because you were mentioned.Message ID: @.***>

iherbak avatar Jun 08 '24 07:06 iherbak

Adventurer 5m same thing happens to me with 6mb file.

Supremeb1 avatar Jun 11 '24 06:06 Supremeb1

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

thank you! with long timeout downloads well. how to change timeout in orca?

makc9 avatar Jul 20 '24 03:07 makc9

Same issue for me with a FlashForge Adventurer 5M Pro with Windows 11.

goldfish408 avatar Jul 25 '24 20:07 goldfish408

Same happening here with a Adventurer 5m with files over 12mb. Sending the files via Wifi

xlordxcheater avatar Aug 29 '24 14:08 xlordxcheater

I also see this issue: OS: Windows 10 & macOS Sonoma 14.7 (M1 Max) Orca Slicer Version: 2.1.1 3d Printer: Flash Forge Adventurer 5M via WiFi Flash Print works via the same computer(Windows OS) and can send and print files of any size, Orca Slicer connects to the printer, but fails when trying to send files. Exporting the Gcode file from Orca Slicer to USB and loading the file directly to the printer works

rivens623 avatar Oct 22 '24 17:10 rivens623

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

How can I use the command line tool? I only got a zip file with a 5MWifi.exe and other files

xlordxcheater avatar Oct 26 '24 21:10 xlordxcheater

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

Fix your configuration on Orca Slicer

Hugofer27 avatar Nov 15 '24 15:11 Hugofer27

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

Fix your configuration on Orca Slicer

Can you please Elaborate on this?

xlordxcheater avatar Nov 15 '24 16:11 xlordxcheater

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

Fix your configuration on Orca Slicer

Can you please Elaborate on this?

I guess the issue is with the serial connection instability in case of uploading bigger files. Since Orca-Flashforge is available i found they added an more reliable rest communication to the firmware. I made an adaptation. https://github.com/iherbak/OrcaSlicer/releases/tag/Latest

Could you please try this version. The instruction on how to setup the connection is written in the notes. @xlordxcheater @rivens623

iherbak avatar Nov 15 '24 17:11 iherbak

@iherbak - I installed the latest and a smaller STL file (12 MB) and it worked. I will try a bigger project file I am working on after this one is done. Thanks!!

rivens623 avatar Nov 21 '24 18:11 rivens623

@iherbak - Just tried to send a bigger file (164MB) and it failed to send. "Error uploading to print host: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond." The printer shows that it is receiving a file when I try to send it.

rivens623 avatar Nov 22 '24 05:11 rivens623

@rivens623 Thanks for testing. I tried today with a 176 mb gcode and sent over fine. I tested using utp cable as well as wifi. Both were successfull at multiple attempt without any of them failing.

Maybe making a capture with wireshark could show something as unfortunatelly i am unable to reproduce the issue.

iherbak avatar Nov 22 '24 08:11 iherbak

@iherbak do you have any specific filters you would want applied for wireshark or just start the monitoring, attempt to send the file to the printer and then send the results?

rivens623 avatar Nov 22 '24 20:11 rivens623

@rivens623 no filter neccessary. Only the recorded file. Start it before hitting upload and stop it after the error happens in orca. I hope we could see something. Thanks

iherbak avatar Nov 22 '24 22:11 iherbak

WireSharkResults.zip

@iherbak - Here are the wireshark results. Two files, one trying to send the file w/o printing, the other with printing command via OrcaSlicer.

rivens623 avatar Nov 23 '24 23:11 rivens623

@rivens623 Examined the results. You are using the previous version which is using serial communication. (I see the gcode commands). I tried to reproduce the issue with no luck. However since Orca-flashforge is out a new API connection is available with the latest firmwares that is more reliable. Could you please try the latest version at my github. https://github.com/iherbak/OrcaSlicer/releases/tag/Latest. The instructions on how to configure is on the page.

I am waiting on feedbacks before creating a pull request to the Softfever repo.

iherbak avatar Nov 24 '24 12:11 iherbak

<FACEPALM> @iherbak - That did it. Sorry I thought I had the right one installed. The version numbers were the same for the correct one I installed from the previous.

rivens623 avatar Nov 24 '24 16:11 rivens623

@rivens623 Examined the results. You are using the previous version which is using serial communication. (I see the gcode commands). I tried to reproduce the issue with no luck. However since Orca-flashforge is out a new API connection is available with the latest firmwares that is more reliable. Could you please try the latest version at my github. https://github.com/iherbak/OrcaSlicer/releases/tag/Latest. The instructions on how to configure is on the page.

I am waiting on feedbacks before creating a pull request to the Softfever repo.

Hello! Works like a charm. I have downloaded 2.3.0-dev, configure SN and printer ID and 62MB works. Thanks a lot!

rfkarpinski avatar Dec 03 '24 11:12 rfkarpinski

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Mar 04 '25 00:03 github-actions[bot]

@iherbak hey, did you push a merge request on mainline orca?

esistgut avatar Mar 06 '25 13:03 esistgut

@esistgut Hi, i had a merge request, but they commented on several time and lamented if we should preserve the old serial connection as well, so i gave up on that. Currently i added the dialog clearing before print, and i will prepare a new merge request including that as well. Till then in my own branch you could try it.

istvanherbak avatar Mar 06 '25 14:03 istvanherbak