<p>I need some beginner help to KrakenD. I am running it on Ubuntu. The config is provided below.</p>
<p>I am able to reach the /healthz API without problem.</p>
<p>My challenge is that the /hello path returns error 500. I want this path to redirect to a Quarkus app that runs at <a href="http://getting-started36-getting-going.apps.bamboutos.hostname.us/" rel="nofollow noreferrer">http://getting-started36-getting-going.apps.bamboutos.hostname.us/</a>.</p>
<p>Why is this not working? If I modify the /hello backend and use a fake host, I get the exacts ame result. This suggests that KrakendD is not even trying to connect to the backend.</p>
<p>In logs, KrakendD is saying:</p>
<p><code>Error #01: invalid character 'H' looking for beginning of value</code></p>
<p>kraken.json:</p>
<pre><code>{
      &quot;version&quot;: 2,
      &quot;port&quot;: 9080,
      &quot;extra_config&quot;: {
          &quot;github_com/devopsfaith/krakend-gologging&quot;: {
              &quot;level&quot;: &quot;DEBUG&quot;,
              &quot;prefix&quot;: &quot;[KRAKEND]&quot;,
              &quot;syslog&quot;: false,
              &quot;stdout&quot;: true,
              &quot;format&quot;: &quot;default&quot;
          }
      },
      &quot;timeout&quot;: &quot;3000ms&quot;,
      &quot;cache_ttl&quot;: &quot;300s&quot;,
      &quot;output_encoding&quot;: &quot;json&quot;,
      &quot;name&quot;: &quot;KrakenD API Gateway Service&quot;,
      &quot;endpoints&quot;: [
          {
              &quot;endpoint&quot;: &quot;/healthz&quot;,
              &quot;extra_config&quot;: {
                  &quot;github.com/devopsfaith/krakend/proxy&quot;: {
                      &quot;static&quot;: {
                          &quot;data&quot;: {       &quot;status&quot;: &quot;OK&quot;},
                          &quot;strategy&quot;: &quot;always&quot;
                      }
                  }
              },
              &quot;backend&quot;: [
                  {
                      &quot;url_pattern&quot;: &quot;/&quot;,
                      &quot;host&quot;: [&quot;http://fake-backend&quot;]
                  }
              ]
          },
          {
              &quot;endpoint&quot;: &quot;/hello&quot;,
              &quot;extra_config&quot;: {},
              &quot;backend&quot;: [
                  {
                      &quot;url_pattern&quot;: &quot;/hello&quot;,
                      &quot;method&quot;: &quot;GET&quot;,
                      &quot;host&quot;: [
                          &quot;http://getting-started36-getting-going.apps.bamboutos.hostname.us/&quot;
                      ]
                  }
              ]
          }
      ]
    }
</code></pre>
<p>What am I missing?</p>

Billy Billy
<p>add &quot;encoding&quot;: &quot;string&quot; to the backend section.</p>
<pre><code>&quot;backend&quot;: [
                  {
                      &quot;url_pattern&quot;: &quot;/hello&quot;,
                      &quot;method&quot;: &quot;GET&quot;,
                      &quot;encoding&quot;: &quot;string&quot; ,
                      &quot;host&quot;: [
                          &quot;http://getting-started36-getting-going.apps.bamboutos.hostname.us/&quot;
                      ]
                  }
              ]
</code></pre>
