Question

trying to send a GET http to my Ubuntu LAMP on 14.04 install, I get a code 500. wonder if this is a firewall issue

Temperature: 65.98 F [HTTP] begin… [HTTP] GET… [HTTP] GET… code: 500

this is from my device that is sending to droplet


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

here is the error [Sun Jul 16 14:51:05.865836 2017] [:error] [pid 23672] [client 209.32.117.251:61 31] PHP Parse error: syntax error, unexpected ‘}’ in /var/www/html/do071617.php on line 32

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

This comment has been deleted