Home

WAC 1808 File Copy errors and powershell disconnecting...

%3CLINGO-SUB%20id%3D%22lingo-sub-257019%22%20slang%3D%22en-US%22%3EWAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-257019%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20few%20gateway%20%22WACs%22%20deployed%20in%20our%20however%20there%20is%20some%20%22behind%20the%20scenes%22%20security%20mechanism%20that%20prevents%20me%20from%3A%3C%2FP%3E%3CP%3E1.%20Running%20powershell%20on%20a%20remote%20computer%20(it%20disconnect%20immediately%20although%20domain%20permissions%20are%20ok%20and%20when%20I%20run%20powershell%20on%20the%20computer%20without%20WAC%20all%20works%20ok.%20So%20it%20is%20not%20permissions%20issue.%20That%20applies%20to%20all%20machines%20not%20particular%20OS%20of%20the%20server%3CBR%20%2F%3E2.%20I%20am%20not%20able%20to%20copy%20files%20(upload)%20to%20a%20remote%20server%20getting%20following%20error%20message%3A%20%22Version%3A1.0%20StartHTML%3A000000279%20EndHTML%3A000055890%20StartFragment%3A000055574%20EndFragment%3A000055706%20StartSelection%3A000055574%20EndSelection%3A000055706%20SourceURL%3Ahttps%3A%2F%2F.......%2Fservermanager%2Fconnections%2Fserver%2F..........%2Ftools%2Ffiles%2Fpath%2FC%25253A%25255C%20Files%20-%20Server%20Manager%20-%20Windows%20Admin%20Center%3C%2FP%3E%3CDIV%20class%3D%22sme-layout-relative%20sme-position-flex-auto%22%3E%3CDIV%20class%3D%22sme-layout-absolute%20sme-position-inset-none%22%3E%3CDIV%20class%3D%22sme-position-inset-none%20sme-layout-fixed%20sme-position-top-xxl%22%3E%3CDIV%20class%3D%22sme-layout-absolute%20sme-scheme-dialog%20sme-position-vertical-none%20sme-position-right-none%20sme-layout-dialog-compact%20sme-border-left-md%20sme-arrange-stack-v%22%3E%3CDIV%20class%3D%22sme-layout-relative%20sme-position-flex-auto%20sme-padding-horizontal-lg%20sme-arrange-overflow-auto-y%20sme-arrange-overflow-hide-x%22%3E%3CDIV%20class%3D%22sme-padding-horizontal-lg%22%3E%3CDIV%20class%3D%22sme-padding-left-lg%22%3E%3CDIV%20class%3D%22sme-padding-top-md%22%3E%3CP%20class%3D%22sme-position-flex-auto%20sme-arrange-overflow-hide-x%20sme-arrange-word-wrap-break-word%22%3EFailed%20to%20upload%20to%20C%3A%5Cscripts%5Ctest.%20Error%3A%20This%20operation%20was%20blocked%20by%20role%20based%20access%20control%20settings%20or%20other%20network%20issue.%3CBR%20%2F%3EThe%20user%20I%20use%20is%20a%20member%20of%20server%20admin%20group%20which%20is%20added%20as%20administrators%20in%20access%20section.%20Any%20ideas.%20tips%2C%20feedback%3F%3CBR%20%2F%3ECheers%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-285864%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-285864%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57259%22%20target%3D%22_blank%22%3E%40Jeff%20Woolslayer%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20event%20log%20entry%20for%20the%20error%3A%3CBR%20%2F%3EsessionId%20%3A%2058ef4281-eb8a-453d-80ea-e5d9a0f9ddcc%3CBR%20%2F%3EeventId%20%3A%20Trace%3CBR%20%2F%3Elevel%20%3A%20Error%3CBR%20%2F%3EsourceName%20%3A%20msft.sme.event-viewer%3CBR%20%2F%3Esource%20%3A%20appErrorHandler%3CBR%20%2F%3Etimestamp%20%3A%201542105315958%3CBR%20%2F%3Emessage%20%3A%20WebSocket%20connection%20errors%20after%20retries.%3CBR%20%2F%3Estack%20%3A%20Error%3A%20WebSocket%20connection%20errors%20after%20retries.%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20Object.next%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A652382%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A652382%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20WebSocket.r.onclose%20%5Bas%20__zone_symbol__ON_PROPERTYclose%5D%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1889168%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1889168%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20WebSocket.p%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1332859%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1332859%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20e.invokeTask%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1323982%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1323982%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20Object.onInvokeTask%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A839313%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A839313%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20e.invokeTask%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1323903%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1323903%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20t.runTask%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1319160%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1319160%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20t.invokeTask%20%5Bas%20invoke%5D%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1325092%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1325092%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20h%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1337048%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1337048%3C%2FA%3E)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20WebSocket.f%20(%3CA%20href%3D%22https%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1337281%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcwoper02.diehlako.local%2Fmodules%2Fmsft.sme.event-viewer%2Fmain.0cfb0e6e09cf2ed5a19a.bundle.js%3A1%3A1337281%3C%2FA%3E)%3CBR%20%2F%3EmoreEventData%20%3A%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-285817%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-285817%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57259%22%20target%3D%22_blank%22%3E%40Jeff%20Woolslayer%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20downgrade%20to%20version%201808.%20Unfortunately%20still%20get%20Websocket%2Fpowershell%20not%20installed%20or%20not%20configured%20message%20when%20trying%20to%20access%20Event%20Viewer%2C%20PowerShell%20or%20RDP.%20Any%20new%20developements%3F%3C%2FP%3E%3CP%3EThank%20You%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271513%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271513%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20PowerShell%20tool%20has%20the%20same%20dependency%20on%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fwacwebsockets%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ewebsockets%20%3C%2FA%3Eas%20the%20events%20tool%2C%20so%20it%20makes%20sense%20that%20it's%20not%20working%20for%20you%20either.%20The%20actual%20managed%20server%20configuration%20doesn't%20impact%20Websocket%20support%2C%20it's%20your%20network%20environment.%20Any%20device%20on%20the%20network%20that%20routes%20or%20filters%20traffic%20can%20break%20websockets.%20Firewalls%2C%20switches%2C%20VPNs%2C%20etc...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDo%20you%20still%20happen%20to%20have%20the%201808%20installer%3F%20If%20you%20are%20able%20to%20uninstall%201809%20and%20reinstall%201808%20to%20verify%20and%20describe%20the%20difference%20experience%2C%20we%20can%20follow%20up.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271292%22%20slang%3D%22en-US%22%3ERE%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271292%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F52501%22%20target%3D%22_blank%22%3E%40Jeff%20Woolslayer%3C%2FA%3E%20I%20followed%20troubleshooting%20guide%20yet%20no%20solution.%20While%20in%20version%201808%20I%20was%20able%20to%20view%20events%20on%20remote%20machine%2C%20version%201809%20just%20throws%20websocket%20error%20(though%20configuration%20of%20the%20server%20has%20not%20been%20changed)%20I%20pretty%20much%20gave%20up%20on%20trying%20to%20run%20powershell%20from%20WAC%20as%20it%20dies%20before%20it%20starts%20and%20there%20doesn't%20seem%20to%20be%20any%20contstructive%20feedback%20nor%20solution.%20Any%20news%20on%20that%20front%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-264281%22%20slang%3D%22en-US%22%3ERe%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-264281%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20clarification%20on%20the%20role!%20Unfortunately%2C%20the%26nbsp%3B%3CSPAN%3EWebSocket%20Protocol%3C%2FSPAN%3E%20role%20feature%20under%20IIS%5CWeb%20Server%5CApplication%20Development%20is%20for%20enabling%20it%20on%20IIS%20websites.%20The%20HTTPS%20listener%20created%20by%20WAC%20does%20not%20use%20IIS.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESince%20WebSocket%20compatibility%20can%20be%20impacted%20by%20any%20device%20that%20routes%20or%20filters%20network%20traffic%20in%20your%20environment%2C%20there%20is%20no%20%3CEM%3Edefinitive%3C%2FEM%3E%20%3CEM%3Eguide%3C%2FEM%3E%20to%20configuring%20it.%26nbsp%3BI%20can%20assure%20you%20that%20you%20it%20is%20possible%20to%20support%20WebSockets%20in%20an%20environment%20without%26nbsp%3B%3CSPAN%3Ecompletely%20disabling%20firewall%20and%20%22opening%20the%20shop.%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWe%20have%20only%20seen%20WebSocket%20compatibility%20issues%20reported%20by%20a%20small%20subset%20of%20users%2C%20and%20have%20yet%20to%20identify%20any%20common%20root%20cause.%20I'm%20continuing%20to%20track%20this%2C%20and%26nbsp%3Bwill%20update%20this%20location%20in%20our%20documentation%20with%20any%20new%20information%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fwacwebsockets%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fwacwebsockets%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-263984%22%20slang%3D%22en-US%22%3ERe%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-263984%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57259%22%20target%3D%22_blank%22%3E%40Jeff%20Woolslayer%3C%2FA%3E%20There%20is%20a%20feature%20for%20a%20WebSocket%20withing%20Web%20Server%20%2F%20Application%20Development%20however%20installing%20it%20made%20no%20difference.%20The%20link%20provided%20just%20takes%20me%20to%20Microsoft%20site.%20Is%20there%20any%20more%20detailed%20how%20to's%20regarding%20WAC%3F%20I%20see%20a%20lot%20of%20potential%20but%20practical%20usage%20is%20a%20different%20story.%20Any%20steps%20I%20can%20do%20for%20troubleshooting%3F%20Of%20course%20completely%20disabling%20firewall%20and%20%22opening%20the%20shop%22%20is%20out%20of%20question%20but%20is%20there%20a%20way%20to%20adjust%20more%20finely%20error%20handling%20in%20order%20to%20make%20it%20work%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-263039%22%20slang%3D%22en-US%22%3ERe%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-263039%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20no%20WebSocket%20feature%20in%20Windows%20server.%20Practically%20all%20WebSockets%20compatibility%20issues%20are%20caused%20by%20the%20network%20environment%20(%3CSPAN%3Eproxy%20servers%2C%20firewalls%2C%20etc..%3C%2FSPAN%3E)%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20create%20an%20item%20for%20your%20upload%20issues%20here%20for%20ease%20of%20tracking%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fwacfeedback%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fwacfeedback%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262568%22%20slang%3D%22en-US%22%3ERe%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262568%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20per%20file%20copying.%20I%20tried%20running%20WAC%20locally%20(server%202016%20VM)%20and%20copy%203k%20txt%20file%20from%20my%20computer%20to%20another%20remote%20WAC%20server.%20Permissions%20are%20not%20an%20issue.%20All%20ran%20as%20admin%3C%2FP%3E%3CP%3EError%20message%3A%3CBR%20%2F%3E%3CSPAN%3EFailed%20to%20upload%20to%20C%3A%5Cinstall.%20Error%3A%20This%20operation%20was%20blocked%20by%20role%20based%20access%20control%20settings%20or%20other%20network%20issue.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262547%22%20slang%3D%22en-US%22%3ERe%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262547%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57259%22%20target%3D%22_blank%22%3E%40Jeff%20Woolslayer%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20replying.%20I%20tried%20to%20apply%20suggested%20changes.%20We%20are%20talking%20about%20version%201809%20now%20(after%20upgrade%20from%201808).%20Initially%20after%20accessing%20site%20I%20was%20indeed%20getting%20error%20message%20websocket%2Fpowershell%20could%20not%20connect.%20I%20checked%20features%20on%20Server%202016%20and%20added%20WebSocket%20feature.%20Now%20I%20am%20not%20able%20to%20connect%20to%20server%20even%20locally%20getting%20connection%20refused%20message.%20On%20the%20other%20WACs%20(using%20version%201808)%20I%20am%20able%20to%20both%20view%20the%20events%20and%20trigger%20RDP%20session.%20However%20Powershell%20disconnect%20immediately.%3CBR%20%2F%3EAny%20thoughts%3F%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262202%22%20slang%3D%22en-US%22%3ERe%3A%20WAC%201808%20File%20Copy%20errors%20and%20powershell%20disconnecting...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262202%22%20slang%3D%22en-US%22%3E%3CP%3EP%3CSPAN%3Elease%20c%3C%2FSPAN%3E%3CSPAN%3Eheck%20out%20the%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fwactroubleshoot%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etroubleshooting%20guide%3C%2FA%3E%3CSPAN%3E%20for%20common%20issues%20and%20resolution%20steps.%20If%20nothing%20there%20solves%20your%20issue%2C%20please%20reply%20back%20here%20with%20the%20answers%20to%20the%20troubleshooting%20common%20questions.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20the%20PowerShell%20issue%2C%20please%20confirm%20if%20the%20Events%20and%20Remote%20Desktop%20tool%20work%2C%20the%20issue%20you%20describe%20occurs%20when%20something%20is%20blocking%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fmanage%2Fwindows-admin-center%2Fuse%2Ftroubleshooting%23im-having-trouble-with-the-remote-desktop-events-and-powershell-tools%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ewebsockets%20%3C%2FA%3Ein%20your%20environment.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20the%20file%20upload%20issue%20-%20please%20also%20include%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ES%3CSPAN%3Eize%20of%20the%20file%20you%20are%20trying%20to%20upload%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ELocal%20path%20of%20the%20source%20file%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ERemote%20destination%20path%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E
Artur Schneider
Occasional Contributor

Hi,

 

I have few gateway "WACs" deployed in our however there is some "behind the scenes" security mechanism that prevents me from:

1. Running powershell on a remote computer (it disconnect immediately although domain permissions are ok and when I run powershell on the computer without WAC all works ok. So it is not permissions issue. That applies to all machines not particular OS of the server
2. I am not able to copy files (upload) to a remote server getting following error message: "Version:1.0 StartHTML:000000279 EndHTML:000055890 StartFragment:000055574 EndFragment:000055706 StartSelection:000055574 EndSelection:000055706 SourceURL:https://......./servermanager/connections/server/........../tools/files/path/C%253A%255C Files - Server Manager - Windows Admin Center

Failed to upload to C:\scripts\test. Error: This operation was blocked by role based access control settings or other network issue.
The user I use is a member of server admin group which is added as administrators in access section. Any ideas. tips, feedback?
Cheers

10 Replies

Please check out the troubleshooting guide for common issues and resolution steps. If nothing there solves your issue, please reply back here with the answers to the troubleshooting common questions.

 

For the PowerShell issue, please confirm if the Events and Remote Desktop tool work, the issue you describe occurs when something is blocking websockets in your environment. 

 

For the file upload issue - please also include:

  • Size of the file you are trying to upload
  • Local path of the source file
  • Remote destination path 

Hi @Jeff Woolslayer

 

Thank you for replying. I tried to apply suggested changes. We are talking about version 1809 now (after upgrade from 1808). Initially after accessing site I was indeed getting error message websocket/powershell could not connect. I checked features on Server 2016 and added WebSocket feature. Now I am not able to connect to server even locally getting connection refused message. On the other WACs (using version 1808) I am able to both view the events and trigger RDP session. However Powershell disconnect immediately.
Any thoughts?

Thank you

As per file copying. I tried running WAC locally (server 2016 VM) and copy 3k txt file from my computer to another remote WAC server. Permissions are not an issue. All ran as admin

Error message:
Failed to upload to C:\install. Error: This operation was blocked by role based access control settings or other network issue.

There is no WebSocket feature in Windows server. Practically all WebSockets compatibility issues are caused by the network environment (proxy servers, firewalls, etc..

 

Please create an item for your upload issues here for ease of tracking: https://aka.ms/wacfeedback 

Hi @Jeff Woolslayer There is a feature for a WebSocket withing Web Server / Application Development however installing it made no difference. The link provided just takes me to Microsoft site. Is there any more detailed how to's regarding WAC? I see a lot of potential but practical usage is a different story. Any steps I can do for troubleshooting? Of course completely disabling firewall and "opening the shop" is out of question but is there a way to adjust more finely error handling in order to make it work?

Thanks for the clarification on the role! Unfortunately, the WebSocket Protocol role feature under IIS\Web Server\Application Development is for enabling it on IIS websites. The HTTPS listener created by WAC does not use IIS.

 

Since WebSocket compatibility can be impacted by any device that routes or filters network traffic in your environment, there is no definitive guide to configuring it. I can assure you that you it is possible to support WebSockets in an environment without completely disabling firewall and "opening the shop."

 

We have only seen WebSocket compatibility issues reported by a small subset of users, and have yet to identify any common root cause. I'm continuing to track this, and will update this location in our documentation with any new information: https://aka.ms/wacwebsockets

 

@Jeff Woolslayer I followed troubleshooting guide yet no solution. While in version 1808 I was able to view events on remote machine, version 1809 just throws websocket error (though configuration of the server has not been changed) I pretty much gave up on trying to run powershell from WAC as it dies before it starts and there doesn't seem to be any contstructive feedback nor solution. Any news on that front?

The PowerShell tool has the same dependency on websockets as the events tool, so it makes sense that it's not working for you either. The actual managed server configuration doesn't impact Websocket support, it's your network environment. Any device on the network that routes or filters traffic can break websockets. Firewalls, switches, VPNs, etc...

 

Do you still happen to have the 1808 installer? If you are able to uninstall 1809 and reinstall 1808 to verify and describe the difference experience, we can follow up.

Hi @Jeff Woolslayer

 

I did downgrade to version 1808. Unfortunately still get Websocket/powershell not installed or not configured message when trying to access Event Viewer, PowerShell or RDP. Any new developements?

Thank You

@Jeff Woolslayer

 

Here's event log entry for the error:
sessionId : 58ef4281-eb8a-453d-80ea-e5d9a0f9ddcc
eventId : Trace
level : Error
sourceName : msft.sme.event-viewer
source : appErrorHandler
timestamp : 1542105315958
message : WebSocket connection errors after retries.
stack : Error: WebSocket connection errors after retries.
    at Object.next (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at WebSocket.r.onclose [as __zone_symbol__ON_PROPERTYclose] (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at WebSocket.p (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at e.invokeTask (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at Object.onInvokeTask (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at e.invokeTask (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at t.runTask (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at t.invokeTask [as invoke] (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at h (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
    at WebSocket.f (https://cwoper02.diehlako.local/modules/msft.sme.event-viewer/main.0cfb0e6e09cf2ed5a19a.bundle.js:1:...)
moreEventData :

Related Conversations
IIS extension is not working - WAC 1909
HotCakeX in Windows Admin Center on
11 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies
How to copy or duplicate an existing forms quiz
Olaf Nennker in Microsoft Forms on
2 Replies
Remove-CalendarEvents cmdlet does not work
kirboronin in Office 365 on
8 Replies