Comments (3)
@jimklo This is what I remember of the issue, feel free to update the description or add a comment if have more details.
from miqa-phase1.
Seems like there may be two separate problems with the email configuration. The first is described above, but the second is when you use the mail icon in the application to send an email regarding a scan.
#48 is a first step toward fixing the second problem (might fix it completely with a properly functioning smtp relay/server), but fixes bugs in the code, and does not address (mis)configuration. After applying that fix, the stack trace from miqa server went away, but without an smtp server or relay, it's hard to test. From within the docker-compose
stack (where we do have an smtp relay), I started seeing some messages indicating it might start working if my ISP weren't blocking outgoing port 25:
web_server_1 | 172.19.0.1 - - [07/Jan/2021:02:15:22] "POST /api/v1/miqa_email HTTP/1.1" 200 4 "http://localhost:18080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
smtp-relay_1 | 2021-01-06T18:15:22.760824-08:00 c81c0a9bb261 postfix/smtpd[109]: connect from miqa_web_server_1.miqa_default[172.19.0.3]
smtp-relay_1 | 2021-01-06T18:15:22.823961-08:00 c81c0a9bb261 postfix/smtpd[109]: C914D2400B3: client=miqa_web_server_1.miqa_default[172.19.0.3]
smtp-relay_1 | 2021-01-06T18:15:22.825703-08:00 c81c0a9bb261 postfix/cleanup[112]: C914D2400B3: message-id=<>
smtp-relay_1 | 2021-01-06T18:15:22.828392-08:00 c81c0a9bb261 postfix/qmgr[108]: C914D2400B3: from=<REDACTED>, size=1360, nrcpt=1 (queue active)
smtp-relay_1 | 2021-01-06T18:15:22.828651-08:00 c81c0a9bb261 postfix/smtpd[109]: disconnect from miqa_web_server_1.miqa_default[172.19.0.3] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
smtp-relay_1 | 2021-01-06T18:15:53.161013-08:00 c81c0a9bb261 postfix/smtp[113]: connect to gmail-smtp-in.l.google.com[108.177.111.26]:25: Operation timed out
smtp-relay_1 | 2021-01-06T18:16:23.193129-08:00 c81c0a9bb261 postfix/smtp[113]: connect to alt1.gmail-smtp-in.l.google.com[142.250.96.26]:25: Operation timed out
Using the fix in #48 within the docker-compose
stack, and attempting to register a new user account, I now see the following output from the smtp-relay
service:
web_server_1 | 172.19.0.1 - - [07/Jan/2021:02:59:20] "POST /api/v1/user HTTP/1.1" 200 225 "http://localhost:18080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
smtp-relay_1 | 2021-01-06T18:59:20.521996-08:00 c81c0a9bb261 postfix/smtpd[109]: connect from miqa_web_server_1.miqa_default[172.19.0.3]
smtp-relay_1 | 2021-01-06T18:59:20.747635-08:00 c81c0a9bb261 postfix/smtpd[109]: NOQUEUE: reject: RCPT from miqa_web_server_1.miqa_default[172.19.0.3]: 450 4.1.2 <[email protected]>: Recipient address rejected: Domain not found; from=<REDACTED> to=<[email protected]> proto=ESMTP helo=<[172.19.0.3]>
smtp-relay_1 | 2021-01-06T18:59:20.748370-08:00 c81c0a9bb261 postfix/smtpd[109]: disconnect from miqa_web_server_1.miqa_default[172.19.0.3] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5
I'm still trying to work out why the recipient address was [email protected]
, when I supplied a known working email address of my own when attempting to register the new user.
The REDACTED
"from" addresses above were both successfully applied from my .env
configuration settings used by the docker-compose.yml
.
from miqa-phase1.
Fixed via better config
from miqa-phase1.
Related Issues (20)
- Add to scan metadata and/or notes every time a user reviews a scan HOT 3
- MIQA server sessions endpoint doesn't use 'imagepattern' correctly HOT 1
- Refactor Vuex store
- Clarify the Stanford Email Use Case
- Initial Issues Encountered While Setting Up miqa HOT 8
- Document Additional Use Case for MIQA
- Update current MIQA to use Girder-4 (transition from Girder 3 to Girder 4) HOT 1
- Move website files out of this repo HOT 6
- Use airbnb linting on miqa-web client
- Remove link in email for now HOT 1
- After the email is sent, clear the sent screenshots HOT 1
- Screenshots are not present in the email received HOT 1
- Change "undefined" to session name in screenshot name / email subject HOT 1
- Implement server-side session timeout HOT 1
- Add a client status of time till session expiry HOT 2
- Start a shared requirements document
- Use focal loss without weighted random sampler and assess which one is better
- Use full dataset for NN classifier using the best model that we determine
- Send UoI data to KHQ and transfer it to MIQA hardware HOT 1
- Get current application up and running on local machine
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 miqa-phase1.