Github user vensant commented on the issue:
@corneadoug once the file is uploaded, it tries to process the json but
because the file exceeds the max limit it tries to close the websocket event.
so I am trying to broadcast and catch the error code and setting the error
message in html.
We can also implement it the way you have suggested by stopping the flow of
execution by comparing the size with the max size in the client side itself
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket