ipwb: Some URLs not loaded from localhost though present in cdxj

With the attached .warc.gz and the attached .cdxj (zipped), when opening http://localhost:5000/20171207224241/serv.peterme.net/cross-platform-guis-and-nim-macros.html, not all resources are loaded from localhost. Some of them are still pulled from the Web, though they seem to be present both in the .warc and in the .cdxj. From the Firefox console, those seem to be:

which seems to roughly match the “memento/null/…” ones in the log below:

C:\dnload\ipfs-etc>\Python27\python.exe ipwb/ipwb replay gui-library-for-nim.cdxj
IPWB replay started on http://localhost:5000
CDXJ Line: net,peterme,serv)/cross-platform-guis-and-nim-macros.html 20171207224241 {"locator": "urn:ipfs/QmU9SkG1gVK7tAAocVjyMDXjZRyByXbCWRBFC8Ednr4MDc/QmNmkkFGiPyxsU1vXT3rLbRN4HJA3Bi8FeRXojAwtVCeFH", "mime_type": "text/html", "status_code": "200"}
Getting CDXJ Lines with serv.peterme.net/cross-platform-guis-and-nim-macros.html in gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R https://fonts.googleapis.com/css?family=Open+Sans from gui-library-for-nim.cdxj
Getting CDXJ Lines with https://fonts.googleapis.com/css?family=Open+Sans in gui-library-for-nim.cdxj
Could not find com,googleapis,fonts)/css?family=open+sans?family=open+sans 20171207224241 in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with fonts.googleapis.com/css?family=open+sans?family=Open+Sans in gui-library-for-nim.cdxj
Could not find com,googleapis,fonts)/css?family=open+sans?family=open+sans in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at fonts.googleapis.com/css?family=open+sans?family=Open+Sans
[]
Getting CDXJ Lines with fonts.googleapis.com/css?family=open+sans?family=Open+Sans in gui-library-for-nim.cdxj
Could not find com,googleapis,fonts)/css?family=open+sans?family=open+sans in CDXJ at gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R https://fonts.googleapis.com/css?family=Arvo:700 from gui-library-for-nim.cdxj
Getting CDXJ Lines with https://fonts.googleapis.com/css?family=Arvo:700 in gui-library-for-nim.cdxj
Could not find com,googleapis,fonts)/css?family=arvo:700?family=arvo:700 20171207224242 in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with fonts.googleapis.com/css?family=arvo:700?family=Arvo:700 in gui-library-for-nim.cdxj
Could not find com,googleapis,fonts)/css?family=arvo:700?family=arvo:700 in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at fonts.googleapis.com/css?family=arvo:700?family=Arvo:700
[]
Getting CDXJ Lines with fonts.googleapis.com/css?family=arvo:700?family=Arvo:700 in gui-library-for-nim.cdxj
Could not find com,googleapis,fonts)/css?family=arvo:700?family=arvo:700 in CDXJ at gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/styles.css from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/styles.css in gui-library-for-nim.cdxj
CDXJ Line: net,peterme,serv)/styles.css 20171207224242 {"locator": "urn:ipfs/QmTB2Pwh7yWTj9Ae9HgncUVh1B9ThmjGyRyxxM4JvUvXAn/QmPcF5ojR9SrPuFzyPxhQcV7QiGcnAtYEYJQyRngwkCVsP", "mime_type": "text/css", "status_code": "200"}
Getting CDXJ Lines with serv.peterme.net/styles.css in gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/cmun-serif.css from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/cmun-serif.css in gui-library-for-nim.cdxj
CDXJ Line: net,peterme,serv)/cmun-serif.css 20171207224242 {"locator": "urn:ipfs/QmPbpqTGYg5yXEghYPVCgUwWRa1vmFWbZytG82JUxXJhEB/QmSt8oLGBo38ZoVBPxm4zYkp3s6C9ndHTw1krDetvYy9Xt", "mime_type": "text/css", "status_code": "200"}
Getting CDXJ Lines with serv.peterme.net/cmun-serif.css in gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/github.css from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/github.css in gui-library-for-nim.cdxj
CDXJ Line: net,peterme,serv)/github.css 20171207224242 {"locator": "urn:ipfs/QmWTyLd2WC68N5zpE1HbVcdUc9AQJ8jSdLV6FoDuUyFJY6/QmbqrjPfRrBeq3Ve1r4pTQ5FWugzJ9vRAFD9QRoMjVZwjo", "mime_type": "text/css", "status_code": "200"}
Getting CDXJ Lines with serv.peterme.net/github.css in gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/highlight.pack.js from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/highlight.pack.js in gui-library-for-nim.cdxj
Could not find net,peterme,serv)/highlight.pack.js in CDXJ at gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/img/back.svg from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/img/back.svg in gui-library-for-nim.cdxj
CDXJ Line: net,peterme,serv)/img/back.svg 20171207224242 {"locator": "urn:ipfs/QmSmNGq7Fbq9bKFEJEMNXDXAMDYCMgEeb6pGYMQR8WtF5o/QmdS4GdtSt8EUbQ2GZSaBVNRTRFAVAD6exB3811KM2EMkb", "mime_type": "image/svg+xml", "status_code": "200"}
Getting CDXJ Lines with serv.peterme.net/img/back.svg in gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/img/note.svg from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/img/note.svg in gui-library-for-nim.cdxj
CDXJ Line: net,peterme,serv)/img/note.svg 20171207224242 {"locator": "urn:ipfs/QmSDZUoDHQ264X5ccjLbX2dqRPByHpZHkFti51MDko8WgN/QmRNfesY2DaBuqNMR8mHGS6qGuwNdsvFN4xJiE3sByKEQ8", "mime_type": "image/svg+xml", "status_code": "200"}
Getting CDXJ Lines with serv.peterme.net/img/note.svg in gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/img/rss.svg from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/img/rss.svg in gui-library-for-nim.cdxj
CDXJ Line: net,peterme,serv)/img/rss.svg 20171207224242 {"locator": "urn:ipfs/Qmbv4eh4RANiQP3GDoAaYxpwYDAdnATUUXTDxBFogUi2pB/QmcaQaxF5XQGfpc32msacVuh5vEdx2m3xfy4L2ztkEA91k", "mime_type": "image/svg+xml", "status_code": "200"}
Getting CDXJ Lines with serv.peterme.net/img/rss.svg in gui-library-for-nim.cdxj
Getting CDXJ Lines with the URI-R http://serv.peterme.net/functions.js from gui-library-for-nim.cdxj
Getting CDXJ Lines with http://serv.peterme.net/functions.js in gui-library-for-nim.cdxj
Could not find net,peterme,serv)/functions.js in CDXJ at gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/img/link.svg in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with memento/null/http://serv.peterme.net/img/link.svg in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/img/link.svg in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at memento/null/http://serv.peterme.net/img/link.svg
[]
Getting CDXJ Lines with memento/null/http://serv.peterme.net/img/link.svg in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/img/link.svg in CDXJ at gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunbx.woff in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunbx.woff in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunbx.woff in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at memento/null/http://serv.peterme.net/cmunbx.woff
[]
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunbx.woff in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunbx.woff in CDXJ at gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunrm.woff in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunrm.woff in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunrm.woff in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at memento/null/http://serv.peterme.net/cmunrm.woff
[]
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunrm.woff in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunrm.woff in CDXJ at gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunti.woff in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunti.woff in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunti.woff in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at memento/null/http://serv.peterme.net/cmunti.woff
[]
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunti.woff in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunti.woff in CDXJ at gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunbx.ttf in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunbx.ttf in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunbx.ttf in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at memento/null/http://serv.peterme.net/cmunbx.ttf
[]
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunbx.ttf in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunbx.ttf in CDXJ at gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunrm.ttf in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunrm.ttf in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunrm.ttf in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at memento/null/http://serv.peterme.net/cmunrm.ttf
[]
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunrm.ttf in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunrm.ttf in CDXJ at gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunti.ttf in CDXJ at gui-library-for-nim.cdxj
CDXJ Line: None
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunti.ttf in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunti.ttf in CDXJ at gui-library-for-nim.cdxj
CDXJ lines with URI-R at memento/null/http://serv.peterme.net/cmunti.ttf
[]
Getting CDXJ Lines with memento/null/http://serv.peterme.net/cmunti.ttf in gui-library-for-nim.cdxj
Could not find memento)/null/http:/serv.peterme.net/cmunti.ttf in CDXJ at gui-library-for-nim.cdxj

I believe this may be coming from serviceWorker.js, though I’m not 100% sure.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 24 (21 by maintainers)

Most upvoted comments

Looks good to me now, thanks! 😄

On first look, there are still some requests in the Firefox console reported as external (non-localhost), but when I take a look at the response details, they show “InterPlanetary Wayback Replay/…”, so this makes me feel good and safe now 😃

Thanks a lot!!! 😃 😃 😃

Perhaps I should populate Reconstructive repo that will take care of this issue. Putting an example around this approach is almost half the work of writing whole Reconstructive logic. In the interim, you might just want to use a global variable (or localstorage) to mitigate this immediate issue. This approach is far from being good, but will do the trick until I push something more thoughtful in the other repo. I will try to spare some cycles for that tomorrow or over the weekend.