Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs packed with error: Text may not be null #4330

Closed
lucas-mdiniz opened this issue Aug 5, 2022 · 3 comments
Closed

Logs packed with error: Text may not be null #4330

lucas-mdiniz opened this issue Aug 5, 2022 · 3 comments
Assignees

Comments

@lucas-mdiniz
Copy link

When I see my server logs, there are a lot of errors like this:

2022-08-03 09:15:28,619 [Thread-6996607] ERROR i.a.console.rest.CommonRestService - java.lang.IllegalArgumentException: Text may not be null
at org.apache.http.util.Args.notNull(Args.java:54)
at org.apache.http.entity.mime.content.StringBody.(StringBody.java:156)
at org.apache.http.entity.mime.MultipartEntityBuilder.addTextBody(MultipartEntityBuilder.java:121)
at org.apache.http.entity.mime.MultipartEntityBuilder.addTextBody(MultipartEntityBuilder.java:126)
at io.antmedia.console.rest.CommonRestService.sendUserInfo(CommonRestService.java:267)
at io.antmedia.console.rest.CommonRestService$2.run(CommonRestService.java:238)

Environment

  • Operating system and version: Linux/UNIX
  • Ant Media Server version: Enterprise Edition 2.4.3 20220418_2241

Is there a way to prevent these errors from happening?

@yashtandon113
Copy link
Contributor

@lucas-mdiniz
Thanks for reporting this issue.
Could you please provide more details about this issue? Are these errors generated on a single standalone instance or in cluster mode? If it is in cluster mode, then how did you deploy the cluster?

@lucas-mdiniz
Copy link
Author

Hello yashtandon113, thanks for answering.

Those errors are generated in cluster mode.
To deploy we used a CloudFormation yaml based on this one:

https://github.com/ant-media/Scripts/blob/76aea1d155968cb58c5f40d5dea4a4fef0adbbb9/cloudformation/antmedia-aws-autoscale-template.yaml

@mekya
Copy link
Contributor

mekya commented Aug 8, 2022

Hi @lucas-mdiniz ,
Thank you for the issue. I know the cause of this problem. It's not a problem that may effect the streaming.
But for sure, let us fix it.

Regards,
A. Oguz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants