I've set up a single Server 2012 R2 Gateway/Session/RDWeb server. At some point during setup, the WebFeed stopped working and I can no longer connect using the RemoteApp and Desktop Connections control panel or the Remote Resources connection in the Mac
RDC client.
Trying to connect to https://domainname.com/RDWeb/Feed/webfeed.aspx receives an Error code: "0x80040205, 0x1F4" on Windows connections and nothing on the Mac except an empty Remote Resources list.
Looking at the inetpub logs, the following events are recorded during the connection attempt:
------------------------------------------------------------------------
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2016-03-28 15:35:38
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2016-03-28 15:35:38 172.xxx.xxx.xxx GET /RDWeb/Feed/webfeed.aspx - 443 - 50.xxx.xxx.xxx TSWorkspace/2.0 - 302 0 0 155
2016-03-28 15:35:38 172.xxx.xxx.xxx GET /RDWeb/FeedLogin/WebFeedlogin.aspx ReturnUrl=%2fRDWeb%2fFeed%2fwebfeed.aspx 443 - 50.xxx.xxx.xxx TSWorkspace/2.0 - 401 2 5 144
2016-03-28 15:35:38 172.xxx.xxx.xxx GET /RDWeb/FeedLogin/WebFeedlogin.aspx ReturnUrl=%2fRDWeb%2fFeed%2fwebfeed.aspx 443 - 50.xxx.xxx.xxx TSWorkspace/2.0 - 401 2 5 12
2016-03-28 15:35:50 172.xxx.xxx.xxx GET /RDWeb/FeedLogin/WebFeedlogin.aspx ReturnUrl=%2fRDWeb%2fFeed%2fwebfeed.aspx 443 domain\username 50.xxx.xxx.xxx TSWorkspace/2.0 - 200 0 0 105
2016-03-28 15:35:50 172.xxx.xxx.xxx GET /RDWeb/Feed/webfeed.aspx - 443 - 50.xxx.xxx.xxx TSWorkspace/2.0 - 500 0 0 188
-----------------------------------------------------------
The 401 entries lead me to believe authentication is being denied somewhere for some reason, but I haven't been able to figure out where.
Looking at the server's Security log, I see the logon attempt followed immediately by a logoff notification. I see the logon attempt is using NTLM:
-----------------------------------------------------------
Detailed Authentication Information:
Logon Process: NtLmSsp
Authentication Package: NTLM
Transited Services: -
Package Name (NTLM only): NTLM V2
Key Length: 128
-----------------------------------------------------------
Any help is appreciated.
Additional information
I looked at another server that has a working feed, and found this series of events in the inetpub log file:
-------------------------------------------------
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2016-03-28 16:24:41
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2016-03-28 16:24:41 192.xxx.xxx.xxx GET /RDWeb/Feed/webfeed.aspx - 443 - 50.170.136.41 TSWorkspace/2.0 - 302 0 0 799
2016-03-28 16:24:41 192.xxx.xxx.xxx GET /RDWeb/FeedLogin/WebFeedlogin.aspx ReturnUrl=%2fRDWeb%2fFeed%2fwebfeed.aspx 443 - 50.xxx.xxx.xxx TSWorkspace/2.0 - 401 2 5 102
2016-03-28 16:24:41 192.xxx.xxx.xxx GET /RDWeb/FeedLogin/WebFeedlogin.aspx ReturnUrl=%2fRDWeb%2fFeed%2fwebfeed.aspx 443 - 50.xxx.xxx.xxx TSWorkspace/2.0 - 401 2 5 36
2016-03-28 16:24:54 192.xxx.xxx.xxx GET /RDWeb/FeedLogin/WebFeedlogin.aspx ReturnUrl=%2fRDWeb%2fFeed%2fwebfeed.aspx 443 foundation\mcsadmin 50.xxx.xxx.xxx TSWorkspace/2.0 - 200 0 0 1580
2016-03-28 16:24:55 192.xxx.xxx.xxx GET /RDWeb/Feed/webfeed.aspx - 443 S-1-5-21-484763869-xxxxxxxxxx-xxxxxxxx-xxxx 50.xxx.xxx.xxx TSWorkspace/2.0 - 200 0 0 1483
2016-03-28 16:24:55 192.xxx.xxx.xxx GET /RDWeb/Feed/rdp/mstsc256.ico - 443 S-1-5-21-484763869-xxxxxxxxxx-xxxxxxxx-xxxx 50.xxx.xxx.xxx TSWorkspace/2.0 - 200 0 0 519
2016-03-28 16:24:55 192.xxx.xxx.xxx GET /RDWeb/Feed/rdp/cpub-Remote_Server_Co-Remote_Server_Co-CmsRdsh.rdp - 443 S-1-5-21-484763869-xxxxxxxxxx-xxxxxxxx-xxxx 50.xxx.xxx.xxx TSWorkspace/2.0 - 200 0
0 47
---------------------------------------------------
The same 401 status codes are there, but it looks like the feed is supposed to return with the user SID and allow access. Instead, I'm getting a 500 status code on the non-working server.