Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for debugging (0.34 sec)

  1. internal/config/identity/tls/config.go

    	// when requesting temp. credentials.
    	// By default, MinIO always verify the client certificate.
    	//
    	// The client certificate verification should only be skipped
    	// when debugging or testing a setup since it allows arbitrary
    	// clients to obtain temp. credentials with arbitrary policy
    	// permissions - including admin permissions.
    	EnvIdentityTLSSkipVerify = "MINIO_IDENTITY_TLS_SKIP_VERIFY"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. internal/config/identity/openid/providercfg.go

    		Transport: transport,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return nil, err
    	}
    
    	defer xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    		// reqBytes, _ := httputil.DumpRequest(req, false)
    		// fmt.Println(string(reqBytes))
    		// respBytes, _ := httputil.DumpResponse(resp, true)
    		// fmt.Println(string(respBytes))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    	// corner case errors for which introducing new APIErrorCode is not worth it. LogIf()
    	// should be used to log the error at the source of the error for debugging purposes.
    	ErrInvalidRequest: {
    		Code:           "InvalidRequest",
    		Description:    "Invalid Request",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrHealNotImplemented: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/metrics-v2.go

    					append(labels, metric.HistogramBucketLabel),
    					metric.StaticLabels,
    				),
    				prometheus.GaugeValue,
    				float64(v),
    				append(values, k)...)
    			if err != nil {
    				// Enable for debugging
    				if serverDebugLog {
    					bugLogIf(GlobalContext, fmt.Errorf("unable to validate prometheus metric (%w) %v+%v", err, values, metric.Histogram))
    				}
    			} else {
    				out <- pmetric
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				peersLogIf(ctx, err)
    			}
    		}
    		if err != nil {
    			break
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    	ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.Acquire)
    	defer cancel()
    
    	// Special context for NetLockers - do not use timeouts.
    	// Also, pass the trace context info if found for debugging
    	netLockCtx := context.Background()
    	tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    	if ok {
    		netLockCtx = context.WithValue(netLockCtx, mcontext.ContextTraceKey, tc)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers-site-replication.go

    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				adminLogIf(ctx, err)
    			}
    		}
    		if err != nil {
    			if errors.Is(err, io.EOF) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				adminLogIf(ctx, err)
    			}
    		}
    		totalRx += n
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top