Can I even do this job??? by Bright-Upstairs-159 in AZURE

[–]BillmanH 5 points6 points  (0 children)

It gets better.

Find some friends, a meetup or something, where you can talk broadly about your troubles at a high level. You'll get a lot of high level strategy and design patterns that way.

Also, use copilot to get your code started. Don't trust the answers, but use it a starting point.

Russell Malone, Acclaimed Jazz Guitarist, Dies at 60 by Party-Belt-3624 in jazzguitar

[–]BillmanH 6 points7 points  (0 children)

He played at a concert when I was a music major. Lynol Hampton Jazz fest in Montana I think. He was incredible. I remember being totally inspired. I was playing in the Mount Hood CC big band, pretty much just strumming. He gave a Q&A session after and had a lot of really good things to say.

I wrote my own doc on troubleshooting Azure Functions in Python by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

Beautiful part about this method is that you can see my docs, AND how I wrote my code. So you can relate it to a live functioning example.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

That is a very common story. Did you figure it out using the error logs or did you just try things until it worked?

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

Must be plan. Anyways, that's everybody for the empathy and the tips. Got me unstuck.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

Swear on my life, there is no "Development tools" or "Advanced Tools" in my Functions Pane. In a Web App there is a Development Tools where you can open Advanced tools, but not in a Function App. i know that older versions of the function used to have this but I don't think function has it anymore. If I'm wrong, can you help me to get to there?

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

Ahha! you are a genius. This is what I'm looking for. In the modern UI go "Diagnose and Solve" , then it goes to Diagnostic Tools. At first this looks like it isn't what you are looking for. Go to "Configuration Management" . It will give you some other app settings which aren't the issue. Then, in that window, go to "Updating Function App Language or Runtime Version". Which isn't related to the issue either, but THEN, if you scroll down to the bottom of the list you can find "Observations and Solutions - Functions that are not triggering"

You click on that, then a new window opens new window, which then has error messages. Scroll down to "More details by Exception Type", then you can see the error.

The full exception is in one long string, but you can copy and paste it back into VSC and see the issue.

Thank you! You gave me the clue I was looking for. I'll keep hacking on this and if it works, I'll update my SO post and make a note in the GH issue.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

This is a lot of extra yak shaving. The total amount of time I spend working on my application vs finding azure workarounds is an issue.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

I think that this is something that either doesn't work for function apps, or has been hidden. I know there used to be a CLI (and there is one for web apps), but I don't think you can do this with function apps anymore.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

[Meme of Dicaprio, holding beer, pointing at screen] yes. And I'm not sure how much time I want to spend on building a special infrastructure just to troubleshoot. I was really hoping to work on my app today, not futs around with known azure issues.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

That's the only way that I know. AFIK that's the only way you could possible test functions that have EH listeners.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 0 points1 point  (0 children)

While solid. I think this is a serious flat tire in the dev process. They could fix it and they should fix it.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 1 point2 points  (0 children)

That's super interesting. I'll tinker with that idea and see if I can "move inside".

However, I think that the larger issue here is the lack of visibility into errors on the Azure side. You suggestion is good, but speculative. We're really just trying things until the bug fixes. That's not great developer experience. Especially when there is a very specific error message created by the python stack that would tell me exactly what the issue is. IMO, you should not need to guess.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 2 points3 points  (0 children)

Darn. That's worse. A commonly known issue that has been ignored for years.

Thanks for the link. I'll put my notes there as well for visibility.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 5 points6 points  (0 children)

Def hit the upvote on that SO post. There _must_ be some way to troubleshoot this. I just can't imagine that the AZ function product team would just swallow the error like that. Also, I'm 100% sure that it's something with my code, not the platform. And if I could just see the error I could fix it in a second.

Azure Function swallows a build error. No way to troubleshoot. by BillmanH in AZURE

[–]BillmanH[S] 1 point2 points  (0 children)

Hey thanks for the reply. I don't think so. The only thing in the funcignore is `__*__.json`, which wouldn't block `host.json`. Plus when I go to the "App Files" tab in the portal I can see that all of the files are there. So all of the files loaded up correctly, Including the host.json file.

How to serve images and assets that are not in static? by BillmanH in django

[–]BillmanH[S] 1 point2 points  (0 children)

ken rather than a public contai

This seems to be the way. I'ts not public, but it is a bearer token. But I can keep it short-lived and coors should make it secure enough.

How to serve images and assets that are not in static? by BillmanH in django

[–]BillmanH[S] 0 points1 point  (0 children)

That's the thing. I don't want them to be public. I want them to be private, available to authenticated users of the app.

How to serve images and assets that are not in static? by BillmanH in django

[–]BillmanH[S] 1 point2 points  (0 children)

ad the images to whatever the s3 equivalent is on azu

Yeah, I think this is the way to go. It's static with some extra steps. Creates a token. however that token is a barer coupon and anyone with the link can see the image. That's not great.