Questions tagged [http-status-code-500]

Use for questions where the server throws 500 Internal Server Error and the server is not in your control. For servers in your control, look through the server logs to pinpoint the actual problem

The 500 Internal Server Error is a catch-all error code that can mean literally anything. Instead, look through server logs, etc and try to pinpoint the actual problem and tag it accordingly.

The relevant section of the HTTP protocol:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

More information about codes returned from IIS 7:
http://support.microsoft.com/kb/943891

745 questions
0
votes
2 answers

Unable to call php function if sql record exists

I have this code:
user10059970
0
votes
1 answer

Heroku Rails API giving 500 Internal Server Error with Post fetch request

I am trying to make a POST request to my Rails API that is uploaded to Heroku. Currently I am testing with postman just to make sure it is working there before continuing to test between heroku apps. Locally I am able to interact with my React…
Roger Perez
  • 2,807
  • 29
  • 31
0
votes
1 answer

Reverse proxy setup on haproxy gives 500; wget on base server & nginx works

I am trying to setup haproxy as a reverse proxy for a server. I am on Centos. The config goes like this: global #log /dev/log local0 #log /dev/log local1 notice log 127.0.0.1 local2 info log 127.0.0.1 local2 notice log 127.0.0.1…
0
votes
1 answer

500 Internal server error received on python get request, the same url works in browser

I am trying to open and download pdfs using python requests based on urls I get from an API. This works for many of the files, but for files stored at one specific site I get a 500 Internal Server error response. In the respone there is a simple…
Stian
  • 1,221
  • 1
  • 19
  • 26
0
votes
1 answer

NodeJS server - client behaves differently for response status 500, depending on response body

I have set up a NodeJS server, listening on localhost:3000, and I am testing it with Chrome browser. When the response status code is 500: If the response body is empty, then the client shows: This page isn’t working localhost is currently unable…
goodvibration
  • 5,980
  • 4
  • 28
  • 61
0
votes
1 answer

PHP MySQL Login works on Local Server but not on Public Server

I played around a bit with a PHP and MySQL Login and realized its pretty easy to sql inject. So I changed a few things so instead of $query I used $smtp and so on. The page loads and works on my local server (xammp) but when I upload it to my public…
user7972497
0
votes
1 answer

How do I troubleshoot status code 500 error for admin-ajax.php

I'm getting a status code 500 error when submitting a form on my WordPress website and I was wondering where I can even begin to look into what is causing the error?
user3246980
0
votes
0 answers

500 Internal Server Error while using httppost and sending multipart form data

I am sending multipart form data to my server but it gives Internal Server error. The same request gives a successful response in postman but it throws internal server error when I do it in android. Can someone help me? Thanks. Below is my code …
0
votes
2 answers

Flask static files return 500 error

I am trying to reference a static file with the following command, from within the template (index.html) file. {{ url_for('static', filename='test.css') }} However, I receive the following 500 error: 127.0.0.1 - - [13/May/2018 21:34:49] "GET /…
0
votes
1 answer

Internal Server Error on adding ContentNegotiatingViewResolver

I have added the 'ContentNegotiatingViewResolver' but after that, I'm getting 500 error. Can you help in getting to what can be wrong? I already have the InternalResourceViewResolver which works fine. servlet-config.xml :
0
votes
0 answers

Getting an error 500 instead of an error 404 when requesting a wrong adress

I'm currently having an issue with my .htaccess file. I have set some ErrorDocuments and in order to have my own files to show when an error is occuring but I'm having an issue with the 404. I'm pretty sure that my .htaccess file is corrupted as…
0
votes
1 answer

Symfony response->send() returns 500 error

In symfony3 I'm trying to save a cookie. But when the cookie is made the first time, it returns a 500 error. This is the code to create the cookie: protected function checkForCartId(Request $request) { if(!empty($this->uniqueCartId)) { …
Refilon
  • 3,334
  • 1
  • 27
  • 51
0
votes
1 answer

Lyft API Cancel Ride not working

Following the documentation from Lyft, I have https://api.lyft.com/v1/rides//cancel with Authorization and Content-Type Header but the server is constantly returning 500 internal server error So authorization passes (Bearer is…
0
votes
0 answers

http 500 error trying to PDO:bindParam

I am trying to create a register form. Having it sucessfully executed in my localhost (XAMPP), I uploaded it to a webserver(000webhost). But when I ran the file, the browser gave me a 500 http error. I tried to debug the code, and figured out that…
Hoàng Tùng
  • 100
  • 1
  • 2
  • 10
0
votes
0 answers

500 internal server error when calling a servlet from Unity script

I want to get a string variable (called level) from a servlet n C# (Unity script). For build reasons I call the servlet using www. The code in my C# script is: public void setLevel() { string url = "http://localhost:8080/my_project/servlet"; …
Soufien Hajji
  • 477
  • 1
  • 8
  • 24