Closed killua-eu closed 5 years ago
What do you see in response of the Matrix /login
endpoint exactly (status, headers, body) in your case?
In my case I just copied and pasted a wrong url (without noticing) pointing to an instance of wekan. The response was
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Date: Sat, 20 Apr 2019 08:20:17 GMT
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-Frame-Options: ALLOW-FROM
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="/aed027224166c3c59a4159d119050f565065cb40.css?meteor_css_resource=true">
<title></title><meta name="viewport" content="maximum-scale=1.0,width=device-width,initial-scale=1.0,user-scalable=0"><meta http-equiv="X-UA-Compatible" content="IE=edge"><link rel="shortcut icon" href="/wekan-favicon.png"><link rel="apple-touch-icon" href="/wekan-favicon.png"><link rel="mask-icon" href="/wekan-logo-150.svg"><link rel="manifest" href="/wekan-manifest.json">
</head>
<body>
<script type="text/javascript">__meteor_runtime_config__ = JSON.parse(decodeURIComponent("__SNIP_AND_REMOVE__"))</script>
<script type="text/javascript" src="/20e28275f75243bc75d3915c5a8326100081ec26.js?meteor_js_resource=true"></script>
</body>
</html>
I found the misconfiguration easily enough, but the logged output/error wasn't really helpful.
I meant the answer from the Matrix API, not the backend API. The issue title says "Failed silently" - I would like to be sure of what synapse returned to the client in this case.
Oh, tried that from Riot and got something like "unknown" response or error. I didn't expect the client would get a meaningful message back. I'll try to retry when back home
So far all I see is the expected behaviour: the configuration does not point towards a valid base URL.
Synapse does not return anything meaningful even thought this return the exact error.
@killua-eu Any news?
Closing due to inactivity from OP. Please re-open if needed.
While testing the behavior of the provider, I accidentally stumbled upon a silent failure (synapse 0.99.3 on ubuntu 18.04), when the endpoint doesnt serve an expected response. The configuration for pw providers is
that for logging
While logging in, I get:
Would you mind trying if you can reproduce this?