Questions tagged [http-status-code-505]

505 HTTP Version not supported. The Server denies delivering data in this HTTP Version. Use this Tag if you encounter this error message.

There are currently two HTTP Versions in use: 1.0 and 1.1. They differ in various connection type elements (keep-alive, pipelining etc.). By default 1.1 is used and most Servers support both modes.

Sometimes this error is also produced if the client fails to send a (valid) HTTP Version.

This error is part of the negotiation phase of the connection and will be thrown before the server parses other data of the request.

20 questions
33
votes
4 answers

WSDL on SQL Server gives HTTP status 505 Version Not Supported

I am a DBA, not a developer, so forgive me if this is a silly question. But we are having issues with a SQL Server 2005 Web Service end point. On the local network I am able to add the reference in Visual Studio 2010 with out any issues. It uses…
22
votes
5 answers

java.io.IOException: Server returns HTTP response code 505

I have HTML based queries in my code and one specific kind seems to give rise to IOExceptions upon receiving 505 response from the server. I have looked up the 505 response along with other people who seemed to have similar problems. Apparently 505…
posdef
  • 6,498
  • 11
  • 46
  • 94
5
votes
2 answers

How do I change the http version of my web method call to stop 505 error?

I need to get some data from a service provider and have configured our .net app to point to their hosted web service to get the data. Using the code below, when the web method is called (ws.DoTransfer) I get the following error... private void…
Karl
  • 912
  • 2
  • 16
  • 28
4
votes
2 answers

How to avoid "505: HTTP Version not supported" error?

I am trying to use the Bing SOAP API for a simple search request. But now that I finally figured out how to send the request using JAX-WS, I am stuck again. I get the reply com.sun.xml.internal.ws.client.ClientTransportException: The server sent…
moxn
  • 1,790
  • 1
  • 15
  • 34
3
votes
1 answer

getting 505 responce from server

Hi in my android project i m calling a webservice and sending get parameter through query string parameter , now problem is that if query string parameter value contains any white space then i am getting 505 error URL url = new…
neeraj t
  • 4,654
  • 2
  • 27
  • 30
2
votes
1 answer

Tomcat returns 505 for request URI with spaces

I'm using embedded Tomcat 9.0.13 in my springboot2 app sitting behind a nginx reverse proxy. When I send a request with space, it returns 505. The request isn't even passed into the servlet so I am unable to add custom error handling in the…
Jerald Baker
  • 1,121
  • 1
  • 12
  • 48
2
votes
2 answers

Getting 505 HTTP Version Not Supported on HTTPS but not on HTTP

I am trying to call a GET api with a parameter which has space in it: https://abc.xyz/search/web/buildings/search/v2/city/new%20york The endpoint hits load balancer (nginx) which redirects the request to a suitable machine. In the response, I get…
vishalaksh
  • 2,054
  • 5
  • 27
  • 45
1
vote
1 answer

How to use Javascript to reload requested page from custom 505 error?

I've created a custom 505 error page for my site (as the default one that shows up is pretty nasty on the eyes). Everything is as it should be but I'm unsure about my usage of JS, I am trying to link the 'Retry' button in this image: to a…
user5887886
1
vote
1 answer

Rewrite everything to index.php?

This is a quick question. How do I change the .htaccess file to rewrite everything to redirect it to the index.php file? When I'm removing the line of RewriteCond I'll get an 505 Internal Server Error. This is my .htaccess file: RewriteEngine…
AlexioVay
  • 4,338
  • 2
  • 31
  • 49
1
vote
2 answers

cURL request giving me 505 http code.What to do

I was not getting the xml response which I was supposed to get when I excecuted the curl. But when curl getinfo, I'm getting the response code…
Piya
  • 1,134
  • 4
  • 22
  • 42
0
votes
0 answers

POST http://localhost:1337/openai/text 505 (HTTP Version Not Supported)

I am creating a chat with AI GPT, but I'm getting an error 505 (HTTP Version Not Supported) when trying to use the following code: router.post("/text", async (req, res) => { try { const { text, activeChatId } = req.body; …
0
votes
1 answer

datahub 505 HTTP Version Not Supported

I have started datahub with steps from https://datahubproject.io/docs/quickstart and then add nginx with conf upstream datahub-front { server localhost:9002; } server { server_name datahub.myhost.com; location / { proxy_pass…
Ryabchenko Alexander
  • 10,057
  • 7
  • 56
  • 88
0
votes
1 answer

Internal Server Error after install 2.3.6 problem apache

I need help with the installation of Magento 2.3.6 this is returning an error in apache: core: alert] [pid 23385] [client 179.232.122.240:2423] .htaccess: Invalid comid command 'SetEnv', perhaps misspelled or defined by a module not included in the…
0
votes
1 answer

Unable to post data to my API from a react form

I want to post data to my API from this form. But unfortunately, there is a Server error. Could anybody tell what exactly is the problem? (I observed that the id is not being generated for the object) This is the error that I'm getting in the…
Manisha
  • 23
  • 4
0
votes
0 answers

An error occurred (505) when calling the CreateHITWithHITType operation: HTTP Version Not Support

I'm using boto3 to create hit on mturk and I'm using my customized Hit type. The problem is that sometimes the hit could be create successfully but most of the time it failed with the following error: botocore.exceptions.ClientError: An error…
jia chen
  • 1
  • 1
1
2