Have configured Tweetmap to connect to MapD Core Server; GPU Instance and imported data to a table. I can as well StreamInsert data using Kafka to the db.
When i try to launch Tweetmap; the connection times out. The the same Tweetmap app when i point it to a remote server it works.
Attached are my connection configs and the error messages i get.
Kindly help me figure out what the problem could be.
i have two suspicions
Is your browser actually running on the same machine as the MapD server?
Are you really listening for
httpsconnections on port
9091this is not a standard setup and you would have to share your mapd.conf changes to see if this is set up correctly.
Thank you for your reply.
Yeah my browser is running on the same machine as the MapD server. Have changed the protocol from https to http but Tweetmap app still encounters the same problem. It seems there is an issues with browser-connector because have used a java client to write and read from the database successfully.
Below are my current configurations.
port = 9091
http-port = 9090
data = "@MAPD_DATA@"
null-div-by-zero = true
port = 9094
frontend = "@MAPD_PATH@/frontend
…Tweetmap Connector configurtaion…
const connection = new Connector()
A java application using database configuration below can write and read from mapd database.
static final String JDBC_DRIVER = "com.mapd.jdbc.MapDDriver"; static final String DB_URL = "jdbc:mapd:localhost:9091:mapd"; static final String USER = "mapd" static final String PASS = "HyperInteractive"
Your config would require you to connect to 9090 to communicate via http.
try changing to
…Tweetmap Connector configurtaion… const connection = new Connector() .protocol(“http”) .host(“localhost”) .port(“9090”) .dbName(“mapd”) .user(“mapd”) .password(“HyperInteractive”)
Let me try that.
Thanks a lot. It worked