콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
7639 화면

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


아바타
취소
작성자 베스트 답변

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

아바타
취소
관련 게시물 답글 화면 활동
1
2월 21
11079
1
11월 16
5404
0
4월 24
1792
1
1월 24
3088
4
11월 23
5838