diff --git a/test/app-tap/http_client.test.lua b/test/app-tap/http_client.test.lua
index 4eee21ebbe9f0dd66dddcfbd3adb18dd0687a0b0..9b911bc2618a6daded298b12350693b87cd058f4 100755
--- a/test/app-tap/http_client.test.lua
+++ b/test/app-tap/http_client.test.lua
@@ -559,14 +559,16 @@ local function test_concurrent(test, url, opts)
 end
 
 function run_tests(test, sock_family, sock_addr)
-    test:plan(11)
+    test:plan(10)
     local server, url, opts = start_server(test, sock_family, sock_addr)
     test:test("http.client", test_http_client, url, opts)
     test:test("http.client headers redefine", test_http_client_headers_redefine,
               url, opts)
     test:test("cancel and errinj", test_cancel_and_errinj, url .. 'long_query', opts)
     test:test("basic http post/get", test_post_and_get, url, opts)
-    test:test("errors", test_errors)
+-- disabled, please make test local, the internet is not always available
+-- and quick during a test, gh-4254
+--    test:test("errors", test_errors)
     test:test("request_headers", test_request_headers, url, opts)
     test:test("headers", test_headers, url, opts)
     test:test("special methods", test_special_methods, url, opts)