Enketo: DNS lookup is not allowed

Hello -

We are encountering an enketo error when loading an already saved form to edit (urls are provided for example - they require authentication which I can’t post on a public forum):

https://ee.wsb-labs.com/edit/w0qRxzFa?instance_id=165fc62d-0767-4255-82c0-c41e8cbf72b8&returnUrl=false

The page above has some media attachments to the submitted form, and the urls are being loaded like:

https://ee.wsb-labs.com/media/get/https/kc.wsb-labs.com/media/medium?media_file=vkrishna%2Fattachments%2F00e1126c1fe24b51bb0d932ae10f0607%2F165fc62d-0767-4255-82c0-c41e8cbf72b8%2Fsignature-12_49_55.png

Enketo is giving me this error:

DNS lookup 10.0.0.181(family:4, host:kc.wsb-labs.com) is not allowed. Because, It is private IP address.Error Code: 500

has anyone seen this error before?

1 Like

I have same issue and could not resolve it. I have Kobotoolbox installed in own server, This error in my case continue with all forms that referencing external data. I tested that forms on other servers and its working perfectly.

any help to solve it is much appreciated.

I was able to resole this issue, I had to manually change the config file to allow the private Ip address as per the instructions in this link Cannot download file after uploading it one of my submissions when editing the submission - #7 by ryanend

thanks