By Bob Johnson
Temperature: 65.98 F [HTTP] begin… [HTTP] GET… [HTTP] GET… code: 500
this is from my device that is sending to droplet
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
A 500 error wouldn’t be related to your firewall; as it’s a server error. This means the request has reached your server, but the server isn’t processing it normally for some reason.
It’s impossible to know from this error what the exact problem is, for that you’d need to check your Apache logs. You can do this with:
sudo tail -20 /var/log/apache2/error.log
That should tell you exactly why that request is failing.
Regards, Darian Platform Support Advocate
This comment has been deleted
Hi @rbjassoc
No, error code 500 means that something went wrong on the server. Read more here: https://www.digitalocean.com/community/tutorials/how-to-troubleshoot-common-http-error-codes#500-internal-server-error
But we have to look at the error log to see more information. Unless the default error log location is changed, then use this command to show the last 30 lines:
tail -30 /var/log/apache2/error.log
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.