RSS Viewer Web部分无法正常工作 [英] RSS Viewer web part not working
问题描述
您好,
我有三个SharePoint 2016环境,我们正在努力让RSS Viewer Web部件适用于外部RSS源。 不幸的是,我们无法在任何环境中使用它,我需要一些帮助。 以下是有关我们问题的信息:
1. 我们收到的网络部件错误是: "无法显示请求的RSS源。请验证此Feed的设置和网址。如果此问题仍然存在,请与您的管理员联系。" 我们使用
进行测试的RSS源是http://rss.cnn.com/rss/cnn_topstories.rss(注意,它是HTTP而不是HTTPS)。 此Feed适用于位于网络外的SharePoint环境(我的家庭实验室),因此我知道Feed可以正常运行。 我们已经尝试了各种其他外部订阅源,但
无效。
2。对应于RSS webpart的ULS日志如下:
07/24/2018 13:29:16.87 w3wp .exe(0x0FE8)
0x37DC SharePoint Portal Server
Web部件 8imh
高 RssWebPart:传递给HandleRuntimeException.HandleException的异常System.Net.WebException:无法连接到远程服务器---> System.Net.Sockets.SocketException:无法建立连接,因为
目标计算机主动拒绝它IP_ADDRESS:80   在System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,SocketAddress socketAddress)   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4,Socket s6,Socket& socket,IPAddress& address,ConnectSocketState state,IAsyncResult asyncResult,Exception& exception)   ---内部异常堆栈跟踪结束---   at Microsoft.SharePoint.WebControls.BaseXmlDataSource.GetXmlDocument()
at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()   at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()   at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
viewPath)   at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
Web部件 a1fam
中 Xslt缓存读取命中缓存Hashkey:DfwpXslCache
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24 / 2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC < span style ="white-space:pre"> SharePoint Foundation
Web部件 azrmo
可监视 DataFormWebPart.PrepareAndPerformTransform:已完成执行GetXslCompiledTransform方法。
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
监控 b4ly
高 离开受监视范围:(DataBinding DataFormWebPart(RSS Viewer))执行时间= 1023.24139327755; CPU毫秒= 7; SQL查询计数= 1; Parent = Request(POST:https://www.acme.com/abc/123/SitePages/Home.aspx)
35f87d9e-a970- d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwia
中 SPRequestModule.PostLogRequestHandler Begin
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
Asp运行时 avwib
Medium SPRequestModule.PostLogRequestHandler End
35f87d9e-a970-d068-204d-d5ba96cad20f >
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwic
中 SPRequestModule.EndRequestHandler开始
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13: 29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
站点缓存 az4z8
中 在内存中查找ID为ec18b00d-e456-40a8-a10b-f5336b04ff9d的SPSite。
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwh5
Medium < span style ="white-space:pre"> SPRequestModule.PreSendRequestHeaders End
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
Micro Trace < span style ="white-space:pre"> uls4
中 Micro Trace标签:0 avwhy,0 nasq,0 az4z8,0 avwhz,0 aytib,0 bjkuz,0 a7r51, 0 a1n25,0 a9fy7,0 a9fy6,0 bjvyg,0 avwh6,0 az4z8,0 agb9s,0 ajd6k,0 ajd6l,0 avwh7,0 avwh8,0 avwh0,1 ayswq,454 anvuv,0 a0t92,0 a08yd,0 a0t94 ,0
a0t97,0 a0t98,1 ayswq,0 arc5u,35 ab3dt,0 ajoij,0 ax0ru,0 abnwl,0 ax0ru,0 ab3dt,3 arc5u,0 abnwl,0 ajoij,0 az4z8,0 b4ly, 0 avwh1,0 aj1kn,0 avwh2,0 avwh3,0 avwhu,0 avwhv,7 az6gu,0 aytib,1 eua9,4 adhpr,19 adhpr,28 b4ly,0 b4ly,5 nasq,0 nasq,0 b4ly,0 b4ly ,0 nasq,0
b4ly,0 ai2ar,0 nasq,0 nasq,0 b4ly,0 nasq,0 b4ly,0 b4ly,0 nasq,0 b4ly,2 nasq,0 nasq,0 b4ly,0 b4ly, 1 azrx9,0 a0n3e,1 a0n3e,0 adyrv,0 afhj7,1020 8imh,0 a1fam,0 azrmo,0 b4ly,1 avwia,0 avwib,0 avwic,0 az4z8,0 avwh5
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
运行时 aoxsq
中 将HTTP请求POST的HTTP响应200发送到https://www.acme.com/abc/ 123 / SitePages / Home.aspx
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13 :29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
监控 b4ly
中 离开监控范围:(请求(POST:https) ://www.acme.com/abc/123/SitePages/Home.aspx))Execution Time = 1601.44884663434; CPU毫秒= 82; SQL查询计数= 10; Parent =无
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe(0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwid
中 SPRequestModule.EndRequestHandler结束
35f87d9e-a970-d068-204d-d5ba96cad20f
我只是不确定发生了什么。 有什么想法?
您是否通过Web配置更新进行代理更新? Web应用程序也需要声明而不是NTLM。
搜索web.config文件并配置如下:
<结构>
< system.net>
< defaultProxy>
< proxy bypassonlocal =" true" proxyaddress = QUOT; 10.1.1.1:8080" usesystemdefault =" true"/>
< bypasslist>
< add address =" server.fqdn.com"/>
< / bypasslist>
< / defaultProxy>
< /system.net>
< / configuration>注意:确保您可以从托管SharePoint的服务器访问互联网。确保您的网络应用程序可以访问互联网以从Feed中收集信息。
祝您好运,
Allen Bai
Hello,
I have three SharePoint 2016 environments and we're trying to get the RSS Viewer web part working for external RSS feeds. Unfortunately, we can't get it working in any of the environments and I need some help. Here is information about our issue:
1. The web part error we're receiving is: "The requested RSS feed could not be displayed. Please verify the settings and url for this feed. If this problem persists, please contact your administrator." The RSS feed we're using for testing is http://rss.cnn.com/rss/cnn_topstories.rss (note, it is HTTP and not HTTPS). This feed works on a SharePoint environment located off network (my home lab), so I know the feed works. We've tried various other external feeds to no avail.
2. The ULS logs corresponding to the RSS webpart are as follows:
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Portal Server
Web Parts 8imh
High RssWebPart: Exception handed to HandleRuntimeException.HandleException 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 IP_ADDRESS:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) 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 Microsoft.SharePoint.WebControls.BaseXmlDataSource.GetXmlDocument()
at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
viewPath) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Web Parts a1fam
Medium Xslt cache read hit with cache Hashkey: DfwpXslCache
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Web Parts azrmo
Monitorable DataFormWebPart.PrepareAndPerformTransform: Finished performing GetXslCompiledTransform method.
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Monitoring b4ly
High Leaving Monitored Scope: (DataBinding DataFormWebPart (RSS Viewer)) Execution Time=1023.24139327755; CPU Milliseconds=7; SQL Query Count=1; Parent=Request (POST:https://www.acme.com/abc/123/SitePages/Home.aspx)
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwia
Medium SPRequestModule.PostLogRequestHandler Begin
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwib
Medium SPRequestModule.PostLogRequestHandler End
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwic
Medium SPRequestModule.EndRequestHandler Begin
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Site Cache az4z8
Medium Looking up SPSite by ID ec18b00d-e456-40a8-a10b-f5336b04ff9d in memory.
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwh5
Medium SPRequestModule.PreSendRequestHeaders End
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Micro Trace uls4
Medium Micro Trace Tags: 0 avwhy,0 nasq,0 az4z8,0 avwhz,0 aytib,0 bjkuz,0 a7r51,0 a1n25,0 a9fy7,0 a9fy6,0 bjvyg,0 avwh6,0 az4z8,0 agb9s,0 ajd6k,0 ajd6l,0 avwh7,0 avwh8,0 avwh0,1 ayswq,454 anvuv,0 a0t92,0 a08yd,0 a0t94,0
a0t97,0 a0t98,1 ayswq,0 arc5u,35 ab3dt,0 ajoij,0 ax0ru,0 abnwl,0 ax0ru,0 ab3dt,3 arc5u,0 abnwl,0 ajoij,0 az4z8,0 b4ly,0 avwh1,0 aj1kn,0 avwh2,0 avwh3,0 avwhu,0 avwhv,7 az6gu,0 aytib,1 eua9,4 adhpr,19 adhpr,28 b4ly,0 b4ly,5 nasq,0 nasq,0 b4ly,0 b4ly,0 nasq,0
b4ly,0 ai2ar,0 nasq,0 nasq,0 b4ly,0 nasq,0 b4ly,0 b4ly,0 nasq,0 b4ly,2 nasq,0 nasq,0 b4ly,0 b4ly,1 azrx9,0 a0n3e,1 a0n3e,0 adyrv,0 afhj7,1020 8imh,0 a1fam,0 azrmo,0 b4ly,1 avwia,0 avwib,0 avwic,0 az4z8,0 avwh5
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Runtime aoxsq
Medium Sending HTTP response 200 for HTTP request POST to https://www.acme.com/abc/123/SitePages/Home.aspx
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Monitoring b4ly
Medium Leaving Monitored Scope: (Request (POST:https://www.acme.com/abc/123/SitePages/Home.aspx)) Execution Time=1601.44884663434; CPU Milliseconds=82; SQL Query Count=10; Parent=None
35f87d9e-a970-d068-204d-d5ba96cad20f
07/24/2018 13:29:16.87 w3wp.exe (0x0FE8)
0x37DC SharePoint Foundation
Asp Runtime avwid
Medium SPRequestModule.EndRequestHandler End
35f87d9e-a970-d068-204d-d5ba96cad20f
I'm just not sure what is going on. Any ideas?
Hi,
Have you went through web config update for proxy update? And Web app needs also be Claims not NTLM.
Search for the web.config file and configured as followed:
<configuration> <system.net> <defaultProxy> <proxy bypassonlocal="true" proxyaddress="10.1.1.1:8080" usesystemdefault="true" /> <bypasslist> <add address="server.fqdn.com" /> </bypasslist> </defaultProxy> </system.net> </configuration>Note: Make sure that you can access the internet from the server SharePoint is hosted on. Make sure your web application can go to the internet to collect the information from the feed.
Best regards,
Allen Bai
这篇关于RSS Viewer Web部分无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!