Base solution for your next web application

Activities of "affern"

There were app settings values that caused the error. When I ran the publish wizard, I checked for "use this connection string at run time". But Visual Studio inserted null for db user. The connection string in my app.settings.production was correct. When I published now I unchecked "use this connection string at run time" and it works.

My page returns Failed to load resource: the server responded with a status of 500 (Internal Server Error). GET <a class="postlink" href="https://mywebhost.azurewebsites.net/AbpUserConfiguration/GetAll">https://mywebhost.azurewebsites.net/Abp ... ion/GetAll</a> 500 (Internal Server Error) VM5832:350 ERROR: VM5832:350 {code: 0, message: "InternalServerError", details: null, validationErrors: null}

I had this working, but after my last deploy i get this error. My config settings looks fine. I run new host api core 2.0 version, but together with Angular 4 version. It runs fine on my local machine.

@ismcagdas I have the same problem in my solution in Azure. And I have tried with different browsers with same result. But I send you the url to the solution in azure and also my log-file.

Ismcagdas, do you know how I can solve this? :geek: :)

<cite>alper: </cite> looks like a CORS problem!

CORS request made for path: /AbpUserConfiguration/GetAll from origin: <a class="postlink" href="http://localhost:4200">http://localhost:4200</a> but rejected because invalid CORS path

#4111@bb112b53-4ca3-47b3-aaa9-2c7d8dc379b6

Yes, it looks like a CORS problem. But I can't find invalid path settings in the config files. I don't know how to solve this :(

<cite>BBakerMMC: </cite> Did you redeploy the DB/run the migrations/seed?

Yes, I did.

From log file: INFO 2018-01-08 22:50:52,268 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a> application/json DEBUG 2018-01-08 22:50:52,272 [3 ] IdentityServer4.CorsPolicyProvider - CORS request made for path: /AbpUserConfiguration/GetAll from origin: <a class="postlink" href="http://localhost:4200">http://localhost:4200</a> but rejected because invalid CORS path DEBUG 2018-01-08 22:50:52,272 [3 ] n.Cookies.CookieAuthenticationMiddleware - AuthenticationScheme: Identity.Application was not authenticated. DEBUG 2018-01-08 22:50:52,272 [3 ] IdentityServer4.Hosting.EndpointRouter - No endpoint entry found for request path: /AbpUserConfiguration/GetAll INFO 2018-01-08 22:50:52,274 [3 ] entication.JwtBearer.JwtBearerMiddleware - Bearer was not authenticated. Failure message: No SecurityTokenValidator available for token: null WARN 2018-01-08 22:50:52,275 [3 ] n.IdentityServerAuthenticationMiddleware - No validator configured for reference token. Ensure ApiName and ApiSecret have been configured to use introspection. INFO 2018-01-08 22:50:52,275 [3 ] frastructure.NopAuthenticationMiddleware - Bearer was not authenticated. Failure message: No token found.

My angularApp does not redirect to the login page anymore either. When I start opp it just showing a blank page.

Hi.

I'm not able to login with my admin user anymore. I deleted my database and all my migration files to have a clean solution before I published to Azure. Now I'm not able to login to my development app or Azure app with admin user. Something is failing in LoginAsync.

I reinstalled everything and now it works. Thanks :)

From the application log: <h3>HTTP Error 502.5 - Bad Gateway</h3> <h4>The specified CGI application encountered an error and the server terminated the process.</h4> </div> <div class="content-container"> <fieldset><h4>Most likely causes:</h4> <ul> <li>The CGI application did not return a valid set of HTTP errors.</li> <li>A server acting as a proxy or gateway was unable to process the request due to an error in a parent gateway.</li> </ul> </fieldset> </div> <div class="content-container"> <fieldset><h4>Things you can try:</h4> <ul> <li>Use DebugDiag to troubleshoot the CGI application.</li> <li>Determine if a proxy or gateway is responsible for this error.</li> </ul> </fieldset> </div>

<div class="content-container"> <fieldset><h4>Detailed Error Information:</h4> <div id="details-left"> <table border="0" cellpadding="0" cellspacing="0"> <tr class="alt"><th>Module</th><td>   AspNetCoreModule</td></tr> <tr><th>Notification</th><td>   ExecuteRequestHandler</td></tr> <tr class="alt"><th>Handler</th><td>   aspNetCore</td></tr> <tr><th>Error Code</th><td>   0x00000000</td></tr> </table> </div> <div id="details-right"> <table border="0" cellpadding="0" cellspacing="0"> <tr class="alt"><th>Requested URL</th><td>   http://ZeroAppWebHost20180107:80/favicon.ico</td></tr> <tr><th>Physical Path</th><td>   D:\home\site\wwwroot\favicon.ico</td></tr> <tr class="alt"><th>Logon Method</th><td>   Anonymous</td></tr> <tr><th>Logon User</th><td>   Anonymous</td></tr>

</table> <div class="clear"></div> </div> </fieldset> </div> <div class="content-container"> <fieldset><h4>More Information:</h4> This error occurs when a CGI application does not return a valid set of HTTP headers, or when a proxy or gateway was unable to send the request to a parent gateway. You may need to get a network trace or contact the proxy server administrator, if it is not a CGI problem. </fieldset>

Showing 71 to 80 of 98 entries