Last chance to get discounted tickets to Codegarden... Price goes up on Tuesday at 20:00 CEST!

Copied to clipboard

Flag this post as spam?

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


  • murugan 6 posts 75 karma points
    Mar 22, 2018 @ 07:20
    murugan
    0

    Newsletter Studio - Insert url content & RenderTask

    Hi,

    We are recently updated the Newsletter version to 1.4.5,2 and upgraded site from HTTP to HTTPS.

    Issue : We are trying to add site content using "Insert url Content" option in newsletter studio. we are able to insert the url but when send/preview the newsletter, it is showing as "could not load

    We are facing this issue only for the content within the site but 3rd party urls are rendering without any issue.

    Please advise us.

    Is it possible to render the page content using RenderTask(company.RenderTask) ? if so, Please let us know how to use it to render the page content using it and share few samples for it.

    Or

    Is the any other way to customise to render the url content within the newsletter body.

    Regards, Murugan H

  • Markus Johansson 1478 posts 4054 karma points
    Mar 22, 2018 @ 12:31
    Markus Johansson
    0

    Hi!

    Is this only for local https-urls or for external as well?

    Do you have the same issue in your local dev-enviroment?

    // m

  • murugan 6 posts 75 karma points
    Mar 22, 2018 @ 12:40
    murugan
    0

    We have issue with local url (within the site) , not for external urls.

    We do not have issue in local dev environment (its not in https).

    Please also suggest us how to write custom code to render the data from RenderUrl(insert url content) option.

  • Markus Johansson 1478 posts 4054 karma points
    Mar 22, 2018 @ 13:32
    Markus Johansson
    0

    Hi!

    Okey, do you see any errors in the trace log or in the umbraco log table in the database? Please share them if you can.

    Reg. custom render tasks, you can find documentation here: https://www.newsletterstudio.org/help/develop-with-newsletter-studio/control-content-with-render-tasks/

  • murugan 6 posts 75 karma points
    1 week ago
    murugan
    0

    We are getting the below error :

    System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) --- End of inner exception stack trace --- at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- 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 --- --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at ASP.masterpagespagerubyconnectionmastermaster._RenderContent1(HtmlTextWriter _w, Control parameterContainer) ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) --- End of inner exception stack trace --- at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)

  • Markus Johansson 1478 posts 4054 karma points
    1 week ago
    Markus Johansson
    0

    Do you have the same issue with 3-party HTTPS-urls or only request to the local server?

  • murugan 6 posts 75 karma points
    7 days ago
    murugan
    0

    We do not have any issue with 3rd party HTTP & HTTPS url.

    We have issue only in local server for both HTTP & HTTPS.

  • murugan 6 posts 75 karma points
    4 days ago
    murugan
    0

    Hi Markus,

    Can you please share your thoughts, how to proceed further. either need to work on newsletter studio plugin level or in server level. Because your server team confirmed, there is no block on server level especially to TCP port 80,443.

    -- Murugan H

Please Sign in or register to post replies

Write your reply to:

Draft