-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"future timed out" message on ios #669
Comments
That's a great error message :D |
DC_EVENT_ERROR was sent by the core containing this error message and afterwards on DC_EVENT_CONFIGURE_PROGRESS this message was shown in the UI. |
i think, this is where the error was created: https://github.com/async-rs/async-std/blob/master/src/io/timeout.rs#L74 |
Probably caused by the change introduced in this PR: deltachat/deltachat-core-rust#1378 |
still not working on attempting to upload 1.8.1 :/ but at least, we refined the error message in #712 - maybe this is more useful now - cc @link2xt do you have an idea? the shown "warning" is just the last warning logged before the error, this may or may not be related. the "progress", is the last DC_EVENT_CONFIGURE_PROGRESS permille ios has received. we could not reproduce the error on any testing device. wondering why apple allowed the same ipc as testflight release - i provided the same credentials there - either they do not test there or they are using a different environment. seems not to be releated to the used provider btw, i switched from testrun.org to deltachat.de, same thing. |
this is the line where DC_EVENT_CONFIGURE_PROGRESS with permille 860 is sent: https://github.com/deltachat/deltachat-core-rust/blob/master/src/configure/mod.rs#L627 but i think, the issue is already before - testrun.org also failed but is using a different port and should not fail at that line as EDIT: just tried over with the repl tool: here just the first smtp-try on port 465 succeeeds: https://gist.github.com/r10s/7f26335b6cd214a17a2be5d9d8182e66 - same on ios in my tests. |
Because of deltachat/deltachat-core-rust#1465 we can see it is SMTP error on port 25 now. Apple testers probably have port 25 filtered as it is used to send spam via open relays. So connection attempts to port 25 times out. Ports 465 and 587 failed because tester did not enter any password, as seen in the screenshot, they were probably expecting to get the error that password is wrong. IMAP warning is not related, but it is better to check that any folder is selected before sending I think it can be reproduced by filtering out TCP port 25 using |
the screenshot is weird - there should either the placeholder "Enter existing password" or some dots for each character entered. but we got these screenshots also in the past with issues we could solve, so, i think, they really actually entered a password. not sure, though. i just asked this question to apple, also why testflight with the same credentials was approved.
are there chances to reproduce this in the repl tool? can you have a look at that? |
I was able to reproduce "future timed out" by blocking port 465:
I have started
Given that for apple testers autoconfiguration was trying SMTP already, IMAP was configured successfully, so they provided the correct password for it. My guess is:
How does "advanced" menu look like, could someone attach a screenshot? |
@link2xt great that you fond a way to reproduce that! wow! this is how the "advanced" menu look like in my iphone 11 emulator - and yes, they probably did not provide an extra smtp-password (is not needed in most cases anyway): |
SMTP password should be replaced with |
i think, this is what actually happens: https://github.com/deltachat/deltachat-core-rust/blob/master/src/configure/mod.rs#L315 |
this part i do not understand: to reproduce this blocked all smtp ports, or?
so, with that, it is understandable, that smtp fails (of course, the error message is not good)
this is the assumption for apple - but given that 465 and 587 are unblocked - why do they not work fo them= |
Yes, I blocked all ports, because otherwise it would succeed with port 465 or 587. To get timeout on port 25, need to block port 25 only and provide incorrect SMTP password, in addition to correct IMAP password. This is what I think apple did, can't find any other explanation. |
but why does 465 and 587 are not working for apple then? k, this is probably the question we try to answer the whole time :) sth. mixed up in the settings, might be. i asked them wrt screenshort and password, let's see how responsive they are. |
finally, 1.8.1 was approved, maybe some blocked ports that should not have been blocked, not sure at the end. |
got this hint from the apple review team when trying to ship 1.6; 1.6 was rejected therefore.
might be, that just the testrun address was not working and the error is a "normal" timeout error - with a bad wording.
@basti do you have an idea where the message comes from?
we should get this reproducible, before submitting again.
The text was updated successfully, but these errors were encountered: