error when i run code demo

  • Last Post 3 weeks ago
yairaz posted this 3 weeks ago

i get this error when i run the code :

Error: connect ECONNREFUSED

  • Liked by
  • Daniel_K
Order By: Standard | Newest | Votes
Koen de Leijer posted this 3 weeks ago

Hi means that at some point in your code you are not pointing to any ocrsdk server.

Can you provide the demo code / you code you are using?

Best regards

Koen de Leijer

yairaz posted this 3 weeks ago

Hi Koen,

i use this demo :

and i put my app id and password, i changed also the image path and the data processing location to my area.

Is there anything else I need to add?

Thanks and happy new year :)



  • Liked by
  • Daniel_K
Daniel_K posted this 3 weeks ago


i am facing the same issue. It seems like the demo code in the repo is broken..

2 changes which need to be made are explained here.

After those 2 changes the console logs "Uploading image.." and the terminates without any other response whatsoever. A fix would be really appreciated!

  • Liked by
  • yairaz