Closed luxus closed 3 years ago
I think the token is correct but the request uses the wrong url
Jan-22 13:47:18.018 [BotProvisioner] info: Got message to process with arg=setmatrixtoken
Jan-22 13:47:18.041 [bot-sdk-MatrixLiteClient] info: (REQ-1) GET https://example.com/_matrix/client/r0/account/whoami
Jan-22 13:47:18.059 [bot-sdk-MatrixLiteClient] error: (REQ-1) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
I get this error in the logs.
I think the GET https://example.com
should be GET http://localhost:8008
, it seems that it takes the key domain
instead of the key homeserverUrl
from the config file or maybe I forgot to set something in the config.
thanks for the research
you gotta set up client well-known on your homeserver for it to work properly
I think the token is correct but the request uses the wrong url
Jan-22 13:47:18.018 [BotProvisioner] info: Got message to process with arg=setmatrixtoken Jan-22 13:47:18.041 [bot-sdk-MatrixLiteClient] info: (REQ-1) GET https://example.com/_matrix/client/r0/account/whoami Jan-22 13:47:18.059 [bot-sdk-MatrixLiteClient] error: (REQ-1) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
404 Not Found Not Found
The requested URL was not found on this server.
I get this error in the logs. I think the GET https://example.com should be GET http://localhost:8008, it seems that it takes the key domain instead of the key homeserverUrl from the config file or maybe I forgot to set something in the config.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub[https://github.com/Sorunome/mx-puppet-instagram/issues/22#issuecomment-765426580], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AASSEVEBANYVX6ELVBVLMR3S3GBWJANCNFSM4WDJEGPA]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAArSURBVHic7cEBDQAAAMKg909tDjegAAAAAAAAAAAAAAAAAAAAAAAAAAA+DFFIAAEctgHwAAAAAElFTkSuQmCC###24x24:true###][Sledovací obrázek][https://github.com/notifications/beacon/AASSEVBKG6NZVB224AHKXMTS3GBWJA5CNFSM4WDJEGPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFWPXXFA.gif]
Oh, I've missed that. Thanks! Now it works.
For anyone searching how to do it: https://matrix.org/docs/spec/client_server/latest#get-well-known-matrix-client
confirmed.. well-known must work, now I can set the token
I thought it is the token I can get from the about screen but when I try
setmatrixtoken
with that long string I getERROR: Invalid matrix token