Elastic APM Intake API timeout except on python applications - elastic-stack

I have an elastic apm server version 7.17.1. There are only to Django application on the server. The APM service is using about 140MB of memory. When connecting new agents, I receive a timeout error.
node.js error
{"log.level":"error","#timestamp":"2022-07-07T23:15:34.033Z","log":{"logger":"elastic-apm-node"},"ecs":{"version":"1.6.0"},"message":"APM Server transport error: intake response timeout: APM server did not respond within 10s of gzip stream finish"}
Java error
2022-07-07 14:31:36,503 [elastic-apm-server-reporter] ERROR
co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Error
sending data to APM server: Read timed out, response code is -1
If I use flask or Django or PHP, new apps are registered.
(I couldn't find logs from Go, but that APM agent failed as well.)
APM server logs did not appear relevant as the errors occurred in both instances

Check your IPS. In our env, we saw the IPS swatting down packets from Java and Go-based apps. I'm no developer, but once we got those sources white-listed, we saw the Agents information coming through :)

Related

Eclipse Hono Command Line Client that is trying to run on remote server is not able to connect to eclipse-hono-dispatch-router-ext service

At first time i deployed all hono services via minikube and helm chart on my local pc and i was able to use any services. But when i deploy hono services on remote server, i couldnt start Hono Command Line Client as a consumer from my local pc to remote server. i got this message;
09:22:42.438 [vert.x-eventloop-thread-0] WARN o.e.h.c.impl.ConnectionFactoryImpl - can't open connection to container [null] at [amqp://10.0.1.68:15671, role: unknown]: underlying connection was disconnected while opening AMQP connection
09:22:42.439 [vert.x-eventloop-thread-0] INFO o.e.h.client.impl.HonoConnectionImpl - max number of attempts [5] to re-connect to server [10.0.1.68:15671, role: unknown] have been made, giving up
09:22:42.452 [vert.x-eventloop-thread-0] ERROR org.eclipse.hono.cli.app.Receiver - Error occurred during initialization of receiver: failed to connect
unlike the eclipse-hono-dispatch-router-ext services, i can use other services like device registry and mqtt client adapter.Also i tried to run
java -jar hono-cli-*-exec.jar --hono.client.host=$AMQP_NETWORK_IP --hono.client.port=15672 --hono.client.username=consumer#HONO --hono.client.password=verysecret --spring.profiles.active=receiver --tenant.id=$MY_TENANT
this command line on remote server via ssh connection, i got same result.
Can anyone help me? if asked additional information, i will send it.

Network Timeout for Containerized Service in Service Fabric

We lift and shifted our cloud services to Azure Service Fabric. We converted our services to Windows Container and successfully deployed to the cluster. However, we're getting a lot of timeout issue while uploading file to Sharepoint and accessing Azure SQL Server.
See the example below:
SQL: A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable)
Sharepoint: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
Note: These issues are not happening is cloud services.

500 Error: Failed to establish a backside connection on bluemix java liberty app

I deployed my java web application on Bluemix Dedicated environment and use it with Cloudant Dedicated NoSql DB. In this DB i tried to return 60k documents and server returned
500 Error: Failed to establish a backside connection
to me. So i'm wondering about connection timeout in Bluemix, there're posts where people claim that Bluemix resets a network connection in 120 if there's no response received. Is it possible to change this setting, or maybe someone knows how to solve such problem.
P.S. When I deploy it on my computer then it works fine, but of course it takes some time. Particularly this case may be solved using cloudant pagination, but i develop service for scheduling REST-calls and if bluemix reset all connections after 2 minutes i'll have a big problems with it.
Not sure which Bluemix Dedicated you are using, but the timeout is typically global. Paging would work and I thinking a websocket based approach would work as well.
-r

The error that can't send and receive event in Kaa cluster

I deployed 3 Kaa clusters follow the kaa Cluster setup guide document.
The databases are MongoDB and MariaDB. When I run C Client(I make a code change that every client can login in three kaa servers in random) firstly, it can login in kaa server and send or receive event.
But after I stop the Client and start it secondly, it can not send or receive event.
Then I try to do it again and again. But almost it is bad. I will upload the server log and the Client log .
The error maybe caused by kaa cluster.
I generated a Java and Android Client SDK.The problem would also take place while I run Java and Android Client .

Spurious failures on discovery client connecting to discovery server

We are noticing a number of random failures on the spring cloud services that we created trying to connect to the discovery server. They seem to happen every now and then and so far have not caused discovery to fail.
However, out operations group is reporting this to us a possible issue and we are trying to investigate. Is there any condition that we should be concerned about.
The example that I am showing below is that i replicated the same issue running on my laptop with the service and discovery server (eureka) on the same machine, so networking as a cause seems to be not the issue.
015-08-10 10:41:51.592 INFO 9897 --- [pool-8-thread-1] o.a.http.impl.client.DefaultHttpClient : I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://localhost:8761: The target server failed to respond
2015-08-10 10:41:51.593 INFO 9897 --- [pool-8-thread-1] o.a.http.impl.client.DefaultHttpClient : Retrying request to {}->http://localhost:8761