Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
7382 Vues

I Created a Odoo API using XML-RPC by Ripcord to Connect my Odoo site with my PHP site,

in Localhost , it worked fine, but when i used it in Live Server (http://gtptc.com/odoo_api/impact_api.php)

it Returns Error,


Error Message:

Notice: Undefined variable: http_response_header in /home/gtptc/public_html/odoo_api/ripcord/ripcord_client.php on line 485
Fatal error: Uncaught Ripcord_TransportException: Could not access http://158.140.133.95:8069/xmlrpc/2/common in /home/gtptc/public_html/odoo_api/ripcord/ripcord_client.php:488 Stack trace: #0 /home/gtptc/public_html/odoo_api/ripcord/ripcord_client.php(228): Ripcord_Transport_Stream->post('http://158.140....', '<?xml version="...') #1 /home/gtptc/public_html/odoo_api/impact_api.php(30): Ripcord_Client->__call('authenticate', Array) #2 {main} thrown in /home/gtptc/public_html/odoo_api/ripcord/ripcord_client.php on line 488

Please Help me to Solve this error

Thank you


Avatar
Ignorer
Auteur Meilleure réponse

Finally, I found the Problem Reason Myself from different Sources

Problem is Shared Host Sites, Not Allow to access sites with Port No Other than :80

So, need to check with Hosting Team of PHP site to allow to access Port :8069

Reference Link :

https://stackoverflow.com/questions/46826311/failed-to-connect-to-port-8080-connection-refused-error-number-7-curl

No issue with Odoo Site

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
févr. 21
10492
1
nov. 16
5045
0
avr. 24
1468
1
janv. 24
2572
4
nov. 23
5425