Comments (13)
Hey there, what do you see if you pass DEBUG=portal-mailer:*
and check the logs of the portal-mailer
container? I guess you have configured everything using the kickstarter and that the mailer is activated?
I have successfully tested with e.g. MailGun and SendGrid; which service do you use to send mail?
- Does it need authentication?
- Are the ports open for outbound traffic?
/Martin
from wicked.haufe.io.
Hi Martin,
I'm looking at the logs in the directory '/var/log' within the mailer container but nothing of note in there. Are there any logs elsewhere I should be looking at?
Below is a screenshot of the kickstarter configuration. I able to send emails using this configuration on other java based applications (i.e. Pentaho Data Integration)
All outgoing ports are open so I'm not sure what could be stopping this from working.
Many thanks,
Aaron
from wicked.haufe.io.
Hi Aaron, I rather meant the logs you get via docker logs <portal mailer container id>
.
from wicked.haufe.io.
And/or, try this for gmail:
- Tick "Force SSL"
- Use port 465
TODO for me: For known email sending providers, specify how to configure the mailer.
from wicked.haufe.io.
Hi Martin,
Below is the log from the mailer container (seems to repeat the same message every 10 seconds)
{"date":"14/Oct/2016:10:52:25 +0000","method":"GET","url":"/ping","remote-addr":"::ffff:172.18.0.2","version":"1.1","status":"500","content-length":"245","referrer":"-","response-time":"0.323","correlation-id":"6aebae2e-f689-4490-8bb9-f73467b2ca19"}
{ [Error: utils.get("http://portal-api:3001/users/e5ded00bfe32c6930c4a5737a122b3d61945826f") return unexpected status 404] status: 404 }
Not entirely sure what this is showing up. I've tried various different combinations now but still no luck. Ports 25, 465 and 587 are open as endpoints on Azure. You can view my kickstarter configuration at http://tes-docker.cloudapp.net:3333 and the portal at https://tes-docker.cloudapp.net. Perhaps you will be able to see something here that I have not covered off. Let me know what you think.
Many thanks!
Aaron
from wicked.haufe.io.
Okay, this is most probably at least in parts a bug. I suspect the following: A user signed up, and some time later, the user was deleted from the system. Nonetheless, the user signup was propagated to the portal-mailer
for sending out an email, but now it cannot read the user data anymore (404).
The portal-mailer
should react a little more forgiving here, obviously. This is simply a situation I had not yet anticipated.
The error message does show up on the API Portal's "System Health" page if you log in as an Admin user, right?
from wicked.haufe.io.
Hi Martin,
Yes the error also appears there when I log in as [email protected]
from wicked.haufe.io.
Would this require a docker-compose down and a full restart you think?
from wicked.haufe.io.
It wouldn't help. The thing here is that the portal-mailer
reacts to a pending webhook event which is persisted (for apparent reasons), and will run into this error again; unless you mean a complete docker-compose down
- which would also destroy all dynamic data (users, applications, subscriptions). That would definitely help, but that can't be the workaround.
If you give me another ten minutes, I'll prepare a fixed portal-mailer
docker image for you to try out, if you feel like it.
from wicked.haufe.io.
Yes that sounds good. There is no real rush here, we are still in development mode so whenever you have the time.
Thanks again for all your help, hugely appreciated!
from wicked.haufe.io.
Try to replace your portal-mailer
image (in the docker-compose.yml
) with the following image (fresh from the build pipeline): haufelexware/wicked.portal-mailer:dev
. If that's okay, I'll think about releasing a 0.9.3 with this fix.
from wicked.haufe.io.
Hi Martin,
This worked perfectly. All systems showing healthy and email verification was sent.
Many thanks,
Aaron
from wicked.haufe.io.
Fixed in 0.9.3 (just released).
from wicked.haufe.io.
Related Issues (20)
- Installing custom plugins on Kong HOT 4
- SAML2 silent refresh (OAuth2 with &prompt=none) fails HOT 1
- Creating an app key (API Bundles) HOT 3
- Error building dev env on Windows HOT 14
- Refactoring build process: CLI should be part of repo, release node-sdk and CLI at release
- Kong headers HOT 1
- E-Mail validation link wrong in user profile (portal) HOT 1
- Isolate the Portal to use with my own Kong Deployment HOT 9
- Deployment on k3s not working (containerd runtime) HOT 5
- Admin cannot validate email from the user's profile view. HOT 2
- Typescript compile failing due to @types/node update HOT 1
- Portal loosing consumers HOT 4
- Kong adapter not updating the api-group column for previous subscriptions
- OpenID IdPs which do not support userinfo endpoint are not supported correctly
- Deployments are missing NodeSelectors and Tolerations HOT 1
- Cannot login inside the wicked portal with the initial user if the password is encrypted
- wicked-kong produces lots of error messages
- Response from Auth endpoints come as HTML instead of JSON
- Support TLS 1.2 for PostgreSQL DB connection
- Use Friendly Captcha as bot protection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wicked.haufe.io.