• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Stacktrace when visiting a URL with weird characters

Scheduled Pinned Locked Moved
Q&A
tomcat stack trace logging error
1
2
2.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dan
    last edited by 1 Oct 2020, 14:04

    Putting in a URL like https://fusionauth.whatever/api/jwt/issue?application_id={} actually shows a Tomcat error page with a full stack trace. Is there a way to disable this or to at least remove the stack trace from the error messge?

    --
    FusionAuth - Auth for devs, built by devs.
    https://fusionauth.io

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 1 Oct 2020, 14:09

      In 1.19.5, we handle most of these cases by configuring tomcat to allow certain characters to be unescaped in the URL.

      https://github.com/FusionAuth/fusionauth-issues/issues/635

      So an upgrade is the most straightforward way to handle this.

      If you are proxying FusionAuth (behind something like nginx) you could also capture and hide any 500 errors: https://stackoverflow.com/questions/8715064/nginx-not-serving-my-error-page/8715597#8715597.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post