{"record":{"id":"eba06a7e753198a3","repo":"AlistGo/alist","slug":"failed-to-start-temp-server-w","errorCode":null,"errorMessage":"failed to start temp server: %w","messagePattern":"failed to start temp server: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/proton_drive/driver.go","lineNumber":256,"sourceCode":"\t\t\tName:     entry.Name,\n\t\t\tSize:     entry.Link.Size,\n\t\t\tModified: time.Unix(entry.Link.ModifyTime, 0),\n\t\t\tIsFolder: entry.IsFolder,\n\t\t}\n\t\tobjects = append(objects, obj)\n\t}\n\n\treturn objects, nil\n}\n\nfunc (d *ProtonDrive) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) {\n\tlink, err := d.searchByPath(ctx, file.GetPath(), false)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tif err := d.ensureTempServer(); err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to start temp server: %w\", err)\n\t}\n\n\ttoken := d.generateDownloadToken(link.LinkID, file.GetName())\n\n\t/* return &model.Link{\n\t\tURL: fmt.Sprintf(\"protondrive://download/%s\", link.LinkID),\n\t}, nil */\n\n\treturn &model.Link{\n\t\tURL: fmt.Sprintf(\"http://localhost:%d/temp/%s\", d.tempServerPort, token),\n\t}, nil\n}\n\nfunc (d *ProtonDrive) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error) {\n\tvar parentLinkID string\n\n\tif parentDir.GetPath() == \"/\" {\n\t\tparentLinkID = d.protonDrive.RootLink.LinkID","sourceCodeStart":238,"sourceCodeEnd":274,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/proton_drive/driver.go#L238-L274","documentation":"Error \"failed to start temp server: %w\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/proton_drive/driver.go:256 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}