Trouble tunnelling django python script to ngrok local host (on raspberry pi)


#1

Hi –

Trying to make a IVR phone tree using the Django - Twilio library. (following these instructions https://www.twilio.com/blog/2014/07/build-an-ivr-system-with-twilio-and-django.html )

I have the python script tunneled to ngrok local host 8000, but it gives me a 404 error when I try to access the temp site – from a cursory google search, it could be a .wsgi issue ??? (http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html)

First time working with Django, so it might be a simple syntax issue with the script too (I just used the same script as the tutorial, but its two years old now, so unsure if that is another reason for error as well) –
Let me know if anyone has any directions to research!

---- Thanks!


#2

Are you using this code?


#4

using that code & http://raspberrypituts.com/django-raspberry-pi-tutorial/ – just tried to configure with
https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-apache-and-mod_wsgi-on-ubuntu-14-04

– still giving me same errors.
let me know if you have any suggestions

I can see GET /favicon.ico 404 Not Found errors in the HTTP Requests on my RPi && it says the tunnel status is online.

----- thank you!!!