Node-DC/Node-DC-EIS

Error in micro-services mode: 400 Client Error

Closed this issue · 2 comments

  1. Start micro-services
Node-DC-EIS/Node-DC-EIS-microservices $ for d in address_service comp_service db_loader_service employee_service family_service health_service photo_service; do echo $d; cd $d; PATH=$FLOSS/node:$PATH NODE_THREADPOOL_TYPE=SPLIT_BY_ORIGIN node server.js & sleep 2; cd -; done
  1. Run client
$ python runspec.py --config config.json 

(config.json includes the modified line "server_port":"3000",)

Output begins OK but after loading the DB it prints:

HTTP error occured
400 Client Error: Bad Request for url: http://localhost:3000/employees

(many times).

@davisjam Let me know if you still see this issue after our discussion last week.