Code Monkey home page Code Monkey logo

Comments (5)

ilmir-k avatar ilmir-k commented on August 19, 2024

@vodwood first you need to check if you setup correctly the following:

  • the route from mailgun side
  • outgoing mail server
  • mailgun.apikey in Settings > System Parameters

from mail-addons.

vodwood avatar vodwood commented on August 19, 2024

@ilmir-k Thanks Ilmir!
All of the mentioned seems to be correct. There is no problem with deliverability to and from Odoo.
The problem is that the callbacks from Mailgun are not reaching the URL you have defined in your controller.

This is the error in Mailgun. As you can see, the callbacks keep retrying and softly failing until they fail permanently after several attempts.
{ "severity": "temporary", "tags": [], "storage": { "url": "https://se.api.mailgun.net/v3/domains/vostok.bike/messages/eyJwIjpmYWxzZSwiayI6ImNhMWE5NTUyLTMxNjQtNDdmZS04ZDQ5LTZhODc5ZGRhODdiYiIsInMiOiI1OTUxZWYwNDIzIiwiYyI6InRhbmtiIn0=", "key": "eyJwIjpmYWxzZSwiayI6ImNhMWE5NTUyLTMxNjQtNDdmZS04ZDQ5LTZhODc5ZGRhODdiYiIsInMiOiI1OTUxZWYwNDIzIiwiYyI6InRhbmtiIn0=" }, "delivery-status": { "attempt-no": 7, "description": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n", "session-seconds": 1.447580099105835, "retry-seconds": 14400, "code": 500, "message": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n" }, "recipient-domain": "shop.vostok.bike", "id": "m_yqAFXeQYCxsgdodVJCSw", "campaigns": [], "reason": "generic", "user-variables": {}, "flags": { "is-routed": false, "is-authenticated": true, "is-callback": true, "is-system-test": false, "is-test-mode": false }, "log-level": "warn", "timestamp": 1537798243.478487, "envelope": { "sender": "[email protected]", "transport": "http", "targets": "https://shop.vostok.bike/mailgun/notify" }, "message": { "headers": { "to": null, "message-id": "[email protected]", "from": "[email protected]", "subject": null }, "attachments": [], "size": 63864 }, "recipient": "https://shop.vostok.bike/mailgun/notify", "event": "failed" }

from mail-addons.

g3492 avatar g3492 commented on August 19, 2024

Hi! I have the same problem in Odoo 11, sending works ok, but callback to /mailgun/notify fails with:

<title>500 Internal Server Error</title>

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Server response: 500 <title>500 Internal Server Error</title>

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

This is my first time trying to use mailgun addon. May be something changed from mailgun side.

from mail-addons.

luistriana28 avatar luistriana28 commented on August 19, 2024

Hi @yelizariev I'm having the same error. Odoo V10 Enterprise

Captura de Pantalla 2019-04-15 a la(s) 10 40 09

I haven't found the error, I'm trying to figure out if this line can be the possible error.

Regards

from mail-addons.

luistriana28 avatar luistriana28 commented on August 19, 2024

Here is another test from mailgun HTTP POST:

Captura de Pantalla 2019-04-15 a la(s) 14 31 34

from mail-addons.

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.