Jeg har lavet et custom modul, der kan flætte rss feeds, men der opstår en socket error på denne løsning. Jeg har testet custom modulet med hentning af rss feeds fra andre DW løsninger uden problemer. Det er kun denne løsning (magn.fo) der har et problem.
Kan i hjælpe mig med dette problem ?
Mit custom modul hedder RssFeedsMerge.
Her er sourcen til fejlen: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 81.95.251.201:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at RSSFeedsMerge.RssClient.DownloadFeed(String url) in C:\inetpub\Library\Sendistovan\RSSFeedsMerge\RSSFeedsMerge\RssClient.cs:line 297 at RSSFeedsMerge.RssClient.GetRss(Int32 count) in C:\inetpub\Library\Sendistovan\RSSFeedsMerge\RSSFeedsMerge\RssClient.cs:line 252 at RSSFeedsMerge.RSSFeedsMerge.GetContent() in C:\inetpub\Library\Sendistovan\RSSFeedsMerge\RSSFeedsMerge\RSSFeedsMerge.cs:line 42 at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow)
Er det noget Hostnordic kan hjælpe mig med ?
Developer forum
E-mail notifications
Socket exception ved indlæsning af rss feeds
Posted on 08/09/2010 14:52:50
Replies
Posted on 08/09/2010 15:04:57
Link til siden der giver fejlen:
http://www.magn.fo/RSS-feeds-til-Demich-síðuna.aspx?Purge=True
Linkene til rss feedene der skal merges:
http://www.magn.fo/Default.aspx?ID=1728&PID=4538&Action=ShowFile
http://demich.net.dynamicweb.dk/fo-FO/RSS-Feed.aspx?PID=95&Action=ShowFile
http://www.magn.fo/RSS-feeds-til-Demich-síðuna.aspx?Purge=True
Linkene til rss feedene der skal merges:
http://www.magn.fo/Default.aspx?ID=1728&PID=4538&Action=ShowFile
http://demich.net.dynamicweb.dk/fo-FO/RSS-Feed.aspx?PID=95&Action=ShowFile
Posted on 08/09/2010 15:09:56
Hentning virker lokalt på min maskine, her opstår ingen socket exception.
Nicolai Høeg Pedersen
Posted on 08/09/2010 18:13:57
It sounds and looks like a DNS issue. You need to get hold of support to get them to help you...
www.magn.fo cannot call it self serverside because of the DNS - have support add 127.0.0.1 www.magn.fo to the servers hosts file. That should help.
Posted on 10/09/2010 13:41:27
It was the problem :) Thanks
You must be logged in to post in the forum