Click here to Skip to main content
15,894,896 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: God I hate EF6... Pin
#realJSOP30-Mar-19 10:24
mve#realJSOP30-Mar-19 10:24 
GeneralRe: God I hate EF6... Pin
RickZeeland30-Mar-19 8:02
mveRickZeeland30-Mar-19 8:02 
GeneralRe: God I hate EF6... Pin
#realJSOP30-Mar-19 10:24
mve#realJSOP30-Mar-19 10:24 
GeneralRe: God I hate EF6... Pin
RickZeeland30-Mar-19 10:38
mveRickZeeland30-Mar-19 10:38 
GeneralRe: God I hate EF6... Pin
RickZeeland30-Mar-19 10:55
mveRickZeeland30-Mar-19 10:55 
JokeTwo ants ... Pin
OriginalGriff30-Mar-19 6:07
mveOriginalGriff30-Mar-19 6:07 
GeneralRe: Two ants ... Pin
RickZeeland30-Mar-19 8:07
mveRickZeeland30-Mar-19 8:07 
RantWhy Azure completely totally sucks today (and yesterday) Pin
Sander Rossel30-Mar-19 4:13
professionalSander Rossel30-Mar-19 4:13 
So I've got this web app, EF Core with (automatic) Migrations, Azure AD authentication and an Azure Key Vault.
All works fine on my machine (of course), but now I deploy to Azure and it all goes to hell.
No problem, I'll check my logs... Except there aren't any!
I'll check Application Insights, but nothing!
I'll remove lines one by one until the app starts working... (Old school "debugging"!)
It's not EF Core Migrations and it's not Azure AD authentication, those work fine.

I've traced the line to b.ConfigureKeyVault() in the Program.cs.
So... try catch around it, log the exception and go!
EXCEPT IT WON'T FRIGGIN LOG ANYTHING!!! Mad | :mad: Mad | :mad: Mad | :mad:
The application just stops and that's it.
I get a generic HTTP Error 502.5 - Process Failure.
When I remove the line I get some logging I added in case everything succeeds.
When I add the line the application crashes again, it won't hit my catch and everything stops.
I can't debug it remotely as the app isn't running to begin with.

I've checked the key vault permissions and those should be ok.
This issue has cost me a day now and it's really pissing me off! Mad | :mad:

GeneralRe: Why Azure completely totally sucks today (and yesterday) Pin
lopatir30-Mar-19 4:27
lopatir30-Mar-19 4:27 
GeneralRe: Why Azure completely totally sucks today (and yesterday) [FIXED IT!!!] Pin
Sander Rossel30-Mar-19 4:58
professionalSander Rossel30-Mar-19 4:58 
GeneralRe: Why Azure completely totally sucks today (and yesterday) Pin
RickZeeland31-Mar-19 1:05
mveRickZeeland31-Mar-19 1:05 
QuestionMeteorite book for kids ? Pin
virang_2129-Mar-19 22:37
virang_2129-Mar-19 22:37 
AnswerRe: Meteorite book for kids ? Pin
OriginalGriff29-Mar-19 22:54
mveOriginalGriff29-Mar-19 22:54 
GeneralRe: Meteorite book for kids ? Pin
DRHuff30-Mar-19 5:34
DRHuff30-Mar-19 5:34 
AnswerRe: Meteorite book for kids ? Pin
RickZeeland30-Mar-19 0:45
mveRickZeeland30-Mar-19 0:45 
GeneralRe: Meteorite book for kids ? Pin
virang_2130-Mar-19 17:46
virang_2130-Mar-19 17:46 
AnswerRe: Meteorite book for kids ? Pin
Mark_Wallace30-Mar-19 9:14
Mark_Wallace30-Mar-19 9:14 
JokeRe: Meteorite book for kids ? Pin
Daniel Pfeffer30-Mar-19 22:17
professionalDaniel Pfeffer30-Mar-19 22:17 
GeneralRe: Meteorite book for kids ? Pin
Mark_Wallace31-Mar-19 4:24
Mark_Wallace31-Mar-19 4:24 
AnswerRe: Meteorite book for kids ? Pin
RickZeeland30-Mar-19 11:13
mveRickZeeland30-Mar-19 11:13 
GeneralDon't Hit Save OTD Pin
OriginalGriff29-Mar-19 21:16
mveOriginalGriff29-Mar-19 21:16 
GeneralRe: Don't Hit Save OTD Pin
RickZeeland29-Mar-19 22:00
mveRickZeeland29-Mar-19 22:00 
GeneralRe: Don't Hit Save OTD Pin
PIEBALDconsult30-Mar-19 3:57
mvePIEBALDconsult30-Mar-19 3:57 
GeneralRe: Don't Hit Save OTD Pin
Rick York30-Mar-19 5:52
mveRick York30-Mar-19 5:52 
GeneralMini CCCs 61 Pin
Tim Deveaux29-Mar-19 18:34
Tim Deveaux29-Mar-19 18:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.