Email sampler Jmeter with yopmail - jmeter

i trying to get emails from the "Mail reader sampler" using yopmail, but i only recieve
Response message:javax.mail.MessagingException: Connection timed out: connect;
nested exception is:
java.net.ConnectException: Connection timed out: connect
Conf:
protocol: imaps
server host: imap.yopmail.com
Username: ${email}
Folder: INBOX
Use SSL with "Trust all certificates"
Trying to get emails from "mail reader sampler" but i get 500 error

Related

Logstash local configuration

Im trying to configure local logstash config with spring boot in yml format.
Here it is:
appenders:
logstash:
enabled: true
input-type: tcp
destination: 127.0.0.1:4560
and after running app I catch in console:
WARN in net.logstash.logback.appender.LogstashTcpSocketAppender[logstash] - Log destination 127.0.0.1:5010: connection failed. java.net.ConnectException: Connection refused (Connection refused)
at java.net.ConnectException: Connection refused (Connection refused)
I checked all listeners and the port is not in use. I seems to be easy to fix but I dk how.

com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to dynamodb.ap-southeast-2.amazonaws.com:443

I am going through strange error, i am running spring boot locally and connecting to AWS Dynamodb, it returns below exception:
EVENT>{"#timestamp":"2018-04-03T17:57:33.173+10:00","#Version":1,"message":"Error while creating connection with DynamoDB","logger_name":"com.DynamoDBRepository","thread_name":"http-nio-8080-exec-1","level":"ERROR","level_value":40000,"name":"xyz","apiVersion":"1","application":"xyz","version":"1.6.37","type":"ERROR"}
com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to dynamodb.ap-southeast-2.amazonaws.com:443 [dynamodb.ap-southeast-2.amazonaws.com/52.94.13.132] failed: connect timed out
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1069)
Connection code:
ClientConfiguration clientConfiguration = new ClientConfiguration();
clientConfiguration.withProxyHost("http.com");
clientConfiguration.withProxyPort(8080);
clientConfiguration.withProtocol(Protocol.HTTPS);
clientConfiguration.withProtocol(Protocol.HTTP);
AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard()
.withClientConfiguration(clientConfiguration)
.withRegion(Regions.AP_SOUTHEAST_2).build();
However, this error do not appear when i run my code through public internet.

spring java mail smtp connection issue with outlook server

i am trying to send mail through spring java mail API and my mail server is outlook.
so i am facing below issues.
sometimes it make connection to smpt host and sometimes it return connection timeout.
below i am pasting stacktrace .
SMTP host:example.com.mail.protection.outlook.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out (Connection timed out)
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailS enderImpl.java:404)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSen derImpl.java:332)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSen derImpl.java:347)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSen derImpl.java:336)
at com.condivision.rentongo.service.MailService.sendMail(MailService.jav a:75)
at com.condivision.rentongo.service.MailService$$FastClassBySpringCGLIB$ $1ed18523.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:2 04)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterce ptor.intercept(CglibAopProxy.java:649)
at com.condivision.rentongo.service.MailService$$EnhancerBySpringCGLIB$$ 5228ed74.sendMail(<generated>)
at com.condivision.rentongo.service.OrderService.updateOrderAndInventory Status(OrderService.java:726)
at com.condivision.rentongo.service.OrderService$$FastClassBySpringCGLIB $$a056f002.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:2 04)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation .invokeJoinpoint(CglibAopProxy.java:717)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.

FTP is connect but directory is not displaying

I have 2 network connections. one is idea and another is Reliance. When i use idea then it working very well but when i am using Reliance internet connection then it showing timeout error.
Status: Resolving address of royaleimpex.in
Status: Connecting to 208.91.198.76:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of royaleimpex.in
Status: Connecting to 208.91.198.76:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 5 of 150 allowed.
Response: 220-Local time is now 10:01. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 5 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
There is an issues with the FTP passive port, Please contact your server admin and ask them to enable passive port in your server firewall and FTP configuration,

Grails plugins suddenly failing to download

My build machine just started reporting the following:
:::: ERRORS
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/tomcat/7.0.50/tomcat-7.0.50-sources.jar
SERVER ERROR: Backend is unhealthy url=http://repo1.maven.org/maven2/org/grails/plugins/tomcat/7.0.50/tomcat-7.0.50-src.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/tomcat/7.0.50/tomcat-7.0.50-javadoc.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/7.0.50/tomcat-embed-core-7.0.50.pom
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/7.0.50/tomcat-embed-core-7.0.50.jar
SERVER ERROR: Backend is unhealthy url=http://repo1.maven.org/maven2/org/apache/tomcat/tomcat-catalina-ant/7.0.50/tomcat-catalina-ant-7.0.50.pom
SERVER ERROR: Backend is unhealthy url=http://repo1.maven.org/maven2/org/apache/tomcat/tomcat-catalina-ant/7.0.50/tomcat-catalina-ant-7.0.50.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-jasper/7.0.50/tomcat-embed-jasper-7.0.50.pom
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-jasper/7.0.50/tomcat-embed-jasper-7.0.50.jar
SERVER ERROR: Backend is unhealthy url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-logging-log4j/7.0.50/tomcat-embed-logging-log4j-7.0.50.pom
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-logging-log4j/7.0.50/tomcat-embed-logging-log4j-7.0.50.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.7.2/ecj-3.7.2.pom
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.7.2/ecj-3.7.2.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/release/2.2.1/release-2.2.1-sources.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/release/2.2.1/release-2.2.1-src.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/release/2.2.1/release-2.2.1-javadoc.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.pom
SERVER ERROR: Backend is unhealthy url=http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/rest-client-builder/1.0.3/rest-client-builder-1.0.3-sources.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/rest-client-builder/1.0.3/rest-client-builder-1.0.3-src.jar
SERVER ERROR: Connection timed out url=http://repo1.maven.org/maven2/org/grails/plugins/rest-client-builder/1.0.3/rest-client-builder-1.0.3-javadoc.jar
I took those URLs and started to look for what happened. The server is reporting a 404 on those links. I remove parts of the path I find out that:
http://repo1.maven.org/maven2/org/grails/plugins/
This doesn't exist.
What gives? Is this a maven error or something to do with Grails? Are we experiencing an outage that will be fixed or is this something that I have to tell someone is broke?

Resources