Hello team,
using Microservices template I want to ask that in any service how we can access the source code ? and which module we have to embed on which service.
Plaese help me asap
Thanks
7 Answer(s)
-
0
Hi,
You can download the source code via ABP Suite : https://docs.abp.io/en/commercial/latest/abp-suite/source-code
-
0
-
0
could you please also share email configuration steps ?
What's the error log?
This is the document:https://docs.abp.io/en/abp/latest/Emailing#email-settings And we have an example you can use to check whether the email settings are correct: https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo
could you please elaborate which module embedd in which microservice
You can check the document:
https://docs.abp.io/en/commercial/latest/startup-templates/microservice/index
-
0
hello team,
I could not find any solutions from this documentation link. if possible can we set up a working session, so you can help us over remote?
Thanks
-
0
Hi,
Sorry, It's better we communicate here, others with this problem will benefit from this too.
Can you describe your needs in detail, I will try to help you.
-
0
Hi,
Here's the log file for send email You can check here
[administration-service_627d2497-e]: System.Net.Mail.SmtpException: Failure sending mail. [administration-service_627d2497-e]: ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time,or established connection failed because connected host has failed to respond. [administration-service_627d2497-e]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) [administration-service_627d2497-e]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) [administration-service_627d2497-e]: at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) [administration-service_627d2497-e]: --- End of stack trace from previous location --- [administration-service_627d2497-e]: at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult) [administration-service_627d2497-e]: at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) [administration-service_627d2497-e]: at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result) [administration-service_627d2497-e]: --- End of stack trace from previous location --- [administration-service_627d2497-e]: at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) [administration-service_627d2497-e]: --- End of inner exception stack trace --- [administration-service_627d2497-e]: at Volo.Abp.Emailing.Smtp.SmtpEmailSender.SendEmailAsync(MailMessage mail) [administration-service_627d2497-e]: at Volo.Abp.Emailing.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize) [administration-service_627d2497-e]: at Volo.Abp.Emailing.EmailSenderBase.SendAsync(String from, String to, String subject, String body, Boolean isBodyHtml) [administration-service_627d2497-e]: at Volo.Abp.SettingManagement.EmailSettingsAppService.SendTestEmailAsync(SendTestEmailInput input) [administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() [administration-service_627d2497-e]: at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed) [administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() [administration-service_627d2497-e]: at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed) [administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() [administration-service_627d2497-e]: at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope) [administration-service_627d2497-e]: at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed) [administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() [administration-service_627d2497-e]: at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed) [administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() [administration-service_627d2497-e]: at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) [administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed) [administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) [administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker) [administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) [administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) [administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) [administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) [administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) [administration-service_627d2497-e]: [12:37:12 INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. [administration-service_627d2497-e]: [12:37:12 INF] Executed action Volo.Abp.SettingManagement.EmailSettingsController.SendTestEmailAsync (Volo.Abp.SettingManagement.HttpApi) in 21144.5908ms [administration-service_627d2497-e]: [12:37:12 INF] Executed endpoint 'Volo.Abp.SettingManagement.EmailSettingsController.SendTestEmailAsync (Volo.Abp.SettingManagement.HttpApi)' [administration-service_627d2497-e]: [12:37:12 DBG] Added 0 entity changes to the current audit log [administration-service_627d2497-e]: [12:37:12 INF] Request finished HTTP/1.1 POST https://localhost:44367/api/setting-management/emailing/send-test-email application/json 124 - 500 - application/json;+charset=utf-8 21156.0068ms -
0
A connection attempt failed because the connected party did not properly respond after a period of time,or established connection failed because connected host has failed to respond
It looks like your email configuration is wrong.
You can use the example to check your email config: https://github.com/abpframework/abp-samples/blob/master/EmailSendDemo/src/EmailSendDemo/Program.cs