Issue

When inferring a schema in Panther, or when navigating to Configure > Schemas > Create New in the Panther Console, I see a "Bad Gateway" error. 

Resolution

In a Chrome browser window, you can resolve this by manually clearing the session_id:

  1. In your browser, go to Developer Tools > Application tab.

  2. On the left side under "Storage," expand the Session Storage header.

  3. Delete the NEW_SCHEMA_SESSION_ID key.

schema-session-key.png

Cause

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.