Skip to content

Unable to cache https pages #11

@jcphlux

Description

@jcphlux

If I turn off https on my site I am able to cache pages but the webjob fails when site is set to https.

Webjob logs
With HTTPS turned off -still gtt some errors but it will cache like 12 pages

12/27/2019 22:16:37 > 8aad20: SYS INFO] Status changed to Initializing [12/27/2019 22:16:39 > 8aad20: SYS INFO] Run script 'ProjectNamiCacheLoader.exe' with script host - 'WindowsScriptHost' [12/27/2019 22:16:40 > 8aad20: SYS INFO] Status changed to Running [12/27/2019 22:16:45 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net [12/27/2019 22:16:51 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/ [12/27/2019 22:16:54 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-background-check-2/ [12/27/2019 22:16:56 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/credit-check/ [12/27/2019 22:16:58 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/smartmove/ [12/27/2019 22:17:00 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/high-volume/ [12/27/2019 22:17:00 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:00 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:00 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/about/screening-api/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:02 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/ [12/27/2019 22:17:05 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/sample-report/ [12/27/2019 22:17:07 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/order/ [12/27/2019 22:17:09 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/about/ [12/27/2019 22:17:11 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/about/contact/ [12/27/2019 22:17:13 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/resources/ [12/27/2019 22:17:16 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/blog/ [12/27/2019 22:17:18 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/podcast/ [12/27/2019 22:17:20 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/group/ [12/27/2019 22:17:22 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/landlord-tenant-laws/ [12/27/2019 22:17:24 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/resources/renters-relations/ [12/27/2019 22:17:26 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/resources/faq/ [12/27/2019 22:17:28 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/packages-pricing/ [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/tenant-screening/packages-pricing/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/tenant-screening/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/tenant-screening/rental-background-check/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/tenant-screening/credit-check/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/rentprep-reviews/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/resources/landlord-forms/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/blog/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/podcast/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/resources/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/about/contact/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/news/community/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:28 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:28 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/tenant-screening/affiliate-program/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:30 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/tenant-screening/testimonials/ [12/27/2019 22:17:32 > 8aad20: INFO] Visited - http://rentprep.azurewebsites.net/about/security-privacy/ [12/27/2019 22:17:32 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:32 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:32 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/tenant-screening/questions-to-ask-potential-tenants/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:32 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:32 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:32 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/tenant-screening/tenant-screening-services/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:32 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:17:32 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:17:32 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net/screening-services/tenant-background-check-services-reviews/ - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:17:32 > 8aad20: SYS INFO] Status changed to Success

With HTTPS turned on - will not cache any pages

[12/27/2019 22:56:31 > 8aad20: SYS INFO] Status changed to Initializing [12/27/2019 22:56:33 > 8aad20: SYS INFO] Run script 'ProjectNamiCacheLoader.exe' with script host - 'WindowsScriptHost' [12/27/2019 22:56:33 > 8aad20: SYS INFO] Status changed to Running [12/27/2019 22:56:34 > 8aad20: INFO] ERROR Get Response - The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse() [12/27/2019 22:56:34 > 8aad20: INFO] at ProjectNamiCacheLoader.Module1.GetResponse(String LinkURL) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 112 [12/27/2019 22:56:34 > 8aad20: INFO] ERROR Unable to visit https://rentprep.azurewebsites.net - Object reference not set to an instance of an object. at ProjectNamiCacheLoader.Module1.VisitLink(String LinkURL, Int32 LinkDepth) in C:\VS2013_Projects\ProjectNamiCacheLoader\ProjectNamiCacheLoader\Module1.vb:line 37 [12/27/2019 22:56:34 > 8aad20: SYS INFO] Status changed to Success

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions