We're Hiring!

Mattermost, Inc.

Link preview only works on mobile app

Hi there,
I installed an own mattermost-server and love it.
One day ago the link-preview stoped working on browser and win-app for all users. It still workes fine on mobile. I did not change anything.
Can you help me restoring it?
Greetings from Germany

Hello @NebuKadneZaar, I’m sorry to hear that you’re having issues, I do believe we’ll be able to solve this though!

Are you seeing any error messages in your Mattermost logs? It may help to change the Mattermost logging level to DEBUG and then replicate the issue.

1 Like

Hi @XxLilBoPeepsxX,
thx for your help!
The Log doesnt show in the browser-version or the windows-app.
But I can write an email to the support with my mobile-app. It shows the log too.

Summary

Server Version: 5.29.0 (Build 5.29.0)

Errors:
Date: Tue, 01 Dec 2020 19:39:15 GMT
Message: Received invalid response from the server.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:1925
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1072
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Tue, 01 Dec 2020 19:39:15 GMT
Message: Received invalid response from the server.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:1925
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1072
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Tue, 01 Dec 2020 19:39:15 GMT
Message: Received invalid response from the server.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:1925
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1072
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Tue, 01 Dec 2020 19:39:15 GMT
Message: Received invalid response from the server.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:1925
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1072
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:hbtx
value@[native code]
value@[native code]

Date: Tue, 01 Dec 2020 19:39:16 GMT
Message: Received invalid response from the server.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:1925
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1072
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Tue, 01 Dec 2020 19:39:16 GMT
Message: Received invalid response from the server.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:1925
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1072
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 10:46:03 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@24.js:1:232
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 10:46:03 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 10:46:04 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 11:54:02 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 11:54:02 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 11:54:02 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 17:05:33 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 17:05:33 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 19:18:21 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 19:18:21 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Wed, 02 Dec 2020 19:18:22 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 08:02:08 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@24.js:1:232
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 08:02:09 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 08:02:09 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 08:02:55 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 08:02:55 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 12:59:40 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 12:59:40 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 12:59:41 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:00:39 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:00:39 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:01:10 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:01:10 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:01:11 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:22:30 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:22:31 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:22:31 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:23:18 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:23:18 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Date: Sat, 05 Dec 2020 13:23:22 GMT
Message: Invalid or missing name parameter in request URL.
Stack trace:
construct@2317.js:1:19062
n@22.js:1:331
construct@2317.js:1:19062
586.js:1:107971
p@586.js:1:108107
605.js:1:2804
p@36.js:1:423
36.js:1:1724
p@36.js:1:423
o@36.js:1:900
36.js:1:1043
f@71.js:1:155
71.js:1:864
x@76.js:1:543
y@76.js:1:792
callImmediates@76.js:1:2855
value@48.js:1:2852
48.js:1:1010
value@48.js:1:2532
value@48.js:1:980
value@[native code]
value@[native code]

Ok,
link-preview works with some sites.
Others, like youtube, dont work.
I really dont get the error from the log. Does someone have an idea?

Hello, @NebuKadneZaar

Just to confirm that you have the following feature is enabled on the desktop / web app:

Since you mentioned that it works on the mobile app and assuming that Link Preview is enabled, this would be the first thing that I will look at.

Hi @ahmaddanial,
yes, its active!

grafik

Hi, @NebuKadneZaar

Got it. I would like to reproduce it on my end to verify the behavior to see if it is a misconfiguration or otherwise. Can you confirm on the following:

  • Windows OS version
  • Mattermost Server version
  • Mattermost Windows app version
  • Web browser version
  • Sample YouTube URLs and other sites which are not working for you

You mentioned that it worked for some sites. Can you share the links here please?

Hello @ahmaddanial,
I appreciate your help!

Windows OS version

Win 10 Pro

Mattermost Server version

5.29.0 (Build 5.29.0) on Ubuntu 20.04

Mattermost Windows app version

Browser (newest Firefox or Chrome) or 4.6.1 Desktop

Sample YouTube URLs and other sites which are not working for you

Not working
Random Youtube-Vids:

https://www.youtube.com/watch?v=xY2q3EYv7ds

https://www.youtube.com/watch?v=ds0dWjnnWBA

Other Websites:

http://wetterstationen.meteomedia.de/map=Deutschland

https://smile.amazon.de/Amazon-Kindle-Paperwhite-Wasserfest-Doppeltem-Speicherplatz/dp/B07747FR44/ref=gbps_img___cb64cc8d?smid=A3JWKAKR8XB7XF

Working:

Random Reddit-Links:

https://www.reddit.com/r/pics/comments/k8eutr/friendship_is_important/

https://www.reddit.com/r/oddlysatisfying/comments/k8eewe/this_freshly_baked_croissant/

Other Websites:

https://www.tagesschau.de/inland/corona-bayern-121.html

Edit: I had screenshots of all of them but the forum didnt let me insert more than one. Tell me if you need some of them.

I do wonder if it is possible that a website that doesn’t have meta tags such as the following would not have a URL preview because of the lack of meta content to be served in the preview. See below for example of meta content, which is what is shown in URL previews.

<meta property="og:title" content="Example Domain">
<meta property="og:type" content="website">
<meta property="og:description" content="Welcome to example.com, the number one website on the internet!">
<meta name="theme-color" content="#478ac9">
<link rel="canonical" href="https://example.com">
<meta property="og:url" content="index.html">

I am not sure if this applies here because Youtube and Amazon provide those meta tags, dont they?

This seems to be on Youtube’s end, please see details here https://github.com/mattermost/mattermost-server/issues/16429#issuecomment-741823889.

1 Like

I’d also like to note that for YouTube scraping and loading, your supposed to have a Google API key in your configuration (and if that isn’t still a part of the Mattermost setup, it is required by Google to scrape and fetch from their platforms)

Yeah I have an API Key configured.

Fun fact: Youtube preview worked on on vid on thursday. Could be reproduced on thursday.
Doesnt work anymore right now.

By any chance, do you have any specific CORS policies enabled, or same-site script-security measures enabled that are different from the configuration explicitly mentioned by the Mattermost install documentation?

Nope.

In your config.json file, is 'EnableLinkPreviews": true set to true?

1 Like