414 Request uri too large что значит?

9 ответов на вопрос “414 Request uri too large что значит?”

  1. Centririm Ответить

    What is Error 414

    The Web server (running the Web site) thinks that the HTTP data stream sent by the client (e.g. your Web browser or our CheckUpDown robot) contains a URL that is simply too large i.e. too many bytes.
    Typically Web servers set fairly generous limits on length for genuine URLs e.g. up to 2048 or 4096 characters. If your URL is particularly long, you can usually try shorter variations to see roughly where the limit is. If your long URL is indeed valid, then the Web server may need to be reconfigured to allow your URLs through. Understand that Web servers have to set some reasonable limit here, because they have to deal with badly programmed clients trying to give them huge garbage URLs.

    Fixing 414 errors – general

    This error seldom occurs in most Web traffic, particularly when the client system is a Web browser. The URLs in this case are typically standard hyperlinks found on Web pages. These links tend to be too large if they are simply wrong i.e. the Web page containing the link has been badly coded.
    If your client system is not a Web browser, the problem can only be resolved by examining what the client is trying to do then discussing with your ISP why the Web server rejects the size of the URL sent by the client system.

    Fixing 414 errors – CheckUpDown

    Our service monitors your site for HTTP errors like 414. This error should simply never occur on your CheckUpDown account. If it does, it typically indicates defective programming of our systems or of the Web server which manages the site. The length of the URL we send in the HTTP data stream is typically relatively small and well within the limits of what most Web servers should accept. You can test this for yourself by simply keying the URL into any Web browser.
    Please contact us (email preferred) whenever you encounter 414 errors – there is nothing you can do to sort them out. We then have to liaise with your ISP and the vendor of the Web server software to agree the exact reason for the error.

  2. Keralv Ответить

    У меня небольшое приложение в С# 4.0. Удаленным сервером является Apache2.
    У меня проблема с ошибкой: на удаленном сервере появилась ошибка: (414) Request-URI Too Large, когда я отправляю сюда данные с использованием метода POST.
    Я пытаюсь использовать этот код для подключения к apache2:
    String mainAddressWebApi = “http://myremoteserver.domain.pl/alias/index.php”;
    private HttpWebRequest request;
    request = (HttpWebRequest)WebRequest.Create(this.mainAddressWebApi);
    request.Method = “POST”;
    request.ContentType = “application/x-www-form-urlencoded”;
    request.Referer = “http://stackoverflow.com”;
    request.UserAgent = “Mozilla/5.0”;
    request.CookieContainer = cookie;
    NetworkCredential credentials = new NetworkCredential(“login”, “password”);
    this.request.Credentials = credentials;
    Byte[] byteData = utf8.GetBytes(data);
    request.ContentLength = byteData.Length;
    Stream newstream = request.GetRequestStream();
    newstream.Write(byteData, 0, byteData.Length);
    newstream.Close();
    this.response = (HttpWebResponse)request.GetResponse(); //I get error here
    Данные должны отправляться с использованием POST. Данные имеют макс. До 2 мб. Вы можете мне помочь?

  3. VideoAnswer Ответить

  4. VideoAnswer Ответить

  5. VideoAnswer Ответить

Добавить ответ

Ваш e-mail не будет опубликован. Обязательные поля помечены *