hdlbq
Posts: 26
Joined: Thu Aug 29, 2019 5:53 pm

Machine control panel issues

Hi,
I tried to use this interesting tool for the first time with version 5.1.
Previously, I used to save the gcode file, then upload it to the octoprint, and launch the print into it.
Unfortunately, I'm facing many issues:
- it seems to be impossible to save the API key, which is rather long and impossible to memorize,
- when I tried to add my printer as a new one, it is not found, even after I gave all the information: the control panel reaches on a 404 error, even if it is able to connect to the printer with the existing configuration,
Thanks for any help
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Machine control panel issues

We have a whole collection of OctoPrint machines here, and we've had no problems connecting to each of them and saving the API key so that you only need to enter it once. I know many other customers are already using the feature as well without any issues.

What version of OctoPrint are you using?
What version of S3D are you using?
Is the printer available at the same IP address each time or does it keep changing?
hdlbq
Posts: 26
Joined: Thu Aug 29, 2019 5:53 pm

Re: Machine control panel issues

Hi,
Octoprint version : Version 1.3.6, and I can't change it, since it's a customized version made by Makergear.
Simplify3D version 5.1.1
The Ip address of the printer is always the same.
Actually, the problem disappears if I started by connecting the printer in a first step, and try to send the gcode file directly from S3D in a second step.
If I tried to print directly to my (disconnected) printer from S3D, the Machine control Panel asks me for the API Key.
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Machine control panel issues

That OctoPrint version is about 6 years old, so it would certainly help to move to a new version. However, we have tested with old OctoPrint versions as well which worked fine so there might be something else wrong.

Can you post the full output from the communication log when you connect to the printer and try to send some commands?
hdlbq
Posts: 26
Joined: Thu Aug 29, 2019 5:53 pm

Re: Machine control panel issues

Hi,
since the log of the communication displayed in the Machine Control Panel window is rather long (5000 lines), I compressed it.
It is joined to this reply
Attachments
log_S3D.html.zip
(88.49 KiB) Downloaded 263 times
hdlbq
Posts: 26
Joined: Thu Aug 29, 2019 5:53 pm

Re: Machine control panel issues

Hi,
I join the log of the connection, to help you.
Attachments
log-connection-S3D.html.zip
(78.69 KiB) Downloaded 347 times
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Machine control panel issues

That looks like the OctoPrint HTML page. I'm asking for the Communication log from within Simplify3D. Go to Tools > Machine Control Panel, click on the Communication tab, and then copy and paste the entire contents of that window after you try to connect to the printer.
hdlbq
Posts: 26
Joined: Thu Aug 29, 2019 5:53 pm

Re: Machine control panel issues

Hi,
That's exactly what I have done.
I joined the end of the log, that shows clearly the missing API.
I attached a screen copy showing that
________________________________________________________________
Connection successful!
File upload started...
SENT: GET http://192.168.0.24:80/api/version
READ: No API key provided
SENT: GET http://192.168.0.24:80/api/version
READ: {
"api": "0.1",
"server": "1.3.6"
}
SENT: GET http://192.168.0.24:80/api/printer
READ: {
"sd": {
"ready": false
},
"state": {
"flags": {
"closedOrError": false,
"error": false,
"operational": true,
"paused": false,
"printing": false,
"ready": true,
"sdReady": false
},
"text": "Operational"
},
"temperature": {
"bed": {
"actual": 26.82,
"offset": 0,
"target": 0.0
},
"tool0": {
"actual": 26.82,
"offset": 0,
"target": 0.0
},
"tool1": {
"actual": 26.56,
"offset": 0,
"target": 0.0
}
}
}
SENT: POST http://192.168.0.24:80/api/files/local {"path": "", "print": "true", "file": 179461 bytes}
READ: No API key provided
Attachments
Capture d’écran 2023-07-26 à 09.58.08.jpg
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Machine control panel issues

OctoPrint keeps responding and saying "No API key provided". Did you provide the correct API key when the popup was displayed in S3D?
hdlbq
Posts: 26
Joined: Thu Aug 29, 2019 5:53 pm

Re: Machine control panel issues

Yes.
And I don't provide any API key when I connect without lauching any printing.

Return to “Troubleshooting and Bug Reports”