Error adding foreman proxy

Actually, the error in /var/log/foreman/production.log is

-> 757: unexpected token at …

Full log:

Failed to parse response: <!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>

&lt;li&gt;puppet&lt;/li&gt;

&lt;li&gt;puppetca&lt;/li&gt;

&lt;li&gt;tftp&lt;/li&gt;

</ul>

  &lt;/div&gt;
  &lt;div id=&#39;footer&#39;&gt;
    &lt;p&gt; &amp;copy; 2010 &lt;a href=&#39;mailto:ohadlevy@gmail.com&#39;&gt; Ohad Levy &lt;/a&gt; &lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;

</body>
</html>
-> 757: unexpected token at '<!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>

&lt;li&gt;puppet&lt;/li&gt;

&lt;li&gt;puppetca&lt;/li&gt;

&lt;li&gt;tftp&lt;/li&gt;

</ul>

  &lt;/div&gt;
  &lt;div id=&#39;footer&#39;&gt;
    &lt;p&gt; &amp;copy; 2010 &lt;a href=&#39;mailto:ohadlevy@gmail.com&#39;&gt; Ohad Levy &lt;/a&gt; &lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;

</body>
</html>
'
Failed to save: No features found on this proxy, please make sure you
enable at least one feature

··· On Thu, May 9, 2013 at 5:57 PM, Cristian Falcas wrote: > Hi all, > > > When I try to add a smart proxy, which is on the same machine as foreman, I > get this error: > > > Unable to save > > No features found on this proxy, please make sure you enable at least one > feature > > If I connect to https://hostname:8443/features, I get this: > > Suported features > > puppet > puppetca > > > Did anyone experienced this? > > Thank you. > Cristian > > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > >

> Actually, the error in /var/log/foreman/production.log is
>
> -> 757: unexpected token at …
>
>
> Full log:
>
> Failed to parse response: <!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>
>
> <li>puppet</li>
>
> <li>puppetca</li>
>
> <li>tftp</li>
>
> </ul>
>
> </div>
> <div id='footer'>
> <p> &copy; 2010 <a href='mailto:ohadlevy@gmail.com'> Ohad Levy
> </a> </p>
> </div>
> </div>
> </body>
> </html>
> -> 757: unexpected token at '<!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>
>
> <li>puppet</li>
>
> <li>puppetca</li>
>
> <li>tftp</li>
>
> </ul>
>
> </div>
> <div id='footer'>
> <p> &copy; 2010 <a href='mailto:ohadlevy@gmail.com'> Ohad Levy
> </a> </p>
> </div>
> </div>
> </body>
> </html>
> '
> Failed to save: No features found on this proxy, please make sure you
> enable at least one feature
>

this is interesting, so the proxy is returning html instead of JSON.

can you confirm that:

curl -k -H 'accept:application/json' https://proxy:8443/features return
html?

if thats the case, please provide as much info regarding your setup (e.g.
os, ruby, gems etc)

Ohad

··· On Thu, May 9, 2013 at 6:40 PM, Cristian Falcas wrote:

On Thu, May 9, 2013 at 5:57 PM, Cristian Falcas cristi.falcas@gmail.com > wrote:

Hi all,

When I try to add a smart proxy, which is on the same machine as
foreman, I
get this error:

Unable to save

No features found on this proxy, please make sure you enable at least one
feature

If I connect to https://hostname:8443/features, I get this:

Suported features

puppet
puppetca

Did anyone experienced this?

Thank you.
Cristian


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

The command returns the same html page.

I found this: https://groups.google.com/forum/?fromgroups=#!msg/foreman-dev/jFSPtxLkB8o/rk8O_RbfcqAJ
but looks to be for a newer version then what I have

Installation was performed with yum install foreman-installer -y

On a new virtualbox machine with the same OS and exactly the same
foreman version it works correctly.

Packages installed (on Oracle Linux Server release 6.4):

foreman-1.1stable-3.el6.noarch
foreman-installer-1.1.2-1.noarch
foreman-proxy-1.1stable-1.el6.noarch
foreman-sqlite-1.1stable-3.el6.noarch
libselinux-ruby-2.0.94-5.3.el6.x86_64
ruby-1.8.7.352-4.el6.x86_64
ruby19-1.9.2p290-1.el6.x86_64
ruby-augeas-0.4.1-1.el6.x86_64
rubygem-abstract-1.0.0-1.el6.noarch
rubygem-actionmailer-3.0.20-1.el6.noarch
rubygem-actionpack-3.0.20-1.el6.noarch
rubygem-activemodel-3.0.20-1.el6.noarch
rubygem-activerecord-3.0.20-1.el6.noarch
rubygem-activeresource-3.0.20-1.el6.noarch
rubygem-activesupport-3.0.20-1.el6.noarch
rubygem-acts_as_audited-2.0.0-1.el6.noarch
rubygem-ancestry-1.3.0-1.el6.noarch
rubygem-apipie-rails-0.0.13-1.el6.noarch
rubygem-arel-2.0.10-1.el6.noarch
rubygem-audited-3.0.0.rc1-1.el6.noarch
rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
rubygem-builder-2.1.2-1.el6.noarch
rubygem-bundler-1.0.15-1.el6.noarch
rubygem-erubis-2.6.6-1.el6.noarch
rubygem-fastthread-1.0.7-2.el6.x86_64
rubygem-highline-1.4.0-2.el6.noarch
rubygem-i18n-0.5.0-1.el6.noarch
rubygem-jquery-rails-1.0.19-1.el6.noarch
rubygem-json-1.6.8-1.el6.x86_64
rubygem-mail-2.3.3-2.el6.noarch
rubygem-mime-types-1.18-1.el6.noarch
rubygem-multi_json-1.2.0-1.el6.noarch
rubygem-net-ldap-0.3.1-1.el6.noarch
rubygem-oauth-0.4.7-1.el6.noarch
rubygem-passenger-3.0.17-2.el6.1.x86_64
rubygem-passenger-native-3.0.17-2.el6.1.x86_64
rubygem-passenger-native-libs-3.0.17-2.el6.1.x86_64
rubygem-polyglot-0.3.3-1.el6.noarch
rubygem-rabl-0.7.5-1.el6.noarch
rubygem-rack-1.2.5-4.el6.noarch
rubygem-rack-mount-0.6.14-1.el6.noarch
rubygem-rack-test-0.5.7-2.el6.noarch
rubygem-rails-3.0.20-1.el6.noarch
rubygem-railties-3.0.20-1.el6.noarch
rubygem-rake-0.9.2.2-2.el6.noarch
rubygem-rdoc-3.12-2.el6.x86_64
rubygem-rest-client-1.6.7-1.el6.noarch
rubygem-ruby2ruby-2.0.1-1.el6.noarch
rubygem-ruby_parser-3.0.1-2.el6.noarch
rubygems-1.8.10-1.el6.noarch
rubygem-safemode-1.2.0-1.el6.noarch
rubygem-scoped_search-2.4.0-1.el6.noarch
rubygem-sexp_processor-4.1.2-1.el6.noarch
rubygem-sinatra-1.0-2.el6.noarch
rubygem-sqlite3-1.3.5-2.el6.x86_64
rubygem-thor-0.14.6-2.el6.noarch
rubygem-treetop-1.4.9-1.el6.noarch
rubygem-tzinfo-0.3.32-1.el6.noarch
rubygem-uuidtools-2.1.1-1.el6.noarch
rubygem-will_paginate-3.0.3-1.el6.noarch
ruby-irb-1.8.7.352-4.el6.noarch
ruby-libs-1.8.7.352-4.el6.x86_64
ruby-rdoc-1.8.7.352-4.el6.noarch
ruby-shadow-1.4.1-13.el6.x86_64

··· On Thu, May 9, 2013 at 10:05 PM, Ohad Levy wrote: > > > On Thu, May 9, 2013 at 6:40 PM, Cristian Falcas > wrote: >> >> Actually, the error in /var/log/foreman/production.log is >> >> -> 757: unexpected token at .... >> >> >> Full log: >> >> Failed to parse response: > Transitional//EN" >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> >> >> DHCP Web interface >> >> >> >>
>>
>>

DHCP Browser

>>
>>
    >>
  1. Home
  2. >>
  3. Features
  4. >>
>>
>>
>>
>>

Suported features

>>
    >> >>
  • puppet
  • >> >>
  • puppetca
  • >> >>
  • tftp
  • >> >>
>> >>
>>
>>

© 2010 Ohad Levy >>

>>
>>
>> >> >> -> 757: unexpected token at '> 1.0 Transitional//EN" >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> >> >> DHCP Web interface >> >> >> >>
>>
>>

DHCP Browser

>>
>>
    >>
  1. Home
  2. >>
  3. Features
  4. >>
>>
>>
>>
>>

Suported features

>>
    >> >>
  • puppet
  • >> >>
  • puppetca
  • >> >>
  • tftp
  • >> >>
>> >>
>>
>>

© 2010 Ohad Levy >>

>>
>>
>> >> >> ' >> Failed to save: No features found on this proxy, please make sure you >> enable at least one feature > > > this is interesting, so the proxy is returning html instead of JSON. > > can you confirm that: > > curl -k -H 'accept:application/json' https://proxy:8443/features return > html? > > if thats the case, please provide as much info regarding your setup (e.g. > os, ruby, gems etc) > > Ohad >> >> >> >> On Thu, May 9, 2013 at 5:57 PM, Cristian Falcas >> wrote: >> > Hi all, >> > >> > >> > When I try to add a smart proxy, which is on the same machine as >> > foreman, I >> > get this error: >> > >> > >> > Unable to save >> > >> > No features found on this proxy, please make sure you enable at least >> > one >> > feature >> > >> > If I connect to https://hostname:8443/features, I get this: >> > >> > Suported features >> > >> > puppet >> > puppetca >> > >> > >> > Did anyone experienced this? >> > >> > Thank you. >> > Cristian >> > >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Foreman users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to foreman-users+unsubscribe@googlegroups.com. >> > To post to this group, send email to foreman-users@googlegroups.com. >> > Visit this group at http://groups.google.com/group/foreman-users?hl=en. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/foreman-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > >

I was able to reproduce on a rhel 6.4 box… can you open a bug please?

thanks,
Ohad

··· On Fri, May 10, 2013 at 10:25 AM, Cristian Falcas wrote:

The command returns the same html page.

I found this:
https://groups.google.com/forum/?fromgroups=#!msg/foreman-dev/jFSPtxLkB8o/rk8O_RbfcqAJ
but looks to be for a newer version then what I have

Installation was performed with yum install foreman-installer -y

On a new virtualbox machine with the same OS and exactly the same
foreman version it works correctly.

Packages installed (on Oracle Linux Server release 6.4):

foreman-1.1stable-3.el6.noarch
foreman-installer-1.1.2-1.noarch
foreman-proxy-1.1stable-1.el6.noarch
foreman-sqlite-1.1stable-3.el6.noarch
libselinux-ruby-2.0.94-5.3.el6.x86_64
ruby-1.8.7.352-4.el6.x86_64
ruby19-1.9.2p290-1.el6.x86_64
ruby-augeas-0.4.1-1.el6.x86_64
rubygem-abstract-1.0.0-1.el6.noarch
rubygem-actionmailer-3.0.20-1.el6.noarch
rubygem-actionpack-3.0.20-1.el6.noarch
rubygem-activemodel-3.0.20-1.el6.noarch
rubygem-activerecord-3.0.20-1.el6.noarch
rubygem-activeresource-3.0.20-1.el6.noarch
rubygem-activesupport-3.0.20-1.el6.noarch
rubygem-acts_as_audited-2.0.0-1.el6.noarch
rubygem-ancestry-1.3.0-1.el6.noarch
rubygem-apipie-rails-0.0.13-1.el6.noarch
rubygem-arel-2.0.10-1.el6.noarch
rubygem-audited-3.0.0.rc1-1.el6.noarch
rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
rubygem-builder-2.1.2-1.el6.noarch
rubygem-bundler-1.0.15-1.el6.noarch
rubygem-erubis-2.6.6-1.el6.noarch
rubygem-fastthread-1.0.7-2.el6.x86_64
rubygem-highline-1.4.0-2.el6.noarch
rubygem-i18n-0.5.0-1.el6.noarch
rubygem-jquery-rails-1.0.19-1.el6.noarch
rubygem-json-1.6.8-1.el6.x86_64
rubygem-mail-2.3.3-2.el6.noarch
rubygem-mime-types-1.18-1.el6.noarch
rubygem-multi_json-1.2.0-1.el6.noarch
rubygem-net-ldap-0.3.1-1.el6.noarch
rubygem-oauth-0.4.7-1.el6.noarch
rubygem-passenger-3.0.17-2.el6.1.x86_64
rubygem-passenger-native-3.0.17-2.el6.1.x86_64
rubygem-passenger-native-libs-3.0.17-2.el6.1.x86_64
rubygem-polyglot-0.3.3-1.el6.noarch
rubygem-rabl-0.7.5-1.el6.noarch
rubygem-rack-1.2.5-4.el6.noarch
rubygem-rack-mount-0.6.14-1.el6.noarch
rubygem-rack-test-0.5.7-2.el6.noarch
rubygem-rails-3.0.20-1.el6.noarch
rubygem-railties-3.0.20-1.el6.noarch
rubygem-rake-0.9.2.2-2.el6.noarch
rubygem-rdoc-3.12-2.el6.x86_64
rubygem-rest-client-1.6.7-1.el6.noarch
rubygem-ruby2ruby-2.0.1-1.el6.noarch
rubygem-ruby_parser-3.0.1-2.el6.noarch
rubygems-1.8.10-1.el6.noarch
rubygem-safemode-1.2.0-1.el6.noarch
rubygem-scoped_search-2.4.0-1.el6.noarch
rubygem-sexp_processor-4.1.2-1.el6.noarch
rubygem-sinatra-1.0-2.el6.noarch
rubygem-sqlite3-1.3.5-2.el6.x86_64
rubygem-thor-0.14.6-2.el6.noarch
rubygem-treetop-1.4.9-1.el6.noarch
rubygem-tzinfo-0.3.32-1.el6.noarch
rubygem-uuidtools-2.1.1-1.el6.noarch
rubygem-will_paginate-3.0.3-1.el6.noarch
ruby-irb-1.8.7.352-4.el6.noarch
ruby-libs-1.8.7.352-4.el6.x86_64
ruby-rdoc-1.8.7.352-4.el6.noarch
ruby-shadow-1.4.1-13.el6.x86_64

