Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dom 3 posts 73 karma points
    May 17, 2016 @ 09:58
    Dom
    0

    Insert dynamic content from URL error

    Hi,

    I'm trying to insert the content of an Umbraco node to the newsletter in Umbraco 7.3, but I'm getting this message:

    Could not load "http://(Umbraco node url)/". Is the address correct?

    The url is correct and reachable

    When I insert an external url, like http://www.google.com I can send it correctly

    If I check the Umbraco log I see this:

    2016-05-17 11:35:11,057 [P2280/D12/T100] INFO umbraco.BusinessLogic.Log - Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 0 | Comment: RenderUrlRenderTask: System.Net.WebException: Could not load url: (Umbraco node url). Inner exception: at NewsletterStudio.Infrastucture.Web.WebPageDownloader.DownloadWebPage(String url) at NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask.GetNiceUrl(Match match). Is the url ok? Are you sure that the application is allowed to download content from the internet?

    PD: I was trying to send emails with the Newsletter Studio Sendout datatype from and Umbraco node, but get another error:

    2016-05-17 10:50:45,039 [P2280/D11/T67] ERROR Umbraco.Web.Scheduling.ScheduledTasks - An error occurred calling web task for url: http://localhost:49572/AppPlugins/NewsletterStudio/Pages/NewsletterCheckForScheduledSendOut.aspx 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:49572 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.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Umbraco.Web.Scheduling.ScheduledTasks._8.MoveNext()

  • Markus Johansson 1918 posts 5785 karma points MVP c-trib
    May 17, 2016 @ 12:13
    Markus Johansson
    0

    Hi!

    Is seems like the url can't be reached from the code. How are you running the package? On IIS Express?

    127.0.0.1:49572 feels like a local domain. That might be the issue?

    // m

  • Dom 3 posts 73 karma points
    May 18, 2016 @ 07:56
    Dom
    0

    Hi Markus,

    thank you, it seemed to be a IIS privacy problem. Anyway, I'm trying to send a template (with css styles): I create a new Draft, I insert dynamic content from URL and select an Umbraco node but I receive it as simple text.

    How can I send content from Umbraco?

  • Dom 3 posts 73 karma points
    May 18, 2016 @ 09:33
    Dom
    0

    It could be possible to send something like a screenshot of the template? (an image)

  • Markus Johansson 1918 posts 5785 karma points MVP c-trib
    May 18, 2016 @ 12:16
    Markus Johansson
    0

    Hi!

    Have you tried to clear up the skink that you are using in newlsetter studio? Best thing here is to use a empty skin with only the [content]-placeholder.

    There is some good tutorials here: http://www.newsletterstudio.org/videos/

Please Sign in or register to post replies

Write your reply to:

Draft