Skip to content
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

Google logging in procedure #6

Open
woodlist opened this issue Apr 17, 2021 · 4 comments
Open

Google logging in procedure #6

woodlist opened this issue Apr 17, 2021 · 4 comments

Comments

@woodlist
Copy link

woodlist commented Apr 17, 2021

Since code publishing seems the Google have changed the logging in way. In WEB app deployment are only two options, per "Execute as"/"Me" or /"User accessing the web app" and "Who has access"/"Only myself" or "Anyone with Google account". Anonymous access is not available, thus, I suspect this was the reason I was unable to get complete the project. Meanwhile, I have used GPRS connection instead of WiFi. Here is the log of debug on serial monitor:

20:50:36.000 -> Connecting to APN: internet.beeline.am OK 20:50:40.490 -> Waiting for network... 20:50:40.490 -> GPRS status: connected 20:50:40.490 -> Local IP:10.111.107.23 20:50:46.510 -> Connected to GPRS 20:50:46.784 -> Connect to script.google.com 20:50:49.947 -> Connection successful 20:50:50.832 -> Send a captured image to Google Drive. 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): Error writing to m_client 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): 0 20:50:52.940 -> (SSLClient)(SSL_ERROR)(connected): Not connected because write error is set 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): Terminating with write error: 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): 4 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Failed while waiting for the engine to enter BR_SSL_SENDAPP 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:53.009 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset:

As the debug info shows, here are none of SSL connection issue. "Connect to script.google.com" return "Connection successful".

@chupocro
Copy link

chupocro commented Aug 8, 2021

There still is an option "Who has access: Anyone" for Google Apps Scripts.

@Caceburak
Copy link

20:50:36.000 -> Connecting to APN: internet.beeline.am OK 20:50:40.490 -> Waiting for network... 20:50:40.490 -> GPRS status: connected 20:50:40.490 -> Local IP:10.111.107.23 20:50:46.510 -> Connected to GPRS 20:50:46.784 -> Connect to script.google.com 20:50:49.947 -> Connection successful 20:50:50.832 -> Send a captured image to Google Drive. 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): Error writing to m_client 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): 0 20:50:52.940 -> (SSLClient)(SSL_ERROR)(connected): Not connected because write error is set 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): Terminating with write error: 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): 4 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Failed while waiting for the engine to enter BR_SSL_SENDAPP 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:53.009 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset

1 similar comment
@Caceburak
Copy link

20:50:36.000 -> Connecting to APN: internet.beeline.am OK 20:50:40.490 -> Waiting for network... 20:50:40.490 -> GPRS status: connected 20:50:40.490 -> Local IP:10.111.107.23 20:50:46.510 -> Connected to GPRS 20:50:46.784 -> Connect to script.google.com 20:50:49.947 -> Connection successful 20:50:50.832 -> Send a captured image to Google Drive. 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): Error writing to m_client 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): 0 20:50:52.940 -> (SSLClient)(SSL_ERROR)(connected): Not connected because write error is set 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): Terminating with write error: 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): 4 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Failed while waiting for the engine to enter BR_SSL_SENDAPP 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:53.009 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset

@Caceburak
Copy link

20:50:36.000 -> Connecting to APN: internet.beeline.am OK 20:50:40.490 -> Waiting for network... 20:50:40.490 -> GPRS status: connected 20:50:40.490 -> Local IP:10.111.107.23 20:50:46.510 -> Connected to GPRS 20:50:46.784 -> Connect to script.google.com 20:50:49.947 -> Connection successful 20:50:50.832 -> Send a captured image to Google Drive. 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): Error writing to m_client 20:50:52.940 -> (SSLClient)(SSL_ERROR)(m_update_engine): 0 20:50:52.940 -> (SSLClient)(SSL_ERROR)(connected): Not connected because write error is set 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): Terminating with write error: 20:50:52.974 -> (SSLClient)(SSL_WARN)(m_run_until): 4 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Failed while waiting for the engine to enter BR_SSL_SENDAPP 20:50:52.974 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:52.974 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset: 20:50:53.009 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_WRITE_FAIL 20:50:53.009 -> (SSLClient)(SSL_ERROR)(write): Cannot operate if the write error is not reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants