I am facing a weird issue, that when I submit a file in a form it gets submitted, but when I edit that submission and try to download the file I get this message ‘DNS lookup {ip address} is not allowed. Because, It is private IP address.’.
Could you kindly share with the community the screenshot of what you intend to download (dataset, images)? It would be helpful for the community to better understand your issue and provide support.
I have created a form which has an option to upload the files.
When the user uploads the file and submits the form, the files gets stored in server.
But when he tries to edit that submission and then try downloading again - he gets this error message: (in the attached screenshots)
A query, but why would you wish to download the file while you are in the edit mode? Maybe if you could download it through the online table view. It’s more easy and comfortable downloading a file from the online table view as shown in the image below:
Sorry i misunderstood your query. Yes the workaround only works with a media attachment i.e. with images, audio and video recording. It seems like KoBoToolbox at the moment does not support the same for the uploaded files. Could you kindly please create a Feature’s Improvement Requesthere so that the same could be seen in the upcoming days.
Thanks for the suggestion @Kal_Lam I sure will add request for feature, thanks.
However the issue I faced was related to a change in the config file for Enketo express, I had to manually change the config file to allow the private Ip address as per the instructions in this link - https://enketo.github.io/enketo-express/tutorial-10-configure.html (under ip filtering).
This solved my issue, posting here, if maybe someone else faced the same issue. Thanks.