You are not logged in.

#1 2017-01-03 19:12:26

josealb77
Member
Registered: 2013-06-23
Posts: 90

[SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

Hi,

I use a hotmail.com mail account, and since firefox 50.1.0 pdf files attached to mails I receive sometimes loads and sometimes not. When they aren't loaded it is stuck with a message in the bottom of the page that says "Looking up attachment.outlook.office.net..." but never ends.

I've contacted with the outlook technical support and we finished when they told me to try with another browser, I tried with midori and didn't worked neither, but when they told me to try it with the browser in my phone cell it worked well. So the problem isn't in their servers, is in my ArchLinux.

I've tried to change settings in firefox to open them with Atril instead the pdf viewer embedded  in firefox, but nothing changes since the viewer does not get to receive nothing to show.

I've tried too the solutions in here: http://support.mozilla.org/en-US/kb/vie … ading-them , but none of them have worked it out.

Any other suggestion?

Last edited by josealb77 (2017-01-22 23:22:45)

Offline

#2 2017-01-03 21:27:05

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

If it did work in 50.0.2 and does neither in 50.1.0 nor midori, the browser update will not have been the only change (downgrade FF to see whether it still works w/ 50.0.2)
Adblocker? Firewall? "Blocking" via /etc/hosts?

Try chromium.
Use the inspector in either chromium or midori when trying to open the pdf, watch out for error messages, locate the file in the "network" tab and try to  download the URL directly (wget/curl) - if you get any.

Cheat MS: install an addon that allows to alter the useragent and tell hotmail that you're Edge on Windows 10

Offline

#3 2017-01-20 08:41:12

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

If it did work in 50.0.2 and does neither in 50.1.0 nor midori, the browser update will not have been the only change (downgrade FF to see whether it still works w/ 50.0.2)

Downgraded to 50.0.2 but does not work anymore.

Adblocker? Firewall? "Blocking" via /etc/hosts?

Disabling Adblock plus did nothing. Firewall, I just use the router one. And blocking via hosts.conf, there's no block there, just ""order hosts,bind" and "multi on"" nothing else.

Try chromium.

With chromium works.

Use the inspector in either chromium or midori when trying to open the pdf, watch out for error messages, locate the file in the "network" tab and try to  download the URL directly (wget/curl) - if you get any.

Using the instpector in Chromium I think that I've identify which is the file's url and I've tried to download with wget. Wget hasn't been able to download the file neither:

[user@hostk]$ wget https://attachment.outlook.office.net/owa/josealb77@hotmail.com/service.svc/s/GetFileAttachment?id=AQMkADAwATZiZmYAZC04ZDViLTVjNzMtMDACLTAwCgBGAAADDFyNDzjMYkOHWD8yrQHQ%2BAcA1Vdy0zWcq0OPs9OiiOlDWAAAAgFQAAAA1Vdy0zWcq0OPs9OiiOlDWAAAAGeLORMAAAABEgAQAFDCksvSvY1IqmwVsCp%2FOtU%3D&X-OWA-CANARY=WiKT1T9k-0K-ZeEv61TtDBClv0sNQdQYufWf6ZMALjrb-GgmsIvkq7W7xkh0jQM_tSldoepSaUc.&token=5dcb7dd8-d5f1-4f03-8997-13abea7859bc&owa=outlook.live.com&isc=1&isDocumentPreview=True
[1] 4870
[2] 4871
[3] 4872
[4] 4873
[5] 4874
bash: X-OWA-CANARY=WiKT1T9k-0K-ZeEv61TtDBClv0sNQdQYufWf6ZMALjrb-GgmsIvkq7W7xkh0jQM_tSldoepSaUc.: no se encontró la orden
[user@host]$ --2017-01-20 09:27:54--  https://attachment.outlook.office.net/owa/josealb77@hotmail.com/service.svc/s/GetFileAttachment?id=AQMkADAwATZiZmYAZC04ZDViLTVjNzMtMDACLTAwCgBGAAADDFyNDzjMYkOHWD8yrQHQ%2BAcA1Vdy0zWcq0OPs9OiiOlDWAAAAgFQAAAA1Vdy0zWcq0OPs9OiiOlDWAAAAGeLORMAAAABEgAQAFDCksvSvY1IqmwVsCp%2FOtU%3D
Resolviendo attachment.outlook.office.net (attachment.outlook.office.net)... falló: Fallo temporal en la resolución del nombre.
wget: no se pudo resolver la dirección del equipo “attachment.outlook.office.net”

Here I kill wget with Ctrl+c because it isn't doing anything else, and this is the final output:

[1]   Salida 4                wget https://attachment.outlook.office.net/owa/josealb77@hotmail.com/service.svc/s/GetFileAttachment?id=AQMkADAwATZiZmYAZC04ZDViLTVjNzMtMDACLTAwCgBGAAADDFyNDzjMYkOHWD8yrQHQ%2BAcA1Vdy0zWcq0OPs9OiiOlDWAAAAgFQAAAA1Vdy0zWcq0OPs9OiiOlDWAAAAGeLORMAAAABEgAQAFDCksvSvY1IqmwVsCp%2FOtU%3D
[2]   Salida 127              X-OWA-CANARY=WiKT1T9k-0K-ZeEv61TtDBClv0sNQdQYufWf6ZMALjrb-GgmsIvkq7W7xkh0jQM_tSldoepSaUc.
[3]   Hecho                   token=5dcb7dd8-d5f1-4f03-8997-13abea7859bc
[4]-  Hecho                   owa=outlook.live.com
[5]+  Hecho                   isc=1

The strange thing is that with chromium it works when with Firefox, Midori and wget does not.

I've done a firefox refresh too, but didn't work neither.

I have to say that it is not only related to pdf files, the embedded images in the mail does not load neither.

What else can I try to make it work in Firefox?

Offline

#4 2017-01-22 14:07:26

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

You got to put the URL into quotes (use single ones ie. ', not ") for wget. Try again to see whether the issue is restricted to FF.

Offline

#5 2017-01-22 21:23:34

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

wget 'https://attachment.outlook.office.net/owa/josealb77@hotmail.com/service.svc/s/GetFileAttachment?id=AQMkADAwATZiZmYAZC04ZDViLTVjNzMtMDACLTAwCgBGAAADDFyNDzjMYkOHWD8yrQHQ%2BAcA1Vdy0zWcq0OPs9OiiOlDWAAAAgFQAAAA1Vdy0zWcq0OPs9OiiOlDWAAAAGeLORMAAAABEgAQAFDCksvSvY1IqmwVsCp%2FOtU%3D&X-OWA-CANARY=WiKT1T9k-0K-ZeEv61TtDBClv0sNQdQYufWf6ZMALjrb-GgmsIvkq7W7xkh0jQM_tSldoepSaUc.&token=5dcb7dd8-d5f1-4f03-8997-13abea7859bc&owa=outlook.live.com&isc=1&isDocumentPreview=True'
The name is too long, 378 chars total.
Trying to shorten...
New name is GetFileAttachment?id=AQMkADAwATZiZmYAZC04ZDViLTVjNzMtMDACLTAwCgBGAAADDFyNDzjMYkOHWD8yrQHQ%2BAcA1Vdy0zWcq0OPs9OiiOlDWAAAAgFQAAAA1Vdy0zWcq0OPs9OiiOlDWAAAAGeLORMAAAABEgAQAFDCksvSvY1IqmwVsCp%2FOtU%3D&X-OWA-CANARY=WiKT1T9k-0K-ZeEv61TtDBClv0s.
--2017-01-22 22:20:56--  https://attachment.outlook.office.net/owa/josealb77@hotmail.com/service.svc/s/GetFileAttachment?id=AQMkADAwATZiZmYAZC04ZDViLTVjNzMtMDACLTAwCgBGAAADDFyNDzjMYkOHWD8yrQHQ%2BAcA1Vdy0zWcq0OPs9OiiOlDWAAAAgFQAAAA1Vdy0zWcq0OPs9OiiOlDWAAAAGeLORMAAAABEgAQAFDCksvSvY1IqmwVsCp%2FOtU%3D&X-OWA-CANARY=WiKT1T9k-0K-ZeEv61TtDBClv0sNQdQYufWf6ZMALjrb-GgmsIvkq7W7xkh0jQM_tSldoepSaUc.&token=5dcb7dd8-d5f1-4f03-8997-13abea7859bc&owa=outlook.live.com&isc=1&isDocumentPreview=True
Resolviendo attachment.outlook.office.net (attachment.outlook.office.net)... falló: Fallo temporal en la resolución del nombre.
wget: no se pudo resolver la dirección del equipo “attachment.outlook.office.net”

Offline

#6 2017-01-22 21:34:26

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

wget: no se pudo resolver la dirección del equipo “attachment.outlook.office.net”

dig attachment.outlook.office.net

?

ping attachment.outlook.office.net

?

Offline

#7 2017-01-22 21:52:10

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

dig attachment.outlook.office.net

$ dig attachment.outlook.office.net

; <<>> DiG 9.11.0-P2 <<>> attachment.outlook.office.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34916
;; flags: qr rd ra; QUERY: 1, ANSWER: 16, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;attachment.outlook.office.net.	IN	A

;; ANSWER SECTION:
attachment.outlook.office.net. 251 IN	CNAME	edge-attachment.outlook.office365.com.
edge-attachment.outlook.office365.com. 251 IN CNAME lb.geo.office365.com.
lb.geo.office365.com.	141	IN	CNAME	outlook.office365.com.glbdns2.microsoft.com.
outlook.office365.com.glbdns2.microsoft.com. 84	IN CNAME outlook-emeasouth.office365.com.
outlook-emeasouth.office365.com. 178 IN	A	40.101.7.178
outlook-emeasouth.office365.com. 178 IN	A	132.245.61.210
outlook-emeasouth.office365.com. 178 IN	A	40.101.16.194
outlook-emeasouth.office365.com. 178 IN	A	132.245.50.66
outlook-emeasouth.office365.com. 178 IN	A	40.96.19.210
outlook-emeasouth.office365.com. 178 IN	A	40.101.28.194
outlook-emeasouth.office365.com. 178 IN	A	40.101.41.162
outlook-emeasouth.office365.com. 178 IN	A	40.101.49.66
outlook-emeasouth.office365.com. 178 IN	A	40.101.49.98
outlook-emeasouth.office365.com. 178 IN	A	132.245.49.242
outlook-emeasouth.office365.com. 178 IN	A	40.101.16.178
outlook-emeasouth.office365.com. 178 IN	A	40.101.5.114

;; Query time: 14 msec
;; SERVER: 62.81.29.254#53(62.81.29.254)
;; WHEN: dom ene 22 22:46:50 CET 2017
;; MSG SIZE  rcvd: 408

ping attachment.outlook.office.net

$ ping attachment.outlook.office.net
ping: attachment.outlook.office.net: Fallo temporal en la resolución del nombre

Offline

#8 2017-01-22 22:49:46

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

my spanish is a little hazy, but the ping/wget output sounds like the server name could not be resolved while dig works => your resolver is fucked up.

cat /etc/resolv.conf

Offline

#9 2017-01-22 22:58:49

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

seth wrote:

my spanish is a little hazy, but the ping/wget output sounds like the server name could not be resolved while dig works => your resolver is fucked up.

hahaha, for this task your spanish is working well.

cat /etc/resolv.conf

$ cat /etc/resolv.conf
# Generated by resolvconf
search home
nameserver 62.81.29.254
nameserver 62.81.16.213

Which IPs should be there?

Offline

#10 2017-01-22 23:05:30

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

None of them answers to ping.

Should I contact with my internet provider? Or can I put there others?

Last edited by josealb77 (2017-01-22 23:06:40)

Offline

#11 2017-01-22 23:10:29

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

Looks like they belong to your ISP.
try removing "search home" and adding (on top) "nameserver 8.8.8.8" (this change won't persist!)

cat /etc/resolvconf.conf

edit: dns servers don't have to echo, but 

dig @62.81.16.213 google.com

shouold work - and does not.
It's stunning you can use the internet at all (beyond some cached domain names)

Last edited by seth (2017-01-22 23:13:20)

Offline

#12 2017-01-22 23:22:16

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

That did the trick.

Good job seth!!!

Now I have to find some good DNS resolvers and make the changes persistant.

Thank you for you incalculable help seth! Thank you very much!

Offline

#13 2017-01-23 08:15:25

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

You can edit /etc/resolvconf.conf  to add custom DNS servers .
Find public DNS servers: http://public-dns.info/

8.8.8.8 is one of googles DNS servers.
Notice that the provider sees any domain ("hot-porn.tv" ;-) you query.

And you should contact your ISP on the matter, yes.

Offline

#14 2017-01-23 10:03:29

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Since firefox 50.1.0 outlook does not always loads pdf files

Seems rare to me that I've used namebench and the fastest DNS resolvers it has sugested didn't resolv attachment.outlook.office.net well neither in firefox. Nevertheless I've found some that work fine in addition to 8.8.8.8.

Offline

Board footer

Powered by FluxBB