matrix-dimension icon indicating copy to clipboard operation
matrix-dimension copied to clipboard

Problems with starting dimension Server

Open r4a5a88 opened this issue 6 years ago • 5 comments

Hello I installed dimension behinsd a reverse proxy on a Server with matrix synapse and riot web client. When I try to start dimension , it gets stuck at the snychronisation

info [BotSdk-MatrixClientLite] Received sync. Next token: s85_1292_64_72_110_10_320_49_3 info [BotSdk-MatrixClientLite] Performing sync with token s85_1292_64_72_110_10_320_49_3 info [BotSdk-MatrixLiteClient (REQ-52)] GET https://SERVER/_matrix/client/r0/sync info [BotSdk-MatrixLiteClient (REQ-52)] qs = {"full_state":false,"timeout":10000,"since":"s85_1292_64_72_110_10_320_49_3"} info [BotSdk-MatrixLiteClient (REQ-52 RESP-H200)] {"account_data": {"events": []}, "to_device": {"events": []}, "device_lists": {"changed": [], "left": []}, "presence": {"events": []}, "rooms": {"join": {}, "invite": {}, "leave": {}}, "groups": {"join": {}, "invite": {}, "leave": {}}, "device_one_time_keys_count": {"signed_curve25519": 50}, "next_batch": "s85_1292_64_72_110_10_320_49_3"}

I watchet it for 10 minutes and nothing changed.

web:
  port: 8184
  address: '127.0.0.1'

# Homeserver configuration
homeserver:
  # The domain name of the homeserver. This is used in many places, such as with go-neb
  # setups, to identify the homeserver.
  name: "https://SERVER"

  # The URL that Dimension, go-neb, and other services provisioned by Dimension should
  # use to access the homeserver with.
  clientServerUrl: "https://SERVER"

  # The URL that Dimension should use when trying to communicate with federated APIs on
  # the homeserver. If not supplied or left empty Dimension will try to resolve the address
  # through the normal federation process.
  federationUrl: "127.0.0.1:8448"

r4a5a88 avatar May 14 '19 08:05 r4a5a88

My servers a in an internal network with a reverse proxy

proxy


Alias dimension /dimension


	ProxyPass /dimension http://192.168.13.85/dimension/
	ProxyPassReverse /dimension http://192.168.13.85/dimension/

apache on server


 
 Alias dimension /dimension
 	
 	ProxyPass /dimension http://127.0.0.1:8184
 	ProxyPassReverse /dimension http://127.0.0.1:8184
	
 	

r4a5a88 avatar May 14 '19 09:05 r4a5a88

Your config has a url for the homeserver name when it should just be the name

turt2live avatar May 14 '19 14:05 turt2live

I tried it out but it changed little. When I access the dimension page online I only get a loading screen of sorts

r4a5a88 avatar May 15 '19 12:05 r4a5a88

Oh, I just noticed that you're using /dimension as a path: Dimension is not intended to be run in this way. You'll have to figure out the necessary configuration to either translate the path appropriately or use a subdomain.

turt2live avatar May 15 '19 17:05 turt2live

ESP-H200

I have same problem, how do you solved it? I mean it tries get sync with 200 response in a loop.

QuinnSF avatar Feb 10 '21 10:02 QuinnSF