{"record":{"id":"b32ac8b2448009cd","repo":"netbirdio/netbird","slug":"device-is-not-ready-yet","errorCode":null,"errorMessage":"device is not ready yet","messagePattern":"device is not ready yet","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"client/iface/device/device_kernel_unix.go","lineNumber":86,"sourceCode":"\t\treturn nil, fmt.Errorf(\"set mtu: %w\", err)\n\t}\n\n\tconfigurer := configurer.NewKernelConfigurer(t.name)\n\n\tif err := configurer.ConfigureInterface(t.key, t.wgPort); err != nil {\n\t\treturn nil, fmt.Errorf(\"error configuring interface: %s\", err)\n\t}\n\n\treturn configurer, nil\n}\n\nfunc (t *TunKernelDevice) Up() (*udpmux.UniversalUDPMuxDefault, error) {\n\tif t.udpMux != nil {\n\t\treturn t.udpMux, nil\n\t}\n\n\tif t.link == nil {\n\t\treturn nil, fmt.Errorf(\"device is not ready yet\")\n\t}\n\n\tlog.Debugf(\"bringing up interface: %s\", t.name)\n\n\tif err := t.link.up(); err != nil {\n\t\tlog.Errorf(\"error bringing up interface: %s\", t.name)\n\n\t\treturn nil, err\n\t}\n\n\trawSock, err := sharedsock.Listen(t.wgPort, sharedsock.NewIncomingSTUNFilter(), t.mtu)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tbindParams := udpmux.UniversalUDPMuxParams{\n\t\tUDPConn:   nbnet.WrapPacketConn(rawSock),\n\t\tNet:       t.transportNet,","sourceCodeStart":68,"sourceCodeEnd":104,"githubUrl":"https://github.com/netbirdio/netbird/blob/93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c/client/iface/device/device_kernel_unix.go#L68-L104","documentation":"Error \"device is not ready yet\" thrown in netbirdio/netbird.","triggerScenarios":"Thrown at client/iface/device/device_kernel_unix.go:86 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c","analyzedAt":"2026-08-16T03:09:19.136Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}