thinker icon indicating copy to clipboard operation
thinker copied to clipboard

Colon in URL string

Open ghost opened this issue 10 years ago • 8 comments

Thinker works great for cloning a DB from localhost to a remote host. However, I had the need to switch to a different PaaS (Compose) and their connection string starts with an x followed by a colon

x:YXYZ.....

that makes thinker think after the color follows the port number.

Can you think of any solution to that?

ghost avatar Mar 04 '16 23:03 ghost

I'm not familiar with how compose works.

At the risk of asking a dumb question...Why does it start with an x:?

internalfx avatar Mar 07 '16 17:03 internalfx

I don't see any mention of the x: in their connection docs...

https://help.compose.io/docs/connecting-to-rethinkdb

internalfx avatar Mar 07 '16 17:03 internalfx

At the risk of asking a dumb question...Why does it start with an x:?

To be honest I have no idea. The connection string they provide for the deployment in the account console starts with x: . I have opened a ticket at their support since I can't connect to the deployment from NodeJS server either.

I will post here if I get back from them.

ghost avatar Mar 07 '16 17:03 ghost

Well, that's is a weird documentation in the Compose deployment overview, however, they say that x: can be ignored.

Connections to Compose require SSL that's why I couldn't connect using Thinker. In the RethinkDB connection configuration there must be the public SSL key such as "ssl": { "ca": "cert" }

BTW, the public SSL key can be transformed to a string

ghost avatar Mar 15 '16 01:03 ghost

So we just need a command line option for it?

like thinker clone --cert "something-goes-here"

internalfx avatar Mar 15 '16 18:03 internalfx

or perhaps thinker clone --cert someFileName

internalfx avatar Mar 15 '16 18:03 internalfx

That would be great. I think in the context of thinker thinker clone --cert someFileName would be the right way to go.

ghost avatar Mar 15 '16 20:03 ghost

This would be very useful 👍

sagivf avatar Aug 11 '16 10:08 sagivf