Jump to content
Ultimaker Community of 3D Printing Experts

xsimplex

Member
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hey, I have a weird issue I'm kind of stumped on. I have a Docker container slicing customisable print jobs with CuraEngine which it then sends to the printer via the printer API. This setup has worked so far, but today I restarted the Docker container and now get a 405: Client Error METHOD NOT ALLOWED error when trying to send the printjob to the printer with requests.post(http://192.168.1.x/api/v1/print_job', files={'jobname': jobname, 'file': gcode_file}, auth=requests.auth.HTTPDigestAuth(ILAUMS5_USER, ILAUMS5_PASS)) Usually a 405 error indicates that the method used
  2. Oh yes, that is of course it. Thanks for pointing that stupid mistake out to me! This is also a very helpful tip, though, being able to look directly into the printers kernel ring buffer can come in quite handy I bet. Big thank you to both of you!
  3. Hey, I have a question regarding the Ultimaker API on my S5: For a couple of days now, I have been unable to use new credentials for my printer. I'm using Python with the requests library to do this. Obtaining new credentials with requests.post('http://192.168.1.x/api/v1/auth/request', data={'application': 'program', 'user': 'Docker'}) works fine and returns a new id, key pair which I then confirm by hand on the printer. Querying /check/id also works and returns "authorized". But if I try to verify the id,key pair with requests.post('http://192.168.1.x/ap
×
×
  • Create New...