I have a pretty unique predicament here. I'm using Twilio and need to test my Twiml response on my local machine. The goto solution for that is ngrok, but the problem is that the site I'm working on relies on subdomains for proper routing. There is no mysite.com, only sub.mysite.com. In the local environment I've modified hosts to redirect sub.mysite.dev to 127.0.0.1, but I haven't a clue how to solve this over a tunnel. Any thoughts?
A unique Twilio testing predicament
261 Views Asked by Stephen Corwin At
1
There are 1 best solutions below
Related Questions in RUBY-ON-RAILS
- How to display legend box in tooltip text for amCharts 5 in Rails application?
- how to integrate cashfree payment gateway in ruby on rails project
- RSpec Capybara throwing Selenium error when trying to click a button with browser confirm
- rails minitest not picking up fixture properly, instance variable not percolating
- Duplicate GET requests - Rails & Heroku
- How to stub out current_user in JWT model for Rspec?
- NameError in Home#index
- Verifying Google Identity OAuth2 token with Ruby
- Error WebMock::NetConnectNotAllowedError in testing with stub using minitest in rails (using Faraday)
- why is mission_control-jobs erroring with load path error?
- Rescuing validation errors from a polymorphic association
- New error on random number assigned to local variable , Rails
- How to fix error in model with gem lockbox
- Images uploaded via Active Storage not displaying in Active Admin or on certain devices
- controller test_methods generating two errors intermittently
Related Questions in LOCALHOST
- What's supposed to be the problem in this query?
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Firebase authentication does not work on 127.0.0.1 but works on localhost
- Next.Js: localhost:3000 not working in browser
- Auto redirect 127.0.0.1:8000 to 127.0.0.1:8000/app/
- How can I connect my Android Studio apk to localhost for real Android devices?
- Localhost doesn't see my file; The requested URL was not found on this server
- Issue with Google Login Implementation using google-auth-library in Node.js
- Calling service with localhost or machine IP for internal calls?
- If a website is running on localhost, does Next.js have more performance than React.js?
- Mediapipe making python local server throw "[WinError 6] The handle is invalid"
- Filament Laravel Project
- localhost runs for a long time (react)
- React app using Vite has blank white screen when i open in localhost
- Persist Local AppEngine logs to Google App Engine Logger?
Related Questions in SUBDOMAIN
- Assigned A record for Subdomain in Cloud DNS to Compute Engine VM instance but not propagated/resolved yet
- Download a website using wget command to include any subdomain
- How to assign a shared ssl certificate for subdomain in Plesk
- How to parse subdomains from URLs in FastAPI?
- WordPress Multisite Subdomain showing error 404
- How to use subdomains in laravel app on local ubuntu?
- Troubleshooting incorrect content on mobile redirect
- HTTPS / Secure site failure for sub domains - who's the culprit?
- use RewriteMap to redirect domains to subdomains
- Separate subdomains on one GitHub page
- Method not allowed status code when targeting subdomain
- How to create a folder on windows server dynamically via server panel
- How do I serve my Node.js application on a subdomain?
- exim4: extract domain from subdomain
- Wordpress multisite subdomain gives error 404
Related Questions in TWILIO
- Twilio Salesforce integration (Chat Transcripts)
- How to set up "No Input Prompts" for whatsapp bot which is developed on Google Dialogflow CX and deployed through Twilio
- How to add context to chat-gpt twilio customer service bot?
- Stop Audio Stream on Twilio WS - Python
- Why does Twilio Studio insert line breaks around variables in my text and json?
- I want to auto update the Primary handler fails webhook Url using twilio functions, can someone guide me?
- Endpoint URL to connect the Dialogflow CX agent to WhatsApp using Twilio
- How to stream audio of <Dial> to websocket?
- Can Twilio save a voicemail in MP3 format when using the AWS S3 external storage option
- Cann't send back data using websocket for Twilio call
- Trying to send Twilio webhook to Kommo crm
- Twilio ASP.NET Web Api Request Validation - 'Specified method is not supported' When Attempting To Read From Content Stream
- Looking to trigger webhook on all api created sms sent messages w/o passing messaging channel or webhook parameter
- Migrating from whatsApp Template to Content Builder
- Twilio: is it possible to finish the <Dial> verb before timeout?
Related Questions in TUNNELING
- How to detect SSTP traffic?
- Is it possible to implement the CONNECT HTTP method with the Snap framework?
- Dropbear SSH Tunnel disconnected if upload a file
- UDP Hole Punching Java Example
- What happens when both STUN and TURN fail?
- Can I use http tunnel to ping or traceroute through a proxy with firewall?
- PreviewMouseDoubleClic handled ignored
- Security of HTTP tunnelling with RMI
- developing a proxy script
- Ways to host a web server with ports bellow 1024 blocked (except 22)?
- SSH tunneling when all connections are password protected
- SSH to server behind firewall
- SSH tunneling with Eclipse and RSE plugin
- iOS app-level communication over USB
- A unique Twilio testing predicament
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm the creator of ngrok.
You can still make this work with ngrok, you'll just need to decide on a few subdomains up front that you want to use for testing. ngrok lets you forward multiple tunnels via the configuration file (https://ngrok.com/usage#config) Example configuration file:
This will forward
one.mysite.ngrok.com -> 127.0.0.1:80
two.mysite.ngrok.com -> 127.0.0.1:80
three.mysite.ngrok.com -> 127.0.0.1:80
It's not a wildcard (ngrok doesn't support wildcards at the moment), but having a few subdomains setup should be good enough for testing, I imagine.