Giter VIP home page Giter VIP logo

Comments (15)

guewen avatar guewen commented on July 19, 2024

Please write your error in a code section like that:

```
traceback...
```

otherwise the traceback is truncated. I corrected your report.

The error is quite clear: ProtocolError for mywebsite.fr/index.php/api/xmlrpc: 404 Not Found.
Your Magento server answers a 404 error meaning that it couldn't find the URL. Double-check your URL and the configuration of your web server (.htaccess for example if it is Apache).

You can just try to access manually from a browser your url http://mywebsite.fr/index.php/api/xmlrpc and see what happens.

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

Thank you for taking the time to answer me.
My url answers: http://autoslide.fr/index.php/api/xmlrpc i don't see error 404.
Regards

from connector-magento.

guewen avatar guewen commented on July 19, 2024

Does it happen for all the jobs?
If no, it could be transient errors on your Magento server.
If yes, it could be that your odoo server can't access to Magento due to a network error / misconfiguration.

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

All jobs are not working.
I turn around because everything is configured well.
I want you to know that there's worked there a week.
I did a test by disabling .htaccess but is the same.

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024
ProtocolError: <ProtocolError for mywebsite.fr/index.php/api/xmlrpc: 404 Not Found>
or
ProtocolError: <ProtocolError for http://mywebsite.fr/index.php/api/xmlrpc: 404 Not Found>

the problem would be missing http: // in the request?

from connector-magento.

guewen avatar guewen commented on July 19, 2024

Did you replaced http://autoslide.fr/index.php/api/xmlrpc by http://mywebsite.fr/index.php/api/xmlrpc in your traceback or is it really the URL output by the traceback? Because http://mywebsite.fr/api/xmlrpc gives a 404

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

My url is : http://autoslide.fr/index.php/api/xmlrpc
Please forgive me of my short answers because I do not have a large enough mastery of language Sheakspear.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

And in the configuration of the Magento Backend, the URL should be http://autoslide.fr, with the http://, do you have that?
Did you try a wget http://autoslide.fr/index.php/api/xmlrpc from your odoo server (not from your local machine) to see if you get a 404?

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

From my server with wget command

--2015-08-19 21:06:07--  http://autoslide.fr/index.php/api/xmlrpc
Résolution de autoslide.fr (autoslide.fr)... 127.0.0.1
Connexion vers autoslide.fr (autoslide.fr)|127.0.0.1|:80... connecté.
requête HTTP transmise, en attente de la réponse... 404 Not Found
2015-08-19 21:06:07 ERREUR 404: Not Found.

but if i check http://autoslide.fr from my server

--2015-08-19 21:07:39--  http://autoslide.fr/
Résolution de autoslide.fr (autoslide.fr)... 127.0.0.1
Connexion vers autoslide.fr (autoslide.fr)|127.0.0.1|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 739 [text/html]
Enregistre : «index.html.1»
100%[======================================================================================================================>] 739         --.-K/s   ds 0s
2015-08-19 21:07:39 (143 MB/s) - «index.html.1» enregistré [739/739

In my magento backend all is fine: secure and insecure url: http://

from connector-magento.

guewen avatar guewen commented on July 19, 2024

At least it shows that it is not an application error, rather a configuration one.
Do you have Magento and Odoo on the same server? I see that autoslide.fr is on 127.0.0.1 (could be a bad setup of /etc/hosts?)

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

Congratulations, you're right I added in my hosts file 127.0.0.1 there a week and by removing everything is back in order.
I am not abuse your kindness but I have wanted to know if by doing

git pull 

the connector can be updated.

Thank you infinitely guewen

from connector-magento.

guewen avatar guewen commented on July 19, 2024

Great!

Yes, but before any upgrade, always do a backup of your database. Then, do a git pull on every branch, stop your server and start it again with the option -u base in order to update the modules.

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

Thanks and see you next time.

Best regards
Josué Bendaoud

from connector-magento.

l-arnold avatar l-arnold commented on July 19, 2024

Guewen,
You wrote

  • ... before any upgrade, always do a backup of your database. Then, do a git pull on every branch, stop your server and start it again with the option -u base in order to update the modules."

Does this also update the database in the case there has been any data structure changes in the new git pulls?

Thanks in advance.

from connector-magento.

l-arnold avatar l-arnold commented on July 19, 2024

I will post this separately as an "issue/question" and try to reference this with the answer.

from connector-magento.

Related Issues (20)

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.