HTTP Requests from UEFI Shell are denied access to HTTP Server


huynhhai323@...
 

Hi,

My name is Hayden. I am working on communications between a machine running only the UEFI Shell and an external server via HTTP Protocol. The Shell binary I am using is built from ShellPkg in the stable/202011 stable release. The issue I am facing is that both the http command binary (also built from ShellPkg in stable/202011) and HttpUtil program (source code attached with this post; written by me, based on the sample code on page 1548-1553 in the UEFI Spec 2.8B May 2020 document) were denied access to my HTTP server. Execution quitted whenever the Request function of the HttpProtocol instance was reached and a status of 15 (EFI_ACCESS_DENIED) is returned. Both machines are connected to the same network via the Catalyst 2960 Plus switch and they can ping each other seamlessly every time. I have also attached a zip containing files used to set up my simple HTTP server using NodeJS.

Any recommendations or advice would be greatly appreciated. And please do not hesitate to contact me if you need more information.

Best regards,
Hayden