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
0 answers

PHP CURL POST method is giving 500 response code

Hi I know that there are similar questions already in there but I have ruled them out. So I am trying to make a simple POST method with curl and keep getting error 500. Have I missed something ? // Get cURL resource $curl = curl_init(); //POST…
0
votes
1 answer

error with an url that does not exist in my project in django

I was having this issue just in my production environment. I have an icon that is in my static files. I can load it through https://mydomain/static/img/favico.ico, but at the same time I get a 500 error for the following url…
0
votes
1 answer

Downloading xls/csv files using urlretrieve from Python stops

I´m trying to download a bunch of xls files from this ASPX site and its folders using urlretrieve from urllib.request module in Python3.7. First, I build a txt file with the urls from the site. Then, I loop over the list and ask the server to…
0
votes
1 answer

Symfony 4, how return properly a error 500 server from a service Class

From a Service class, how manage exceptions and return an error 500 ? By example, I have a service class 'A' called from another service Class 'B'. The content of the service 'A' is : namespace App\Service; use ... class A { ... public…
spacecodeur
  • 2,206
  • 7
  • 35
  • 71
0
votes
1 answer

array as params is not working with Alamofire

I have an API where I need to send data as object so there I pass data as below and it works fine. ["fname" : "First 1", "lname": "Last 1"] But for one of the API, web developer need API as Array as below. [["fname" : "First 1", "lname": "Last…
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
0
votes
0 answers

Java HttpURLConnection invoke remote server and returned 500 status

I want to invoke remote server using HttpURLConnection, here is my function: public String invokeAwvsServer(String api, String param, String method){ System.out.println(api+param); BufferedReader reader = null; HttpURLConnection…
lokiii
  • 15
  • 4
0
votes
2 answers

How to fix HTTP ERROR 500 cpanel - laravel

I am trying to deploy a Laravel application on a shared hosting but I am getting HTTP ERROR 500 when I try to access the web in the browser. I have configured my index.php file, and my php version is 5.6. Does anyone know how I can fix this? Here…
Real Moise
  • 27
  • 1
  • 7
0
votes
1 answer

HTTPS Status 500 after deploy on Heroku - Java, Maven

I've created a web app using Java and Maven (here is my project: https://github.com/lkobylanski/Parking_Book_System_Java). Its simple parking space reservation system. It works perfectly fine on my local tomcat. However when I deployed it on Heroku…
Luke_Nuke
  • 461
  • 2
  • 6
  • 23
0
votes
1 answer

Laravel 5.6 -> POST http://127.0.0.1:8000/posts 500 (Internal Server Error)

When I Am trying to access API and add the protected $appends = ['avatar'] it gives me the error while in case I remove the $appends the error go.
0
votes
0 answers

Blank page and error 500 on ubuntu virtual desktop 18.04 respect to ubuntu server

Hy, I've an Ubuntu server 18.04 where the following addresses of my web application are correctly working: http://server:port/user-dashboards/solergy/ http://server:port/ instead on an ubuntu 18.04 with virtual desktop enabled only the first is…
Etantonio
  • 359
  • 1
  • 5
  • 13
0
votes
0 answers

Status 500 for POST requests in django on IIS

Dear StackOverflow community, your help would be greatly appreciated. I have zero experience with IIS. Unfortunately, a Windows Server 2012 with IIS 8.5 is all I can get for the current project. I followed this post by Matt Woodward to get my Django…
evnica
  • 300
  • 3
  • 11
0
votes
0 answers

Return nothing or Error 500 when posting JSON by Python requests?

I have a crawl-data task, after inspecting the URL with Firefox F12 (DevTools), I find that the site needs a JSON array input looks like: phyIDs: Array 0: "FDER047ERDF" and returns some data also in JSON format: trueIDs: Array 0:…
0
votes
1 answer

Last insert ID with doctrine causes 500 error PHP

I have this web module on PHP we just migrated to PHP 7.2 from 5.3. We started using doctrine too and everything was working correctly. Suddenly the web module started showing random 500 errors. Not even on the same actions. I still haven't figured…
0
votes
1 answer

Laravel 5.2 throws HTTP ERROR 500

I am using laravel 5.2 setup of pre-built project. I am looking to show errors on browser window for any issue happens. I know a simple step to do that which is to modify the APP_DEBUG to true in .env file which is pointed by app.php config file…
DIGVJSS
  • 463
  • 1
  • 10
  • 21
0
votes
0 answers

The remote server returned an error: (500) Internal Server Error. - URL created by IBM ICN

I am creating a console application in C# to check if URL is up and running using HttpWebRequest. Note that the URL is generated by IBM's ICN (IBM Content Navigator). It is NOT hosted using IIS. I am receiving the below error while trying to get…