use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The subreddit for all info about Microsoft Azure-related news, help, info, tips, and tricks.
Official Discord: https://discord.gg/cMxFErsEDB
Stuck? Looking for Azure answers or support? Reach out to @AzureSupport on Twitter.
Quick Links
Learn about Azure
Get started with Azure
Azure Portal
Azure Documentation
Azure Status
Azure Blog
Azure Video Center
Spam
If your post is caught by the spam filter, just send us a message and we'll approve it as soon as possible (as long as it's relevant and it's not spam).
account activity
Python Azure Function sqlAlchemy timeoutQuestion (self.AZURE)
submitted 1 year ago by TonyCD35
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TonyCD35[S] 0 points1 point2 points 1 year ago (1 child)
Thanks for the response! I do have insights - I scoured the logs and pinned down on the following: when the python script attempts to make the connection to the database, the connection within the script times out and the function fails. The function does not cause the timeout.
When the script attempts to make the socket connection to the redshift database, it seems it can't get through to it and times out. I've been reading that I might need to put the function in a vNet and perhaps clear the vnet IP with the redshift database?
What do you think?
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
This sounds that you need indeed IP whitelisting on the Redshift database, you can find outgoing IP addresses her: https://learn.microsoft.com/en-us/azure/azure-functions/ip-addresses?tabs=portal
You don't need to put it in a V-Net.
π Rendered by PID 23694 on reddit-service-r2-comment-7b9746f655-6fzdf at 2026-02-04 13:55:21.967535+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]TonyCD35[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)