This repository was archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
http -> https redirect results in endless loop #6
Copy link
Copy link
Open
Description
When posting a domain with a http -> https 301 redirect the plugin falls into an endless loop:
2015-02-07 22:15:40 DEBUG [email protected] :hashworks!~hashworks@0Quoten3Ossi PRIVMSG moonbasetest :hashworks.net []
2015-02-07 22:15:40 DEBUG [Url][54d6807cc0df0]Found url: hashworks.net []
2015-02-07 22:15:40 DEBUG [Url][54d6807cc0df0]Corrected url: http://hashworks.net/ []
2015-02-07 22:15:40 DEBUG [Url][54d6807cc0df0]Emitting: http.request []
2015-02-07 22:15:40 DEBUG [Http]Creating new HttpClient []
2015-02-07 22:15:40 DEBUG [Http]Requesting DNS Resolver []
2015-02-07 22:15:40 DEBUG [Dns]dns.resolver called []
2015-02-07 22:15:40 DEBUG [Dns]Creating new Resolver []
2015-02-07 22:15:40 DEBUG [Http]DNS Resolver received []
2015-02-07 22:15:40 DEBUG [Http]Requesting DNS Resolver []
2015-02-07 22:15:40 DEBUG [Http][54d6807cc14d6]Sending request []
2015-02-07 22:15:40 DEBUG [Url][54d6807cc0df0]Emitting: url.host.all []
2015-02-07 22:15:40 DEBUG [Http][54d6807cc14d6]Writing body []
2015-02-07 22:15:40 DEBUG [Http][54d6807cc14d6]Response received []
2015-02-07 22:15:40 DEBUG [Url][54d6807cc0df0]Reponse (after 0.12431311607361s): 301 []
2015-02-07 22:15:40 DEBUG [Http][54d6807cc14d6]Data received []
2015-02-07 22:15:40 DEBUG [Http][54d6807cc14d6]Request done []
2015-02-07 22:15:40 DEBUG [Url][54d6807cc0df0]Download complete (after 0.12470602989197s): 0 in length length []
2015-02-07 22:15:41 DEBUG [email protected] PRIVMSG moonbasetest :[ http://hashworks.net/ ] []
2015-02-07 22:15:41 DEBUG [email protected] :[email protected] PRIVMSG moonbasetest :[ http://hashworks.net/ ] []
2015-02-07 22:15:41 DEBUG [Url][54d6807d47e58]Found url: http://hashworks.net/ []
2015-02-07 22:15:41 DEBUG [Url][54d6807d47e58]Emitting: http.request []
2015-02-07 22:15:41 DEBUG [Http]Existing HttpClient found, using it []
2015-02-07 22:15:41 DEBUG [Http][54d6807d4800a]Sending request []
2015-02-07 22:15:41 DEBUG [Url][54d6807d47e58]Emitting: url.host.all []
2015-02-07 22:15:41 DEBUG [Http][54d6807d4800a]Writing body []
2015-02-07 22:15:41 DEBUG [Http][54d6807d4800a]Response received []
2015-02-07 22:15:41 DEBUG [Url][54d6807d47e58]Reponse (after 0.11247301101685s): 301 []
2015-02-07 22:15:41 DEBUG [Http][54d6807d4800a]Data received []
2015-02-07 22:15:41 DEBUG [Http][54d6807d4800a]Request done []
2015-02-07 22:15:41 DEBUG [Url][54d6807d47e58]Download complete (after 0.11286997795105s): 0 in length length []
<REPEAT>
This is because it's messaging itself over and over again prefixed with the http protocol.
(Originally opened by @hashworks on a different repo, moving issue to this rep)
Metadata
Metadata
Assignees
Labels
No labels