On Thu, May 9, 2013 at 10:05 PM, Ohad Levy ohadlevy@gmail.com wrote:

On Thu, May 9, 2013 at 6:40 PM, Cristian Falcas <cristi.falcas@gmail.com > > > > wrote:

Actually, the error in /var/log/foreman/production.log is

-> 757: unexpected token at …

Full log:

Failed to parse response:

DHCP Web interface

DHCP Browser

Suported features

<li>puppet</li>

<li>puppetca</li>

<li>tftp</li>
  </div>
  <div id='footer'>
    <p> &copy; 2010 <a href='mailto:ohadlevy@gmail.com'> Ohad Levy



-> 757: unexpected token at ' DHCP Web interface

DHCP Browser

Suported features

<li>puppet</li>

<li>puppetca</li>

<li>tftp</li>
  </div>
  <div id='footer'>
    <p> &copy; 2010 <a href='mailto:ohadlevy@gmail.com'> Ohad Levy



' Failed to save: No features found on this proxy, please make sure you enable at least one feature

this is interesting, so the proxy is returning html instead of JSON.

can you confirm that:

curl -k -H ‘accept:application/json’ https://proxy:8443/features return
html?

if thats the case, please provide as much info regarding your setup (e.g.
os, ruby, gems etc)

Ohad

On Thu, May 9, 2013 at 5:57 PM, Cristian Falcas < > cristi.falcas@gmail.com> > >> wrote:

Hi all,

When I try to add a smart proxy, which is on the same machine as
foreman, I
get this error:

Unable to save

No features found on this proxy, please make sure you enable at least
one
feature

If I connect to https://hostname:8443/features, I get this:

Suported features

puppet
puppetca

Did anyone experienced this?

Thank you.
Cristian


You received this message because you are subscribed to the Google
Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at
http://groups.google.com/group/foreman-users?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google
Groups

“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an

email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

I created Bug #2494: foreman proxy returning html instead of JSON - Smart Proxy - Foreman for ths

