Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
- **ABP Framework version:**v3.0.5.0
- UI type: MVC
- Tiered (MVC) or Identity Server Seperated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:
- I just tempting to created a tiered application with Web API implementation. Non tier application is working fines.
Question Is it causing by I install different version of Redis?
- Why the tier application is behave differently between non tier application? Im using this https://github.com/microsoftarchive/redis/releases/tag/win-3.2.100 instead of redis IO as redis IO cant install over windows.
- From the attached tier images, is it mention that my Identity Server is not running? as it different from non tier.
- Can I using AWS Redis Server for running?
- Do you have any documentation specifically for tier application except for https://docs.abp.io/en/commercial/latest/getting-started?UI=NG&DB=Mongo&Tiered=Yes ?
<br>
- Tier Application
- If I running Tier application For Web Project after Identity Server had run, and Http.API host had run. Im hitting this error
IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.GetResult(short token) System.Net.Security.SslStream.<FillBufferAsync>g__InternalFillBufferAsync|215_0<TReadAdapter>(TReadAdapter adap, ValueTask<int> task, int min, int initial) System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Security.SslStream.ReadAsyncInternal<TReadAdapter>(TReadAdapter adapter, Memory<byte> buffer) System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
Show raw exception details TaskCanceledException: The operation was canceled. System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken) System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync(HttpConnection connection, HttpRequestMessage request, bool doRequestAuth, CancellationToken cancellationToken) System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, bool doRequestAuth, CancellationToken cancellationToken) System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task<HttpResponseMessage> sendTask, HttpRequestMessage request, CancellationTokenSource cts, bool disposeCts) Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest) Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleRemoteAuthenticateAsync()
Show raw exception details Exception: An error was encountered while handling the remote login. Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions>.HandleRequestAsync() Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
13 Answer(s)
-
0
Hi,
I used redis on windows(https://github.com/microsoftarchive/redis/releases/tag/win-3.2.100) and tiered start template but can't reproduce your problem.
Does it work fine if you use AWS Redis Server?
-
0
closed due to inactivity...
-
0
Hi Alper,
I hit the same error in version 3.1.2.
I can shared Github repository for solutions with you if you want to.
Thanks Alper.
-
0
@liangshiwei can you check out what's the issue?
-
0
Yes , I can. @Leaf Could you share the github repository to me ? my email : shiwei.liang@volosoft.com
-
0
HI @liangshiwei,
I added you in the repository. Please help to check and guid me for correct way.
Between, I have also created a Tiedemo.SampleApp module. Dont mind please help to add the code for how to link up the menu to show in Main Solutions (Tiedemo).
Thanks @liangshiwei
-
0
First remove the following code in your
TiedemoWebModule
class.[DependsOn(typeof(AbpAccountPublicWebModule))] [DependsOn(typeof(AbpAccountPublicWebIdentityServerModule))]
It works fine. About show the SampleApp module menus you can add module dependencies to the Tiedemo.
- add
typeof(SampleAppApplicationModule)
toTiedemoApplicationModule
- add
typeof(SampleAppApplicationContractsModule)
toTiedemoApplicationContractsModule
- add
typeof(SampleAppDomainModule)
toTiedemoDomainModule
- add
typeof(SampleAppDomainSharedModule)
toTiedemoDomainSharedModule
- add
typeof(SampleAppEntityFrameworkCoreModule)
toTiedemoEntityFrameworkCoreModule
- add
typeof(SampleAppHttpApiModule)
toTiedemoHttpApiModule
- add
typeof(SampleAppHttpApiClientModule)
toTiedemoHttpApiClientModule
- add
typeof(SampleAppWebModule)
toTiedemoWebModule
NOTE: If your module have entities , you need add migration file.
If you have the
SampleApp
permission, you will see the menus: - add
-
0
Thanks @liangshiwei.
Very details guideline and it is working fine now.
Thank you.
-
0
-
0
-
0
Hi @liangshiwei,
Any update please ...
Thank you.
-
0
Hi @Leaf
Please create a new question to discuss. thanks.
-
0
Ok. created MVC, Tier Application Logout Issues. Thank you