These are chat archives for beniz/deepdetect

11th
Apr 2017
Ayush
@ayushsangani
Apr 11 2017 15:51
Hey all,
I have been trying to use predict endpoint and not able to figure out what’s wrong with it.
Stuck with this error:
{"status":{"code":400,"msg":"BadRequest","dd_code":1005,"dd_msg":"Service Input Error”}}
Docker container logs show this error: ERROR - 14:25:55 - service imageserv mllib bad param: Could not resolve host: i.ytimg.com
any help in how to fix this would be really helpful
Emmanuel Benazera
@beniz
Apr 11 2017 15:56
I think the server tells you all :)
check your networks params
Ayush
@ayushsangani
Apr 11 2017 15:57
haha yeah but not able to find actual problem!
does docker container have problem talking to browser?
Emmanuel Benazera
@beniz
Apr 11 2017 15:59
can't debug containers... check whether your container's access to network is working
and that the posted URL is valid
Ayush
@ayushsangani
Apr 11 2017 16:00
hmm yeah URL is valid, it’s the same you posted in docs as an example:
http://i.ytimg.com/vi/0vxOhd4qlnA/maxresdefault.jpg
Ayush
@ayushsangani
Apr 11 2017 16:56
fixed it! looks like docker was not configured properly in my local for network access. Thanks @beniz