··· On Mon, May 13, 2013 at 12:28 PM, Ohad Levy wrote: > > > On Fri, May 10, 2013 at 10:25 AM, Cristian Falcas > wrote: >> >> The command returns the same html page. >> >> I found this: >> https://groups.google.com/forum/?fromgroups=#!msg/foreman-dev/jFSPtxLkB8o/rk8O_RbfcqAJ >> but looks to be for a newer version then what I have >> >> >> Installation was performed with yum install foreman-installer -y >> >> On a new virtualbox machine with the same OS and exactly the same >> foreman version it works correctly. >> >> Packages installed (on Oracle Linux Server release 6.4): >> >> foreman-1.1stable-3.el6.noarch >> foreman-installer-1.1.2-1.noarch >> foreman-proxy-1.1stable-1.el6.noarch >> foreman-sqlite-1.1stable-3.el6.noarch >> libselinux-ruby-2.0.94-5.3.el6.x86_64 >> ruby-1.8.7.352-4.el6.x86_64 >> ruby19-1.9.2p290-1.el6.x86_64 >> ruby-augeas-0.4.1-1.el6.x86_64 >> rubygem-abstract-1.0.0-1.el6.noarch >> rubygem-actionmailer-3.0.20-1.el6.noarch >> rubygem-actionpack-3.0.20-1.el6.noarch >> rubygem-activemodel-3.0.20-1.el6.noarch >> rubygem-activerecord-3.0.20-1.el6.noarch >> rubygem-activeresource-3.0.20-1.el6.noarch >> rubygem-activesupport-3.0.20-1.el6.noarch >> rubygem-acts_as_audited-2.0.0-1.el6.noarch >> rubygem-ancestry-1.3.0-1.el6.noarch >> rubygem-apipie-rails-0.0.13-1.el6.noarch >> rubygem-arel-2.0.10-1.el6.noarch >> rubygem-audited-3.0.0.rc1-1.el6.noarch >> rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch >> rubygem-builder-2.1.2-1.el6.noarch >> rubygem-bundler-1.0.15-1.el6.noarch >> rubygem-erubis-2.6.6-1.el6.noarch >> rubygem-fastthread-1.0.7-2.el6.x86_64 >> rubygem-highline-1.4.0-2.el6.noarch >> rubygem-i18n-0.5.0-1.el6.noarch >> rubygem-jquery-rails-1.0.19-1.el6.noarch >> rubygem-json-1.6.8-1.el6.x86_64 >> rubygem-mail-2.3.3-2.el6.noarch >> rubygem-mime-types-1.18-1.el6.noarch >> rubygem-multi_json-1.2.0-1.el6.noarch >> rubygem-net-ldap-0.3.1-1.el6.noarch >> rubygem-oauth-0.4.7-1.el6.noarch >> rubygem-passenger-3.0.17-2.el6.1.x86_64 >> rubygem-passenger-native-3.0.17-2.el6.1.x86_64 >> rubygem-passenger-native-libs-3.0.17-2.el6.1.x86_64 >> rubygem-polyglot-0.3.3-1.el6.noarch >> rubygem-rabl-0.7.5-1.el6.noarch >> rubygem-rack-1.2.5-4.el6.noarch >> rubygem-rack-mount-0.6.14-1.el6.noarch >> rubygem-rack-test-0.5.7-2.el6.noarch >> rubygem-rails-3.0.20-1.el6.noarch >> rubygem-railties-3.0.20-1.el6.noarch >> rubygem-rake-0.9.2.2-2.el6.noarch >> rubygem-rdoc-3.12-2.el6.x86_64 >> rubygem-rest-client-1.6.7-1.el6.noarch >> rubygem-ruby2ruby-2.0.1-1.el6.noarch >> rubygem-ruby_parser-3.0.1-2.el6.noarch >> rubygems-1.8.10-1.el6.noarch >> rubygem-safemode-1.2.0-1.el6.noarch >> rubygem-scoped_search-2.4.0-1.el6.noarch >> rubygem-sexp_processor-4.1.2-1.el6.noarch >> rubygem-sinatra-1.0-2.el6.noarch >> rubygem-sqlite3-1.3.5-2.el6.x86_64 >> rubygem-thor-0.14.6-2.el6.noarch >> rubygem-treetop-1.4.9-1.el6.noarch >> rubygem-tzinfo-0.3.32-1.el6.noarch >> rubygem-uuidtools-2.1.1-1.el6.noarch >> rubygem-will_paginate-3.0.3-1.el6.noarch >> ruby-irb-1.8.7.352-4.el6.noarch >> ruby-libs-1.8.7.352-4.el6.x86_64 >> ruby-rdoc-1.8.7.352-4.el6.noarch >> ruby-shadow-1.4.1-13.el6.x86_64 >> >> >> >> >> On Thu, May 9, 2013 at 10:05 PM, Ohad Levy wrote: >> > >> > >> > On Thu, May 9, 2013 at 6:40 PM, Cristian Falcas >> > >> > wrote: >> >> >> >> Actually, the error in /var/log/foreman/production.log is >> >> >> >> -> 757: unexpected token at .... >> >> >> >> >> >> Full log: >> >> >> >> Failed to parse response: > >> Transitional//EN" >> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> >> >> >> >> >> DHCP Web interface >> >> >> >> >> >> >> >>
>> >>
>> >>

DHCP Browser

>> >>
>> >>
    >> >>
  1. Home
  2. >> >>
  3. Features
  4. >> >>
>> >>
>> >>
>> >>
>> >>

Suported features

>> >>
    >> >> >> >>
  • puppet
  • >> >> >> >>
  • puppetca
  • >> >> >> >>
  • tftp
  • >> >> >> >>
>> >> >> >>
>> >>
>> >>

© 2010 Ohad Levy >> >>

>> >>
>> >>
>> >> >> >> >> >> -> 757: unexpected token at '> >> 1.0 Transitional//EN" >> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> >> >> >> >> >> DHCP Web interface >> >> >> >> >> >> >> >>
>> >>
>> >>

DHCP Browser

>> >>
>> >>
    >> >>
  1. Home
  2. >> >>
  3. Features
  4. >> >>
>> >>
>> >>
>> >>
>> >>

Suported features

>> >>
    >> >> >> >>
  • puppet
  • >> >> >> >>
  • puppetca
  • >> >> >> >>
  • tftp
  • >> >> >> >>
>> >> >> >>
>> >>
>> >>

© 2010 Ohad Levy >> >>

>> >>
>> >>
>> >> >> >> >> >> ' >> >> Failed to save: No features found on this proxy, please make sure you >> >> enable at least one feature >> > >> > >> > this is interesting, so the proxy is returning html instead of JSON. >> > >> > can you confirm that: >> > >> > curl -k -H 'accept:application/json' https://proxy:8443/features return >> > html? >> > >> > if thats the case, please provide as much info regarding your setup >> > (e.g. >> > os, ruby, gems etc) >> > >> > Ohad >> >> >> >> >> >> >> >> On Thu, May 9, 2013 at 5:57 PM, Cristian Falcas >> >> >> >> wrote: >> >> > Hi all, >> >> > >> >> > >> >> > When I try to add a smart proxy, which is on the same machine as >> >> > foreman, I >> >> > get this error: >> >> > >> >> > >> >> > Unable to save >> >> > >> >> > No features found on this proxy, please make sure you enable at least >> >> > one >> >> > feature >> >> > >> >> > If I connect to https://hostname:8443/features, I get this: >> >> > >> >> > Suported features >> >> > >> >> > puppet >> >> > puppetca >> >> > >> >> > >> >> > Did anyone experienced this? >> >> > >> >> > Thank you. >> >> > Cristian >> >> > >> >> > >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups >> >> > "Foreman users" group. >> >> > To unsubscribe from this group and stop receiving emails from it, >> >> > send >> >> > an >> >> > email to foreman-users+unsubscribe@googlegroups.com. >> >> > To post to this group, send email to foreman-users@googlegroups.com. >> >> > Visit this group at >> >> > http://groups.google.com/group/foreman-users?hl=en. >> >> > For more options, visit https://groups.google.com/groups/opt_out. >> >> > >> >> > >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "Foreman users" group. >> >> To unsubscribe from this group and stop receiving emails from it, send >> >> an >> >> email to foreman-users+unsubscribe@googlegroups.com. >> >> To post to this group, send email to foreman-users@googlegroups.com. >> >> Visit this group at http://groups.google.com/group/foreman-users?hl=en. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Foreman users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to foreman-users+unsubscribe@googlegroups.com. >> > To post to this group, send email to foreman-users@googlegroups.com. >> > Visit this group at http://groups.google.com/group/foreman-users?hl=en. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/foreman-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > I was able to reproduce on a rhel 6.4 box... can you open a bug please? > > thanks, > Ohad > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > >

is there a quick and dirty fix for this in the meantime?

··· On Mon, May 13, 2013 at 5:27 PM, Cristian Falcas wrote: > I created http://projects.theforeman.org/issues/2494 for ths > > On Mon, May 13, 2013 at 12:28 PM, Ohad Levy wrote: >> >> >> On Fri, May 10, 2013 at 10:25 AM, Cristian Falcas >> wrote: >>> >>> The command returns the same html page. >>> >>> I found this: >>> https://groups.google.com/forum/?fromgroups=#!msg/foreman-dev/jFSPtxLkB8o/rk8O_RbfcqAJ >>> but looks to be for a newer version then what I have >>> >>> >>> Installation was performed with yum install foreman-installer -y >>> >>> On a new virtualbox machine with the same OS and exactly the same >>> foreman version it works correctly. >>> >>> Packages installed (on Oracle Linux Server release 6.4): >>> >>> foreman-1.1stable-3.el6.noarch >>> foreman-installer-1.1.2-1.noarch >>> foreman-proxy-1.1stable-1.el6.noarch >>> foreman-sqlite-1.1stable-3.el6.noarch >>> libselinux-ruby-2.0.94-5.3.el6.x86_64 >>> ruby-1.8.7.352-4.el6.x86_64 >>> ruby19-1.9.2p290-1.el6.x86_64 >>> ruby-augeas-0.4.1-1.el6.x86_64 >>> rubygem-abstract-1.0.0-1.el6.noarch >>> rubygem-actionmailer-3.0.20-1.el6.noarch >>> rubygem-actionpack-3.0.20-1.el6.noarch >>> rubygem-activemodel-3.0.20-1.el6.noarch >>> rubygem-activerecord-3.0.20-1.el6.noarch >>> rubygem-activeresource-3.0.20-1.el6.noarch >>> rubygem-activesupport-3.0.20-1.el6.noarch >>> rubygem-acts_as_audited-2.0.0-1.el6.noarch >>> rubygem-ancestry-1.3.0-1.el6.noarch >>> rubygem-apipie-rails-0.0.13-1.el6.noarch >>> rubygem-arel-2.0.10-1.el6.noarch >>> rubygem-audited-3.0.0.rc1-1.el6.noarch >>> rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch >>> rubygem-builder-2.1.2-1.el6.noarch >>> rubygem-bundler-1.0.15-1.el6.noarch >>> rubygem-erubis-2.6.6-1.el6.noarch >>> rubygem-fastthread-1.0.7-2.el6.x86_64 >>> rubygem-highline-1.4.0-2.el6.noarch >>> rubygem-i18n-0.5.0-1.el6.noarch >>> rubygem-jquery-rails-1.0.19-1.el6.noarch >>> rubygem-json-1.6.8-1.el6.x86_64 >>> rubygem-mail-2.3.3-2.el6.noarch >>> rubygem-mime-types-1.18-1.el6.noarch >>> rubygem-multi_json-1.2.0-1.el6.noarch >>> rubygem-net-ldap-0.3.1-1.el6.noarch >>> rubygem-oauth-0.4.7-1.el6.noarch >>> rubygem-passenger-3.0.17-2.el6.1.x86_64 >>> rubygem-passenger-native-3.0.17-2.el6.1.x86_64 >>> rubygem-passenger-native-libs-3.0.17-2.el6.1.x86_64 >>> rubygem-polyglot-0.3.3-1.el6.noarch >>> rubygem-rabl-0.7.5-1.el6.noarch >>> rubygem-rack-1.2.5-4.el6.noarch >>> rubygem-rack-mount-0.6.14-1.el6.noarch >>> rubygem-rack-test-0.5.7-2.el6.noarch >>> rubygem-rails-3.0.20-1.el6.noarch >>> rubygem-railties-3.0.20-1.el6.noarch >>> rubygem-rake-0.9.2.2-2.el6.noarch >>> rubygem-rdoc-3.12-2.el6.x86_64 >>> rubygem-rest-client-1.6.7-1.el6.noarch >>> rubygem-ruby2ruby-2.0.1-1.el6.noarch >>> rubygem-ruby_parser-3.0.1-2.el6.noarch >>> rubygems-1.8.10-1.el6.noarch >>> rubygem-safemode-1.2.0-1.el6.noarch >>> rubygem-scoped_search-2.4.0-1.el6.noarch >>> rubygem-sexp_processor-4.1.2-1.el6.noarch >>> rubygem-sinatra-1.0-2.el6.noarch >>> rubygem-sqlite3-1.3.5-2.el6.x86_64 >>> rubygem-thor-0.14.6-2.el6.noarch >>> rubygem-treetop-1.4.9-1.el6.noarch >>> rubygem-tzinfo-0.3.32-1.el6.noarch >>> rubygem-uuidtools-2.1.1-1.el6.noarch >>> rubygem-will_paginate-3.0.3-1.el6.noarch >>> ruby-irb-1.8.7.352-4.el6.noarch >>> ruby-libs-1.8.7.352-4.el6.x86_64 >>> ruby-rdoc-1.8.7.352-4.el6.noarch >>> ruby-shadow-1.4.1-13.el6.x86_64 >>> >>> >>> >>> >>> On Thu, May 9, 2013 at 10:05 PM, Ohad Levy wrote: >>> > >>> > >>> > On Thu, May 9, 2013 at 6:40 PM, Cristian Falcas >>> > >>> > wrote: >>> >> >>> >> Actually, the error in /var/log/foreman/production.log is >>> >> >>> >> -> 757: unexpected token at .... >>> >> >>> >> >>> >> Full log: >>> >> >>> >> Failed to parse response: >> >> Transitional//EN" >>> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >>> >> >>> >> >>> >> DHCP Web interface >>> >> >>> >> >>> >> >>> >>
>>> >>
>>> >>

DHCP Browser

>>> >>
>>> >>
    >>> >>
  1. Home
  2. >>> >>
  3. Features
  4. >>> >>
>>> >>
>>> >>
>>> >>
>>> >>

Suported features

>>> >>
    >>> >> >>> >>
  • puppet
  • >>> >> >>> >>
  • puppetca
  • >>> >> >>> >>
  • tftp
  • >>> >> >>> >>
>>> >> >>> >>
>>> >>
>>> >>

© 2010 Ohad Levy >>> >>

>>> >>
>>> >>
>>> >> >>> >> >>> >> -> 757: unexpected token at '>> >> 1.0 Transitional//EN" >>> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >>> >> >>> >> >>> >> DHCP Web interface >>> >> >>> >> >>> >> >>> >>
>>> >>
>>> >>

DHCP Browser

>>> >>
>>> >>
    >>> >>
  1. Home
  2. >>> >>
  3. Features
  4. >>> >>
>>> >>
>>> >>
>>> >>
>>> >>

Suported features

>>> >>
    >>> >> >>> >>
  • puppet
  • >>> >> >>> >>
  • puppetca
  • >>> >> >>> >>
  • tftp
  • >>> >> >>> >>
>>> >> >>> >>
>>> >>
>>> >>

© 2010 Ohad Levy >>> >>

>>> >>
>>> >>
>>> >> >>> >> >>> >> ' >>> >> Failed to save: No features found on this proxy, please make sure you >>> >> enable at least one feature >>> > >>> > >>> > this is interesting, so the proxy is returning html instead of JSON. >>> > >>> > can you confirm that: >>> > >>> > curl -k -H 'accept:application/json' https://proxy:8443/features return >>> > html? >>> > >>> > if thats the case, please provide as much info regarding your setup >>> > (e.g. >>> > os, ruby, gems etc) >>> > >>> > Ohad >>> >> >>> >> >>> >> >>> >> On Thu, May 9, 2013 at 5:57 PM, Cristian Falcas >>> >> >>> >> wrote: >>> >> > Hi all, >>> >> > >>> >> > >>> >> > When I try to add a smart proxy, which is on the same machine as >>> >> > foreman, I >>> >> > get this error: >>> >> > >>> >> > >>> >> > Unable to save >>> >> > >>> >> > No features found on this proxy, please make sure you enable at least >>> >> > one >>> >> > feature >>> >> > >>> >> > If I connect to https://hostname:8443/features, I get this: >>> >> > >>> >> > Suported features >>> >> > >>> >> > puppet >>> >> > puppetca >>> >> > >>> >> > >>> >> > Did anyone experienced this? >>> >> > >>> >> > Thank you. >>> >> > Cristian >>> >> > >>> >> > >>> >> > -- >>> >> > You received this message because you are subscribed to the Google >>> >> > Groups >>> >> > "Foreman users" group. >>> >> > To unsubscribe from this group and stop receiving emails from it, >>> >> > send >>> >> > an >>> >> > email to foreman-users+unsubscribe@googlegroups.com. >>> >> > To post to this group, send email to foreman-users@googlegroups.com. >>> >> > Visit this group at >>> >> > http://groups.google.com/group/foreman-users?hl=en. >>> >> > For more options, visit https://groups.google.com/groups/opt_out. >>> >> > >>> >> > >>> >> >>> >> -- >>> >> You received this message because you are subscribed to the Google >>> >> Groups >>> >> "Foreman users" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send >>> >> an >>> >> email to foreman-users+unsubscribe@googlegroups.com. >>> >> To post to this group, send email to foreman-users@googlegroups.com. >>> >> Visit this group at http://groups.google.com/group/foreman-users?hl=en. >>> >> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >>> >> >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> > Groups >>> > "Foreman users" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> > an >>> > email to foreman-users+unsubscribe@googlegroups.com. >>> > To post to this group, send email to foreman-users@googlegroups.com. >>> > Visit this group at http://groups.google.com/group/foreman-users?hl=en. >>> > For more options, visit https://groups.google.com/groups/opt_out. >>> > >>> > >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Foreman users" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to foreman-users+unsubscribe@googlegroups.com. >>> To post to this group, send email to foreman-users@googlegroups.com. >>> Visit this group at http://groups.google.com/group/foreman-users?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >> >> I was able to reproduce on a rhel 6.4 box... can you open a bug please? >> >> thanks, >> Ohad >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/foreman-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >>