Realm Object Server Data Adapter with Docker

ros

#1

I’m trying to configure an ecosystem with RealmObjectServer + Postgresql + DataAdapter using Docker Compose, but I can’t connect the Data Adapter server with the ROS because the adapter requires the HTTPS protocol. It keeps showing this error:


Does anyone know how I can configure this properly in Realm.Adapter?
You can see the source code here: https://github.com/artutra/ros-adapter
Edit 1: I added the question to stackoverflow too: https://stackoverflow.com/questions/50236668/realm-object-server-data-adapter-with-docker-compose


#2

Looks like you’re passing in realm:// instead of http:// here: https://github.com/artutra/ros-adapter/blob/master/ros-adapter/src/index.js#L28. The function expects a url with a scheme http:// or https://, not realm://.


#3

Oh god, something that simple haha. Thanks!:grin: