Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for 503 (0.02 sec)

  1. src/net/http/clientserver_test.go

    				gotpanic <- true
    
    				// Set an explicit 503. This also tests that the WriteHeader call panics
    				// before it recorded that an explicit value was set and that bogus
    				// value wasn't stuck.
    				w.WriteHeader(503)
    			}
    		}()
    		w.WriteHeader(0)
    	}))
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res.StatusCode != 503 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    	if cred.AccessKey != accessKey {
    		if !globalIAMSys.Initialized() {
    			// Check if server has initialized, then only proceed
    			// to check for IAM users otherwise its okay for clients
    			// to retry with 503 errors when server is coming up.
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    
    		// Check if the access key is part of users credentials.
    		u, ok, err := globalIAMSys.CheckKey(r.Context(), accessKey)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    				"SIMPLE TLS origination from egress gateway to https endpoint with fake root cert": {
    					destinationRuleMode: "SIMPLE",
    					code:                http.StatusServiceUnavailable,
    					gateway:             false, // 503 response will not contain header
    					fakeRootCert:        true,
    				},
    			}
    
    			for name, tc := range testCases {
    				t.NewSubTest(name).
    					Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

          MockResponse(
            code = 503,
            headers =
              headersOf(
                "Connection",
                "Close",
                "Retry-After",
                "0",
              ),
            body = "You took too long!",
            socketPolicy = DisconnectAtEnd,
          ),
        )
        server.enqueue(
          MockResponse(
            code = 503,
            headers =
              headersOf(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  5. src/main/config/openapi/openapi-user.yaml

              $ref: '#/components/responses/Unauthorized'
            '404':
              $ref: '#/components/responses/NotFound'
            '500':
              $ref: '#/components/responses/InternalServerError'
            '503':
              description: Service unavailable
              content:
                application/json:
                  schema:
                    type: object
                    properties:
                      data:
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. pkg/spiffe/spiffe_test.go

    			in:          input1,
    			extraCerts:  serverCerts,
    			statusCode:  http.StatusServiceUnavailable,
    			body:        `{"error": "system down"}`,
    			errContains: `unexpected status: 503, fetching bundle: {"error": "system down"}`,
    		},
    		{
    			name:        "Bundle contains no certificate",
    			in:          input1,
    			extraCerts:  serverCerts,
    			statusCode:  http.StatusOK,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. internal/s3select/unused-errors.go

    // //////////////////////////////////////////////////////////////////////
    func errBusy(err error) *s3Error {
    	return &s3Error{
    		code:       "Busy",
    		message:    "The service is unavailable. Please retry.",
    		statusCode: 503,
    		cause:      err,
    	}
    }
    
    func errUnauthorizedAccess(err error) *s3Error {
    	return &s3Error{
    		code:       "UnauthorizedAccess",
    		message:    "You are not authorized to perform this operation",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    	waitForeverUntilSignaled(t, signals.HTTPServerStoppedListening)
    
    	resultGot = doer.Do(newClient(true), shouldUseNewConnection(t), "/echo?message=request-on-a-new-tcp-connection-should-fail-with-503", time.Second)
    	if !utilnet.IsConnectionRefused(resultGot.err) {
    		t.Errorf("Expected error %v, but got: %v %v", syscall.ECONNREFUSED, resultGot.err, resultGot.response)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  9. index.yaml

        maintainers:
        - email: ******@****.***
          name: MinIO, Inc
        name: minio
        sources:
        - https://github.com/minio/minio
        urls:
        - https://charts.min.io/helm-releases/minio-5.0.3.tgz
        version: 5.0.3
      - apiVersion: v1
        appVersion: RELEASE.2022-12-12T19-27-27Z
        created: "2024-04-28T03:14:12.216041974-07:00"
        description: Multi-Cloud Object Storage
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    		}
    	}
    	if errors.Is(err, grid.ErrDisconnected) {
    		return true
    	}
    	// More corner cases suitable for storage REST API
    	switch {
    	// A peer node can be in shut down phase and proactively
    	// return 503 server closed error, consider it as an offline node
    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    		return true
    	// Corner case, the server closed the connection with a keep-alive timeout
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top