Closed ediweissmann closed 2 years ago
Thank you for reporting this @ediweissmann
could you share bit more details on how you run the library so we can identify the issue. For example, are you using it in multithreading environment or something similar? If you could share also details about environment you use (Java version, etc) that would help us a lot too.
Yes to multithreading environment (a java/scala web app), as in there can be multiple threads/requests calling the Postmark API client in parallel.
Is the client not thread-safe, should we take care of the synch access on our end?
java -version
Picked up JAVA_TOOL_OPTIONS: -Xmx100m -Xss512k -Djava.net.preferIPv4Stack=true
openjdk version "11.0.7" 2020-04-14 LTS
OpenJDK Runtime Environment Corretto-11.0.7.10.1 (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.7.10.1 (build 11.0.7+10-LTS, mixed mode)
Thanks @ediweissmann
client should be thread safe, but that was first to come to my mind related to issue. I will see to dig into this issue this week
Hi @ediweissmann
we just released version 1.7.6 which should resolve this issue. Let me know if works correctly for you.
Igor
Thank you, will let you know if it happens after updating.
Hello @ibalosh
We're using 1.8.0 version and still getting same error. Do you have any idea?
Hi @aonurozcan
unfortunately we can't reproduce the issue and haven't received any additional customer support regarding this issue. We will need to investigate it more
Hey guys,
in order to resolve this issue I would need as much details as possible from you so that we can reproduce it and fix it. We are not yet sure if the issue is coming from the library or from the API response for this specific case.
things that help
The more details you share, the easier we will track the issue down
Thanks
Hey guys,
in order to resolve this issue I would need as much details as possible from you so that we can reproduce it and fix it. We are not yet sure if the issue is coming from the library or from the API response for this specific case.
things that help
- exact Java version
- library version (I am guessing latest)
- in which period of the day you see the issue
- any other specific libraries/environment you are using
- what is the type of sending you do when you see the issue (batch, single emails, attachments, how big email messages, etc)
- for which endpoints do you see the issue? (sending, templates, outbound messages, link tracking, stats, bounces, etc)
- do you use windows, linux, mac environment, etc
The more details you share, the easier we will track the issue down
Thanks
java version: java-11-amazon-corretto library version: 1.8.0 in which period of the day you see the issue: it is randomly, we have simulated same failed request and it does successfully sent email any other specific libraries/environment you are using: spring boot 2.6.6 what is the type of sending you do when you see the issue: single emails with attachment for which endpoints do you see the issue?: sending mail do you use windows, linux, mac environment: we are using AWS Beanstalk with Amazon Linux 2/3.2.14
@enkuru could you also share how big is the email you are sending, body + attachment?
@ibalosh sorry I have checked we don't send attachment, only template. So there is only body with 15 KB
np, @enkuru do you see this only when sending with templates, or you can see it on some other endpoints too?
Hi, we saw it only sending with templates
Seeing this from time to time: