When inferring a schema in Panther, or when navigating to Configure > Schemas > Create New in the Panther Console, I see a "Bad Gateway" error.
In a Chrome browser window, you can resolve this by manually clearing the session_id:
In your browser, go to Developer Tools > Application tab.
On the left side under "Storage," expand the Session Storage header.
Delete the NEW_SCHEMA_SESSION_ID
key.
This usually occurs when the size of a request exceeds the server's file size limit, such as uploading the log file to generate a schema.