Printer Registration Failed

%3CLINGO-SUB%20id%3D%22lingo-sub-1352461%22%20slang%3D%22en-US%22%3EPrinter%20Registration%20Failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1352461%22%20slang%3D%22en-US%22%3E%3CP%3ERegister%20printer%20start%3A%20HPD24535%20(HP%20OfficeJet%20Pro%208740)%3CBR%20%2F%3ESending%20Registration%20Request...%20System.Net.Http.HttpRequestException%3A%20An%20error%20occurred%20while%20sending%20the%20request.%20---%26gt%3B%20System.Net.WebException%3A%20Unable%20to%20connect%20to%20the%20remote%20server%20---%26gt%3B%20System.Net.Sockets.SocketException%3A%20No%20connection%20could%20be%20made%20because%20the%20target%20machine%20actively%20refused%20it%20127.0.0.1%3A1080%3CBR%20%2F%3Eat%20System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult%20asyncResult)%3CBR%20%2F%3Eat%20System.Net.Sockets.Socket.EndConnect(IAsyncResult%20asyncResult)%3CBR%20%2F%3Eat%20System.Net.ServicePoint.ConnectSocketInternal(Boolean%20connectFailure%2C%20Socket%20s4%2C%20Socket%20s6%2C%20Socket%26amp%3B%20socket%2C%20IPAddress%26amp%3B%20address%2C%20ConnectSocketState%20state%2C%20IAsyncResult%20asyncResult%2C%20Exception%26amp%3B%20exception)%3CBR%20%2F%3E---%20End%20of%20inner%20exception%20stack%20trace%20---%3CBR%20%2F%3Eat%20System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult%20asyncResult%2C%20TransportContext%26amp%3B%20context)%3CBR%20%2F%3Eat%20System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult%20ar)%3CBR%20%2F%3E---%20End%20of%20inner%20exception%20stack%20trace%20---%3CBR%20%2F%3Eat%20System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()%3CBR%20%2F%3Eat%20System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task%20task)%3CBR%20%2F%3Eat%20ProxyLibrary.RegisterHelper.%3CSENDREGISTRATIONREQUEST%3Ed__9.MoveNext()%3CBR%20%2F%3E---%20End%20of%20stack%20trace%20from%20previous%20location%20where%20exception%20was%20thrown%20---%3CBR%20%2F%3Eat%20System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()%3CBR%20%2F%3Eat%20System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task%20task)%3CBR%20%2F%3Eat%20ProxyLibrary.Register.%3CREGISTERPRINTER%3Ed__27.MoveNext()%3C%2FREGISTERPRINTER%3E%3C%2FSENDREGISTRATIONREQUEST%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1354208%22%20slang%3D%22en-US%22%3ERe%3A%20Printer%20Registration%20Failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1354208%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F644169%22%20target%3D%22_blank%22%3E%40Cj1977%3C%2FA%3E%26nbsp%3Bcan%20you%20try%20restarting%20the%20physical%20printer%2C%20restart%20the%20connector%20service%20and%20try%20to%20register%20the%20printer%20again%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20the%20issue%20persists%2C%20I%20recommend%20filing%20a%20support%20case.%20Support%20request%20can%20be%20created%20using%20one%20of%20the%20following%20(based%20on%20your%20Support%20plan%20with%20Microsoft)%3A%3C%2FP%3E%0A%3CUL%20style%3D%22margin-left%3A%20.375in%3B%20direction%3A%20ltr%3B%20unicode-bidi%3A%20embed%3B%20margin-top%3A%200in%3B%20margin-bottom%3A%200in%3B%22%20type%3D%22disc%22%3E%0A%3CUL%20style%3D%22margin-left%3A%20.75in%3B%20direction%3A%20ltr%3B%20unicode-bidi%3A%20embed%3B%20margin-top%3A%200in%3B%20margin-bottom%3A%200in%3B%22%20type%3D%22square%22%3E%0A%3CLI%20style%3D%22margin-top%3A%200%3B%20margin-bottom%3A%200%3B%20vertical-align%3A%20middle%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EWindows%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhub%2F4343728%2Fsupport-for-business%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3ESupport%20for%20Business%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%200%3B%20margin-bottom%3A%200%3B%20vertical-align%3A%20middle%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fupsupport-azureportal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EAzure%20Support%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%200%3B%20margin-bottom%3A%200%3B%20vertical-align%3A%20middle%3B%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fserviceshub.microsoft.com%2Fsupport%2Fcontactsupport%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EServices%20Hub%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Register printer start: HPD24535 (HP OfficeJet Pro 8740)
Sending Registration Request... System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:1080
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ProxyLibrary.RegisterHelper.<SendRegistrationRequest>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ProxyLibrary.Register.<RegisterPrinter>d__27.MoveNext()

1 Reply

@Cj1977 can you try restarting the physical printer, restart the connector service and try to register the printer again?

 

If the issue persists, I recommend filing a support case. Support request can be created using one of the following (based on your Support plan with Microsoft):