iis - OPTIONS request returns 500 when url length greater than 292 -


i'm setting application on customers server using same web.config have on 20 times before, except server return http 500 status when url length greater 292 chars

example:

options http://online.xxxxxxxxxx.com.au:8082/api/client/uploa?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa http/1.1 host: online.xxxxxxxxxx.com.au:8082 

returns

http/1.1 200 ok allow: options, trace, get, head, post server: microsoft-iis/10.0 public: options, trace, get, head, post x-powered-by: asp.net access-control-allow-origin: * access-control-allow-methods: get, put, post, delete, head, options access-control-allow-headers: origin, x-requested-with, content-type, accept date: sun, 10 sep 2017 23:22:02 gmt content-length: 0 

but if add 1 more character request url (as example) happens

example:

options http://online.xxxxxxxxxx.com.au:8082/api/client/uploa?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa http/1.1 host: online.xxxxxxxxxx.com.au:8082 

returns

http/1.1 504 fiddler - receive failure date: sun, 10 sep 2017 23:21:01 gmt content-type: text/html; charset=utf-8 connection: close cache-control: no-cache, must-revalidate timestamp: 11:21:01.536  [fiddler] readresponse() failed: server did not return complete response request. server returned 0 bytes.                                                                                                                                                                                                                                                                                                                                                                                                        

i have tried increasing different request limits in web.config these had no effect, problem occurs on preflight/options request, if issue http same url length, there no problem.

how can resolve this?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -