Project

General

Custom queries

Profile

Actions

Support #11305

closed

foreman new proxy add fails with error "No features found on this proxy, please make sure you enable at least one feature"

Added by tony zheng almost 10 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

it seems to be same bug as #2494
foreman proxy returning html instead of JSON

but i have different version of sinatra.

here is my curl output:

[root@tony_zheng-pc ~]# curl -k -H 'accept application/json' http://105.1.43.51:8000/features
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html> 
  <head> 
    <title>DHCP Web interface</title> 
    <link href='/css/styles.css' rel='stylesheet' /> 
  </head> 
  <body> 
    <div id='wrapper'> 
      <div id='header'> 
        <h1>DHCP Browser</h1> 
        <div id='nav'> 
          <ol> 
            <a href='/dhcp'>     <li>Home</li> </a>
            <a href='/features'> <li>Features</li> </a>
          </ol> 
        </div> 
      </div> 
      <div id='content'> 
        <h2>Suported features</h2>
<ul>

</ul>

      </div> 
      <div id='footer'> 
        <p> &copy; 2010 <a href='mailto:ohadlevy@gmail.com'> Ohad Levy </a> </p> 
      </div> 
    </div> 
  </body> 
</html> 
[root@tony_zheng-pc ~]# 

and here are versions of sinatra i have:
[root@pmonkey ~]# rpm -qa |grep sinatra
rubygem-sinatra-1.0-2.el6.noarch
ruby193-rubygem-sinatra-1.3.2-12.el6.noarch

#1

Updated by Dominic Cleal almost 10 years ago

  • Description updated (diff)
  • Status changed from New to Feedback
  • Assignee deleted (Ohad Levy)
#4

Updated by Anonymous almost 10 years ago

  • Tracker changed from Bug to Support
#7

Updated by Anonymous about 8 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF