Manifest error from Opigno: request timed out

johnscatman
Forums
Hello, When I access to "admin/apps/opigno" I get the following : warning: "Manifest error from Opigno: request timed out" message: "No applications currently available." I'm behind a proxy with authentication. Should I configure something in order to load available apps ? Regards,
Profile picture for user James Aparicio
James Aparicio

Hi johnscatman,

Hi johnscatman,

This means that you cannot access the manifest file. The manifest file is on our site (www.opigno.org).

You have to make sure that your site can access it.

Best regards

johnscatman

Hi James

Hi James, Thanks for your reactivity. I installed Opigno on my computer (using XAMPP). Using my browser i can access to www.opigno.org. But i've the proxy configured in my browser. And I wonder if i have to configure it for Opigno as well.
johnscatman

Thank you James,

Thank you James, mod_proxy_http seems to be used to use the apache server as a proxy. Can it be the CURL function which should be configured ?
johnscatman

I configure apache according

I configure apache according to this but still get the same error. Is there a way to check the origin of this error ? I've nothing in Apache or PHP log.
Profile picture for user James Aparicio
James Aparicio

Sure, you can debug it.

Sure, you can debug it.

The app module is inside profiles/opigno_lms/modules/contrib/apps. 

You should download the devel module and use the dpm function.

 

Best regtards

johnscatman

Thank you again for all your

Thank you again for all your advices. The specific error with the request is: "no connection could be made because the target machine actively refused it" on "http://www.opigno.org/app/query/opigno" (which works when I access on my browser). Do you have an idea ? Edit: When I force the url (profiles\opigno_lms\modules\contrib\apps\apps.manifest.inc:227) using : $url = url("https://www.opigno.org/en/app/query/opigno"); It works. It seems the problem come from $rest_data
Profile picture for user James Aparicio
James Aparicio

Hi johnscatman,

Hi johnscatman,

I just debuged the request and it is redirecting to https.

So the issue is that probably you are not allowing to follow redirects.

Best regards

 

Profile picture for user James Aparicio
James Aparicio

Enable mod_rewrite

Enable mod_rewrite

Best regards

johnscatman

mod_rewrite is activated

mod_rewrite is activated already activated. If I connect my computer directly on Internet it works. It seems my problem come from the Squid proxy. I've no other idea except : doing update / install on a computer without the proxy and then copy sources & db on the computer with the proxy.
Profile picture for user James Aparicio
James Aparicio

Hi jonhscatman,

Hi jonhscatman,

Inside profiles/opigno_lms/modules/opigno/opigno/opigno.module

You have a function:

/** * Implements hook_apps_servers_info() */function opigno_apps_servers_info() {  return array(    'opigno' => array(      'title' => 'Opigno',      'description' => t("Apps for Opigno"),      'manifest' => 'http://www.opigno.org/app/query/opigno',    ),  );} Change to https, this should fix your issue. Best regards
johnscatman

It doesn't work, I'm still

It doesn't work, I'm still confront to my proxy.
Profile picture for user James Aparicio
James Aparicio

Did you clear the cache after

Did you clear the cache after doing the change?

Best regards

johnscatman

Yes I did.

Yes I did. When I print the request result I can see I am redirect to my proxy :(