Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

external link images fail to load #2442

@r3k2

Description

@r3k2

if I copy the link I get:
{"errcode":"M_UNKNOWN","error":"Internal server error"}
of course on the client app does not show..
if I click on it for a bigger image.. then it does work. so is only the thumbnail..

logs:

2017-09-07 01:51:59,664 - synapse.access.http.8008 - 59 - INFO - GET-2729255- - - 8008 - Received request: GET /_matrix/media/v1/thumbnail/hispagatos.org/HdiupKrMrGvKkgcBkpNJSGnw
2017-09-07 01:51:59,667 - synapse.http.server - 139 - ERROR - GET-2729255- Failed handle request synapse.rest.media.v1.thumbnail_resource._async_render_GET on <synapse.rest.media.v1.thumbnail_resource.ThumbnailResource instance at 0x7f5e005b3878>: <XForwardedForRequest at 0x7f5dac392dd0 method=GET uri=/_matrix/media/v1/thumbnail/hispagatos.org/HdiupKrMrGvKkgcBkpNJSGnw clientproto=HTTP/1.0 site=8008>
2017-09-07 01:51:59,669 - synapse.access.http.8008 - 91 - INFO - GET-2729255- - - 8008 - {None} Processed request: 4ms (4ms, 0ms) (1ms/2) 55B 500 "GET /_matrix/media/v1/thumbnail/hispagatos.org/HdiupKrMrGvKkgcBkpNJSGnw HTTP/1.0" "Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0"
2017-09-07 01:52:28,283 - synapse.access.http.8008 - 59 - INFO - GET-2729313- - - 8008 - Received request: GET /_matrix/media/v1/thumbnail/hispagatos.org/DxFLpupsFETBchKWmozJcFLo?width=100&height=100
2017-09-07 01:52:28,294 - synapse.http.server - 139 - ERROR - GET-2729313- Failed handle request synapse.rest.media.v1.thumbnail_resource._async_render_GET on <synapse.rest.media.v1.thumbnail_resource.ThumbnailResource instance at 0x7f5e005b3878>: <XForwardedForRequest at 0x7f5dbc5ea440 method=GET uri=/_matrix/media/v1/thumbnail/hispagatos.org/DxFLpupsFETBchKWmozJcFLo?width=100&height=100 clientproto=HTTP/1.0 site=8008>
2017-09-07 01:52:28,295 - synapse.access.http.8008 - 91 - INFO - GET-2729313- - - 8008 - {None} Processed request: 12ms (0ms, 0ms) (3ms/2) 55B 500 "GET /_matrix/media/v1/thumbnail/hispagatos.org/DxFLpupsFETBchKWmozJcFLo?width=100&height=100 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Riot/0.11.4 Chrome/56.0.2924.87 Electron/1.6.8 Safari/537.36"

on homeserver.yml

# Unsecure HTTP listener,
  # For when matrix traffic passes through loadbalancer that unwraps TLS.
  - port: 8008
    tls: false
    bind_address: ''
    type: http

    x_forwarded: true

    resources:
      - names: [client, webclient]
        compress: true
      - names: [federation]
        compress: false

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions