Email Code Authentication #4

Closed
opened 10 months ago by tak3shi · 3 comments

Hi,

i have setup my own server and i am trying to register.
I do receive the email with the code, that i enter in the mobile app to validate my email.
But the app keeps asking for the code. I have tried already multiple times with new codes and alternative email but no success.

Hi, i have setup my own server and i am trying to register. I do receive the email with the code, that i enter in the mobile app to validate my email. But the app keeps asking for the code. I have tried already multiple times with new codes and alternative email but no success.
Poster

This is from the log when trying to send an auth code. It does not look like a problem with the server, but a problem with the mobile app? I am using an BQ Aquaris mobile phone with Android 8.1.

[18/Dec/2020:21:27:56 +0000] "POST /auth/send-mail-login-code-v2 HTTP/1.0" 200 1857 "-" "okhttp/4.9.0"
[18/Dec/2020:21:28:44 +0000] "POST /auth/sign-in-by-mail-code HTTP/1.0" 200 477 "-" "okhttp/4.9.0"
[18/Dec/2020:21:28:44 +0000] "POST /parent/get-status-by-mail-address HTTP/1.0" 200 526 "-" "okhttp/4.9.0"

This is from the log when trying to send an auth code. It does not look like a problem with the server, but a problem with the mobile app? I am using an BQ Aquaris mobile phone with Android 8.1. [18/Dec/2020:21:27:56 +0000] "POST /auth/send-mail-login-code-v2 HTTP/1.0" 200 1857 "-" "okhttp/4.9.0" [18/Dec/2020:21:28:44 +0000] "POST /auth/sign-in-by-mail-code HTTP/1.0" 200 477 "-" "okhttp/4.9.0" [18/Dec/2020:21:28:44 +0000] "POST /parent/get-status-by-mail-address HTTP/1.0" 200 526 "-" "okhttp/4.9.0"
Owner

What exactly does the client show?

What exactly does the client show?
tak3shi closed this issue 10 months ago
Poster

I have found an small popup in the bottom, that an data transfer error occured.
I have also found more errors in my main apache logfile. It seems to be a compatibility problem with Plesk and Passenger.

App 14148 output: ForbiddenError: Forbidden
App 14148 output: at /var/www/vhosts/mydomain.de/timelimit/build/function/authentication/login-by-mail.js:72:23
[ N 2020-12-20 14:37:54.6903 7038/Tb age/Cor/CoreMain.cpp:1147 ]: Checking whether to disconnect long-running connections for process 14148, application /var/www/vhosts/mydomain.de/timelimit/build (development)
App 24124 output: Trace: You required the Node Cluster module, which is incompatible with Passenger, a non-functional shim was returned and your app may still work. However, please remove the related code as soon as possible.
App 24124 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:63:12)
App 24124 output: at require (internal/modules/cjs/helpers.js:16:16)
App 24124 output: at Object. (/var/www/vhosts/mydomain.de/timelimit/node_modules/rate-limiter-flexible/lib/RateLimiterCluster.js:22:17)
App 24124 output: at Module._compile (internal/modules/cjs/loader.js:774:30)
App 24124 output: at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
App 24124 output: at Module.load (internal/modules/cjs/loader.js:641:32)
App 24124 output: at Function.Module._load (internal/modules/cjs/loader.js:556:12)
App 24124 output: at Module.require (internal/modules/cjs/loader.js:681:19)
App 24124 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25)
App 24124 output: at require (internal/modules/cjs/helpers.js:16:16)
App 24124 output: at Object. (/var/www/vhosts/mydomain.de/timelimit/node_modules/rate-limiter-flexible/index.js:5:85)
App 24124 output: at Module._compile (internal/modules/cjs/loader.js:774:30)
App 24124 output: at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
App 24124 output: at Module.load (internal/modules/cjs/loader.js:641:32)
App 24124 output: at Function.Module._load (internal/modules/cjs/loader.js:556:12)
App 24124 output: at Module.require (internal/modules/cjs/loader.js:681:19)
App 24124 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25)
App 24124 output: at require (internal/modules/cjs/helpers.js:16:16)
App 24124 output: at Object. (/var/www/vhosts/mydomain.de/timelimit/build/util/ratelimit-authmail.js:19:33)
App 24124 output: at Module._compile (internal/modules/cjs/loader.js:774:30)
App 24124 output: at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
App 24124 output: at Module.load (internal/modules/cjs/loader.js:641:32)
App 24124 output: ready

I have found an small popup in the bottom, that an data transfer error occured. I have also found more errors in my main apache logfile. It seems to be a compatibility problem with Plesk and Passenger. App 14148 output: ForbiddenError: Forbidden App 14148 output: at /var/www/vhosts/mydomain.de/timelimit/build/function/authentication/login-by-mail.js:72:23 [ N 2020-12-20 14:37:54.6903 7038/Tb age/Cor/CoreMain.cpp:1147 ]: Checking whether to disconnect long-running connections for process 14148, application /var/www/vhosts/mydomain.de/timelimit/build (development) App 24124 output: Trace: You required the Node Cluster module, which is incompatible with Passenger, a non-functional shim was returned and your app may still work. However, please remove the related code as soon as possible. App 24124 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:63:12) App 24124 output: at require (internal/modules/cjs/helpers.js:16:16) App 24124 output: at Object.<anonymous> (/var/www/vhosts/mydomain.de/timelimit/node_modules/rate-limiter-flexible/lib/RateLimiterCluster.js:22:17) App 24124 output: at Module._compile (internal/modules/cjs/loader.js:774:30) App 24124 output: at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10) App 24124 output: at Module.load (internal/modules/cjs/loader.js:641:32) App 24124 output: at Function.Module._load (internal/modules/cjs/loader.js:556:12) App 24124 output: at Module.require (internal/modules/cjs/loader.js:681:19) App 24124 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25) App 24124 output: at require (internal/modules/cjs/helpers.js:16:16) App 24124 output: at Object.<anonymous> (/var/www/vhosts/mydomain.de/timelimit/node_modules/rate-limiter-flexible/index.js:5:85) App 24124 output: at Module._compile (internal/modules/cjs/loader.js:774:30) App 24124 output: at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10) App 24124 output: at Module.load (internal/modules/cjs/loader.js:641:32) App 24124 output: at Function.Module._load (internal/modules/cjs/loader.js:556:12) App 24124 output: at Module.require (internal/modules/cjs/loader.js:681:19) App 24124 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25) App 24124 output: at require (internal/modules/cjs/helpers.js:16:16) App 24124 output: at Object.<anonymous> (/var/www/vhosts/mydomain.de/timelimit/build/util/ratelimit-authmail.js:19:33) App 24124 output: at Module._compile (internal/modules/cjs/loader.js:774:30) App 24124 output: at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10) App 24124 output: at Module.load (internal/modules/cjs/loader.js:641:32) App 24124 output: ready
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.