Closed
Bug 1411637
Opened 7 years ago
Closed 7 years ago
Activity Streams pings servers every 5 minutes for highlights, even if they are 301 to a dns "server not found" error
Categories
(Firefox :: New Tab Page, defect)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
Firefox 58
People
(Reporter: standard8, Assigned: andreio)
References
Details
I've been working on bookmarks and as a result I'm working with a few older pages. I noticed there's a few urls that are getting pinged every 5 minutes. These are urls that are either 301s or that are server not found. I believe from elsewhere, that activity stream won't follow 301s, but it should also stop pinging these addresses. Likewise, if the network is known to be working (I think there's a ping for this), and the server is not found, I'm not convinced it is right to keep on attempting to ping it every 5 mins. Example addresses: http://tests.themasta.com/tinderboxpushlog/ (301) http://tbpl.mozilla.org/ (host not found)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → andrei.br92
Comment 1•7 years ago
|
||
What's the request? Is it for the thumbnail? I assume it's because Screenshots throws an error and doesn't resolve a value, so the cache entry doesn't update with a thumbnail. Maybe the cache should remember when a screenshot fails too?
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Ed Lee :Mardak from comment #1) > What's the request? Is it for the thumbnail? It is coming from the fetchImage in HighlightsFeed.jsm > I assume it's because > Screenshots throws an error and doesn't resolve a value, so the cache entry > doesn't update with a thumbnail. Maybe the cache should remember when a > screenshot fails too? Yes, I think that should probably be the case.
Updated•7 years ago
|
Reporter | ||
Comment 3•7 years ago
|
||
I think I was wrong about the requests going on here, I think http://tests.themasta.com/tinderboxpushlog/ was redirecting to http://tbpl.mozilla.org/. The latter is the one with the DNS error. So every 5 mins we are pinging the original, getting the 301, and then trying the redirected item that's broken.
Summary: Activity Streams pings servers every 5 minutes for highlights, even if they are 301 or server not found → Activity Streams pings servers every 5 minutes for highlights, even if they are 301 to a dns "server not found" error
Updated•7 years ago
|
status-firefox57:
--- → wontfix
status-firefox58:
--- → affected
Assignee | ||
Comment 4•7 years ago
|
||
Fixed in https://github.com/mozilla/activity-stream/pull/3773.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Comment 5•7 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6eece4a58299
Target Milestone: --- → Firefox 58
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•