|
Post by saravanans on Aug 24, 2023 14:11:11 GMT
Hi all, To upgrade the firmware, I am using Redfish and the following curl command over TFTP. curl -b cjar -k -u root:0penBmc -H "Content-Type: application/json" -X POST -d '{"TransferProtocol":"TFTP","ImageURI":"192.168.1.80/bmc-phosphor-image-evb-ast2600-20230824064748.static.mtd.tar"}' 172.20.48.110/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdateIn postman tool ,I initially encounter the 503 service unavailable error before encountering the 500 internal server error. 1.How to overcome the internal service error for tftp? 2.Kindly help me,If i am done wrong . Attachments:
|
|
|
Post by mraineri on Aug 24, 2023 15:57:52 GMT
Can you remove the "-b cjar" argument? Redfish doesn't use cookies, so it's possible the service is rejecting the request because of the provided cookies.
Beyond that, from the payload you sent to the service, you're doing everything correctly. If removing the -b argument doesn't help, you should reach out to the OpenBMC community for help on this.
|
|
|
Post by saravanans on Aug 25, 2023 7:13:03 GMT
Thank You for your reply.
I attempted to remove the "-b cjar" command.
But it shows the same error.
|
|