{"record":{"id":"9cb6584534275a54","repo":"Pumpkin-MC/Pumpkin","slug":"unable-to-verify-player-details","errorCode":null,"errorMessage":"Unable to verify player details","messagePattern":"Unable to verify player details","errorType":"error_code","errorClass":"VelocityError","httpStatus":null,"severity":"error","filePath":"crates/pumpkin/src/net/proxy/velocity.rs","lineNumber":33,"sourceCode":"use std::{\n    io::Read,\n    net::{IpAddr, SocketAddr},\n};\nuse thiserror::Error;\nuse tracing::debug;\n\nuse crate::net::{GameProfile, java::pending::PendingConnection};\n\ntype HmacSha256 = Hmac<Sha256>;\n\nconst MAX_SUPPORTED_FORWARDING_VERSION: u8 = 4;\nconst PLAYER_INFO_CHANNEL: &str = \"velocity:player_info\";\n\n#[derive(Error, Debug)]\npub enum VelocityError {\n    #[error(\"No response data received\")]\n    NoData,\n    #[error(\"Unable to verify player details\")]\n    FailedVerifyIntegrity,\n    #[error(\"Failed to read forward version\")]\n    FailedReadForwardVersion,\n    #[error(\"Unsupported forwarding version {0}. Maximum supported version is {1}\")]\n    UnsupportedForwardVersion(u8, u8),\n    #[error(\"Failed to read address\")]\n    FailedReadAddress,\n    #[error(\"Failed to parse address\")]\n    FailedParseAddress,\n    #[error(\"Failed to read game profile name\")]\n    FailedReadProfileName,\n    #[error(\"Failed to read game profile UUID\")]\n    FailedReadProfileUUID,\n    #[error(\"Failed to read game profile properties\")]\n    FailedReadProfileProperties,\n}\n\npub async fn velocity_login(connection: &mut PendingConnection) {","sourceCodeStart":15,"sourceCodeEnd":51,"githubUrl":"https://github.com/Pumpkin-MC/Pumpkin/blob/8d4639e25a57c15e47448ec327c780d41bbf2356/crates/pumpkin/src/net/proxy/velocity.rs#L15-L51","documentation":"VelocityError variant fired when the HMAC-SHA256 integrity check over the forwarded player data fails — the payload was tampered with or the forwarding secret mismatches between Velocity and the backend.","triggerScenarios":"Thrown at crates/pumpkin/src/net/proxy/velocity.rs:33 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Reject the connection as untrusted","Ensure Velocity's forwarding-secret file matches the backend config","Log the verification failure at warn level"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8d4639e25a57c15e47448ec327c780d41bbf2356","analyzedAt":"2026-09-09T15:32:22.916Z","contentChangedAt":"2026-09-09T15:32:22.916Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}