Request Header Fields Too Large

Hello all,
I am using pinggy to tunnel to an embedded device on my local network. I am getting the above error. I am assuming these headers are coming from the webpage my device serves (an esp32) to pinggy. I have limited the length of any header to be 512 bytes from 1024 bytes and still get this error. I have looked at the request headers sent by the browser and nothing looks to long or out of place. I have not used a service like this before so I don’t know all the ins and outs and what to look for. When I run my server within the local network everything runs fine. Let me know how i can better troubleshoot this problem.
Thanks

Hi, will it be possible to share the screenshot of the headers that are being sent?
What the client here? A browser or something else?

My version of linux was about 5 years old. I forget what the error was but I was not using an updated version of some software. Anyways I updated and now it works. Thanks

I spoke to soon. Here are the screen shots of the headers for when attempting to connect using the pinggy ip and when connecting using my local ip


My headers length on my server was set to 512. I increased it to 2048 because the it had also failed at 1024. So now its working.