Giter VIP home page Giter VIP logo

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Hi,

If it works locally, there is probably something wrong with setting up the 
connection. One way to check is to use wget from your server to the xmlrpc 
endpoint and see what happens. You can also take a look at the response the 
client returns, e.g.:

    $result = $client->someMethod();
    echo '<pre>' . $client->_response . '</pre>';

It may be that the server needs special headers, cookies or something else. It 
may also be that a firewall somewhere is blocking your request. It's hard to 
say what the problem is without more information.

Original comment by [email protected] on 15 Jun 2015 at 11:00

from ripcord.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
[deleted comment]

from ripcord.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
I get this:
Ripcord_Client Object ( [_url:Ripcord_Client:private] => 
http://url.com/xmlrpc/2/common [_transport:Ripcord_Client:private] => 
Ripcord_Transport_Stream Object ( [options:Ripcord_Transport_Stream:private] => 
Array ( ) [responseHeaders] => ) [_outputOptions:Ripcord_Client:private] => 
Array ( [output_type] => xml [verbosity] => pretty [escaping] => Array ( [0] => 
markup ) [version] => xmlrpc [encoding] => utf-8 ) 
[_namespace:Ripcord_Client:private] => [_rootClient:Ripcord_Client:private] => 
Ripcord_Client Object *RECURSION* [_cloneObjects:Ripcord_Client:private] => 
[_multiCall:protected] => [_multiCallArgs:protected] => Array ( ) [_response] 
=> [_request] => [_throwExceptions] => [_autoDecode] => 1 )

Original comment by [email protected] on 15 Jun 2015 at 12:26

from ripcord.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
I don't see a _request, which means that Ripcord hasn't actually send a 
request, I think. Did you call a valid xmlrpc method? Or is the var_dump from 
the client from just before you did a call?

Original comment by [email protected] on 15 Jun 2015 at 2:19

from ripcord.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
I'm using:
try {
$common = ripcord::client($url.'xmlrpc/2/common');
}

But in local, the response is blank as well, but it does connect. It's very 
strange, I don't see the difference. 

Where can i put the dump?

Original comment by [email protected] on 17 Jun 2015 at 12:14

from ripcord.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
In my console I see Error server 500... 

Original comment by [email protected] on 17 Jun 2015 at 3:31

from ripcord.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Hello, some idea?

Original comment by [email protected] on 23 Jun 2015 at 10:43

from ripcord.

davidperezgar avatar davidperezgar commented on August 22, 2024

This is my issue... Any idea? Which modules do ripcord need in the server?

from ripcord.

davidperezgar avatar davidperezgar commented on August 22, 2024

Hello, could you tell which php modules are necessary?

from ripcord.

aario avatar aario commented on August 22, 2024

Same here. Odoo with Ripcord. Sometimes works. Sometimes times out. On some system it works today. Tomorrow it doesn't. Same code on another server, works. Sometimes doesn't. I'm using docker containers and docker-compose, so different systems are totally equivalent and independent of the host system.
When it failes the error is cannot access the URL and the code is -4. While the url has been accessed successfully because the purpose of the connection was to order Odoo to create a new record somewhere and the record has been created successfully there but ripcord cannot receive the response of the server.

The timeout happens on file_get_contents.
As per below conversation:
https://stackoverflow.com/questions/40281305/file-get-contents-sometimes-works-sometimes-doesnt
It should be due to ipv6 DNS problems. I'm now looking at a way to disable ipv6 when and where ripcord works.

from ripcord.

joel-depiltech avatar joel-depiltech commented on August 22, 2024

I stop to use ripcord to make request to an Odoo instance because I found a lot of problem. I switch to OdooClient

from ripcord.

arifmp avatar arifmp commented on August 22, 2024

Make sure you installed xmlrpc library.

If not install

sudo apt-get install php-xmlrpc
sudo service apache2 restart

from ripcord.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.