signal-setup-guide icon indicating copy to clipboard operation
signal-setup-guide copied to clipboard

DynamoDb endpoint

Open JonnyX11 opened this issue 4 years ago • 6 comments

Hey,

Can you please explain how you config in yml file the endpoint of DynamoDb of the docker?

Thanks!

JonnyX11 avatar May 13 '21 06:05 JonnyX11

I don't think this can be done without modifying the source code of the Signal server... It expects to be able to use the instance profile of the EC2 instance the server is running on to connect to a real AWS region

jacob-pro avatar May 18 '21 15:05 jacob-pro

So how did you make it works ?

What did you change to run the DynamoDB on docker ?

JonnyX11 avatar May 19 '21 12:05 JonnyX11

I haven't made it work! Using local DynamoDb will require some modifications to the code. If this is something you want to do I suggest starting here:

https://github.com/signalapp/Signal-Server/blob/10cd60738ac086407f01d68700717b7e544739b0/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java#L281

If you are not running in an Aws EC2 environment, that is not the only problem you will have, you will also have to look at modifying the DynamicConfigurationManager, because the server will not start without access to Aws AppConfig:

https://github.com/signalapp/Signal-Server/blob/master/service/src/main/java/org/whispersystems/textsecuregcm/storage/DynamicConfigurationManager.java#L46

Like I said, I have not got this working myself, because after investigating it, I discovered it would require substantial code modifications. So I cannot offer any further advice. I am currently running Single Server v4.97 because that does not have the AWS dependencies.

jacob-pro avatar May 19 '21 13:05 jacob-pro

Do you have a conference call on this version Signal Server v4.97?

If yes can you share the steps please ?

JonnyX11 avatar May 19 '21 14:05 JonnyX11

I don't know I haven't got as far as that, only registering new users. But i can share what I have done:

https://github.com/madeindra/signal-setup-guide/blob/989383f9dc71654d9c268ae3271481335bea63c6/signal-server-4.xx/README.md

(https://github.com/madeindra/signal-setup-guide/pull/83)

jacob-pro avatar May 19 '21 14:05 jacob-pro

OK thanks

Please try to figure out if there is a conference call.

What about clients? which version android and iOS ?

JonnyX11 avatar May 19 '21 15:05 JonnyX11