{"id":13515,"date":"2026-09-07T09:29:39","date_gmt":"2026-09-07T07:29:39","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=13515"},"modified":"2026-09-07T09:29:45","modified_gmt":"2026-09-07T07:29:45","slug":"cum-se-pot-diagnostica-erorile-http-folosind-instrumentele-de-dezvoltare-ale-browserului-curl-si-jurnalele-serverului","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/","title":{"rendered":"Cum se diagnosticheaz\u0103 erorile HTTP cu ajutorul instrumentelor de dezvoltare ale browserului, curl \u0219i jurnalele serverului"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">To diagnose HTTP errors, start with the browser request, continue with a direct <code>curl<\/code> test, and then match the request with entries in the <a href=\"https:\/\/mybox.com\/help\/ro\/baza-de-cunostinte\/jurnalele-serverului-web-si-ale-postei-electronice\/\">web server or mail logs<\/a>. Even when a browser shows only a generic 4xx or 5xx error page, the response contains useful evidence. This layered approach helps narrow the problem to the request, web server, proxy or CDN, or application.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#What_evidence_should_you_collect_first\" >What evidence should you collect first?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#Check_the_failed_request_in_browser_developer_tools\" >Check the failed request in browser developer tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#Use_the_status_code_to_choose_the_next_check\" >Use the status code to choose the next check<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#Repeat_the_request_with_curl\" >Repeat the request with curl<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#Measure_response_timing_when_speed_is_part_of_the_error\" >Measure response timing when speed is part of the error<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#Match_the_request_with_server_and_mail_logs\" >Match the request with server and mail logs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#Connect_each_finding_to_the_next_action\" >Connect each finding to the next action<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-diagnose-http-errors-with-browser-devtools-curl-and-server-logs\/#When_to_contact_support\" >When to contact support<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_evidence_should_you_collect_first\"><\/span>What evidence should you collect first?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Record the exact URL, the HTTP status code, the request method, and the time of the test. Keep the response headers and any visible response body. If the request was made from a page, also note the page URL that triggered it.<\/p>\n\n\n\n<\/div>\n\n<div id=\"mybox-2903601489\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Use the same URL for each test where possible. Consistent test details make it easier to compare the browser result, the server response, and the matching log entry.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Check_the_failed_request_in_browser_developer_tools\"><\/span>Check the failed request in browser developer tools<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the browser&#8217;s developer tools and select the network view.<\/li>\n\n\n\n<li>Reload the page or repeat the action that produces the error.<\/li>\n\n\n\n<li>Find the request with the 4xx or 5xx response.<\/li>\n\n\n\n<li>Open the request details and record the status code, request URL, method, response headers, and response body.<\/li>\n\n\n\n<li>Check whether other requests fail at the same time. Note whether the failed request is for the page itself, a script, a style file, an image, or an API endpoint.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The failed request identifies the resource that returned the error. If the main page succeeds but a script or API request fails, the problem is limited to that separate request rather than the complete page response.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_the_status_code_to_choose_the_next_check\"><\/span>Use the status code to choose the next check<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A <strong>403<\/strong> response means that access to the requested resource was denied. The server understood the request but refused to provide the content. This can affect website visitors and website owners, and the possible causes can differ between those situations. See <a href=\"https:\/\/mybox.com\/help\/ro\/baza-de-cunostinte\/motive-pentru-mesajul-403\/\">Reasons for Message 403<\/a> when the browser or command-line test returns 403.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For other 4xx and 5xx responses, keep the status code with the request details. The code tells you which response to compare with the server records, while the headers and response body may show whether the response came from the web server, an intermediate service, or the application.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Repeat_the_request_with_curl\"><\/span>Repeat the request with curl<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run the request from a shell where SSH access to the server is available. The <code>curl<\/code> command-line tool can measure how quickly a server responds without relying on external testing services. This makes it useful for checking whether the response is reproducible outside the browser. See <a href=\"https:\/\/mybox.com\/help\/ro\/baza-de-cunostinte\/verificarea-timpului-de-raspuns-al-site-ului-web-prin-intermediul-consolei-ssh\/\">Checking Website Response Time via Console (SSH)<\/a>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Run <code>curl -I https:\/\/example.com\/path<\/code> to request the response headers for the affected URL.<\/li>\n\n\n\n<li>Record the returned HTTP status and headers.<\/li>\n\n\n\n<li>Compare the result with the status and headers captured in the browser.<\/li>\n\n\n\n<li>Run the same test again if the result changes between requests, and record the time of each test.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Replace the example address with the exact URL that failed. A matching status in the browser and in <code>curl<\/code> shows that the response can be reproduced outside the browser. A different result means the two requests need closer comparison, including the URL and request method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Measure_response_timing_when_speed_is_part_of_the_error\"><\/span>Measure response timing when speed is part of the error<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A response can be technically returned while the underlying request remains slow. With SSH access, use <code>curl<\/code> to gather detailed timing information about the server response. Record the timing output beside the URL, status code, and test time. This gives the log review a precise time window and helps separate a slow response from an immediate error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Repeat the timing check for the same URL. If the response time changes, keep each result rather than using only the fastest or slowest test.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Match_the_request_with_server_and_mail_logs\"><\/span>Match the request with server and mail logs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use the recorded test time to select the matching period in the logs.<\/li>\n\n\n\n<li>Search for the requested path or other request details shown by the browser and <code>curl<\/code>.<\/li>\n\n\n\n<li>Compare the logged response with the status code returned to the browser.<\/li>\n\n\n\n<li>Note any script execution errors or incorrect server responses recorded at the same time.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Web and mail server logs are diagnostic records for website errors and email delivery issues. They can show script execution errors, incorrect server responses, problems with the PHP <code>mail()<\/code> function, and failed or blocked email sending. Use <a href=\"https:\/\/mybox.com\/help\/ro\/baza-de-cunostinte\/jurnalele-serverului-web-si-ale-postei-electronice\/\">Web server and mail logs<\/a> when the browser response alone does not identify the cause.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Connect_each_finding_to_the_next_action\"><\/span>Connect each finding to the next action<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Finding<\/th><th>What it indicates<\/th><th>Next action<\/th><\/tr><\/thead><tbody><tr><td>The browser request fails<\/td><td>A specific resource returned an error.<\/td><td>Record its URL, method, status, headers, and response body.<\/td><\/tr><tr><td>The same status appears in <code>curl<\/code><\/td><td>The response is reproducible outside the browser.<\/td><td>Use the matching time and request details to inspect server logs.<\/td><\/tr><tr><td>The response is 403<\/td><td>Access to the requested resource was denied.<\/td><td>Review the 403 causes and the related server evidence.<\/td><\/tr><tr><td>Logs show a script execution error<\/td><td>The application or script is involved in the failed response.<\/td><td>Use the affected request and log time to identify the script path.<\/td><\/tr><tr><td>Logs show an incorrect server response<\/td><td>The web server recorded a response problem.<\/td><td>Compare that entry with the status and headers captured by both tests.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_to_contact_support\"><\/span>When to contact support<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Contact support with the exact URL, status code, request time, browser evidence, <code>curl<\/code> output, response timing, and the matching log lines. Include whether the response was 403, another 4xx status, or a 5xx status. This gives support a focused set of details for checking the web server, the request path, and the application evidence together.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[43],"manual_kb_tag":[],"class_list":["post-13515","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-website-errors"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/13515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/13515\/revisions"}],"predecessor-version":[{"id":13516,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/13515\/revisions\/13516"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=13515"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=13515"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=13515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}