Comments (10)
from syncthing-android.
It looks like the first authentication works, but all subsequent requests fail.
Unfortunately, I can't reproduce this behaviour on my own device. I opened and closed the web interface about 20 times to trigger a possible race condition, but it worked reliably for me.
@papagdog does this always happen if you open the web UI? Does this behavior persist if you close the Syncthing app?
from syncthing-android.
It looks like the first authentication works, but all subsequent requests fail.
Unfortunately, I can't reproduce this behaviour on my own device. I opened and closed the web interface about 20 times to trigger a possible race condition, but it worked reliably for me.
@papagdog does this always happen if you open the web UI? Does this behavior persist if you close the Syncthing app?
Yes, it was happening all the time, and the android update was the only change. Initially I didn't want to uninstall the app, but after making sure I had a good backup, I uninstalled, re-installed, and restored the backup and everything is good now. I apologize for the fire drill. Thanks!
from syncthing-android.
Closed
from syncthing-android.
It is still worrying that it happened at all.
from syncthing-android.
It is still worrying that it happened at all.
If it happens again, I'll reference this case and try to see if I can find out more details. Thanks!
from syncthing-android.
Also started facing this since a version or 2 ago and don't remember updating my device for this to occur.
from syncthing-android.
@jindalpratik are you running a pre-release version?
from syncthing-android.
Yeah I think this started happening for me on 1.26.0-rc.1 unless there was a silent system update during restart which I was not aware of.
from syncthing-android.
Btw @bt90 getting the following errors when looking at logcat
2023-11-02 00:47:19.121 13740-13740 chromium com.nutomic.syncthingandroid E [ERROR:aw_browser_terminator.cc(156)] Renderer process (13066) crash detected (code -1).
2023-11-02 00:47:20.119 13740-13740 ConnectivityManager com.nutomic.syncthingandroid D StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4322)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4886)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4853)] [WV.hD.e(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:38)] [WV.hD.b(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:1)] [org.chromium.android_webview.AwContentsLifecycleNotifier.onFirstWebViewCreated(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:24)] [J.N.MFiR_zHY(Native Method)] [org.chromium.android_webview.AwContents.<init>(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:433)] [com.android.webview.chromium.k.run(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:94)] [WV.yY.b(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:20)] [WV.xY.run(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:3)] [org.chromium.base.task.PostTask.d(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:11)] [WV.yY.a(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:23)] [com.android.webview.chromium.WebViewChromiumFactoryProvider.a(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:3)] [com.android.webview.chromium.WebViewChromium.init(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:341)] [android.webkit.WebView.<init>(WebView.java:448)] [android.webkit.WebView.<init>(WebView.java:368)] [android.webkit.WebView.<init>(WebView.java:350)] [android.webkit.WebView.<init>(WebView.java:337)] [java.lang.reflect.Constructor.newInstance0(Native Method)] [java.lang.reflect.Constructor.newInstance(Constructor.java:343)] [android.view.LayoutInflater.createView(LayoutInflater.java:876)] [android.view.LayoutInflater.createView(LayoutInflater.java:798)] [com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:952)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:972)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1026)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983)] [android.view.LayoutInflater.rInflate(LayoutInflater.java:1145)] [android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)] [android.view.LayoutInflater.inflate(LayoutInflater.java:692)] [android.view.LayoutInflater.inflate(LayoutInflater.java:544)] [android.view.LayoutInflater.inflate(LayoutInflater.java:491)] [androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:710)] [androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:195)] [com.nutomic.syncthingandroid.activities.WebGuiActivity.onCreate(WebGuiActivity.java:135)] [android.app.Activity.performCreate(Activity.java:8591)] [android.app.Activity.performCreate(Activity.java:8570)] [android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)] [android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150)] [android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)] [android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)] [android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)]
2023-11-02 00:47:20.130 13740-13740 ConnectivityManager com.nutomic.syncthingandroid D StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4322)] [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4364)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4746)] [WV.hD.e(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:118)] [WV.hD.b(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:1)] [org.chromium.android_webview.AwContentsLifecycleNotifier.onFirstWebViewCreated(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:24)] [J.N.MFiR_zHY(Native Method)] [org.chromium.android_webview.AwContents.<init>(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:433)] [com.android.webview.chromium.k.run(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:94)] [WV.yY.b(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:20)] [WV.xY.run(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:3)] [org.chromium.base.task.PostTask.d(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:11)] [WV.yY.a(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:23)] [com.android.webview.chromium.WebViewChromiumFactoryProvider.a(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:3)] [com.android.webview.chromium.WebViewChromium.init(chromium-TrichromeWebViewGoogle6432.aab-beta-604506642:341)] [android.webkit.WebView.<init>(WebView.java:448)] [android.webkit.WebView.<init>(WebView.java:368)] [android.webkit.WebView.<init>(WebView.java:350)] [android.webkit.WebView.<init>(WebView.java:337)] [java.lang.reflect.Constructor.newInstance0(Native Method)] [java.lang.reflect.Constructor.newInstance(Constructor.java:343)] [android.view.LayoutInflater.createView(LayoutInflater.java:876)] [android.view.LayoutInflater.createView(LayoutInflater.java:798)] [com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:952)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:972)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1026)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983)] [android.view.LayoutInflater.rInflate(LayoutInflater.java:1145)] [android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)] [android.view.LayoutInflater.inflate(LayoutInflater.java:692)] [android.view.LayoutInflater.inflate(LayoutInflater.java:544)] [android.view.LayoutInflater.inflate(LayoutInflater.java:491)] [androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:710)] [androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:195)] [com.nutomic.syncthingandroid.activities.WebGuiActivity.onCreate(WebGuiActivity.java:135)] [android.app.Activity.performCreate(Activity.java:8591)] [android.app.Activity.performCreate(Activity.java:8570)] [android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)] [android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150)] [android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)] [android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)] [android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)]
2023-11-02 00:47:20.296 1661-1812 ActivityManager system_server I Start proc 13446:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:6/u0i342 for {com.nutomic.syncthingandroid/org.chromium.content.app.SandboxedProcessService0:6}
2023-11-02 00:47:20.296 1661-1812 DynamicHid...ectManager system_server I check webview name : com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:6check hostingname webview : {com.nutomic.syncthingandroid/org.chromium.content.app.SandboxedProcessService0:6}
2023-11-02 00:47:20.313 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:20.358 1661-6422 DexController system_server D init process display: set packageProcessId, displayId=0, same_package_proc=ProcessRecord{29c6def 13740:com.nutomic.syncthingandroid/u0a368}, app=ProcessRecord{a0822fa 13446:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:6/u0a368i342}
2023-11-02 00:47:20.543 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:20.550 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:20.553 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:20.555 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:20.563 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:20.570 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:20.571 13740-32408 chromium com.nutomic.syncthingandroid E [ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
2023-11-02 00:47:21.585 13740-32416 chromium com.nutomic.syncthingandroid W [WARNING:display_webview.cc(32)] WebView overlays are enabled!
Edit : Web ui also seems to refreshing every couple of secs.
from syncthing-android.
Related Issues (20)
- App not working despite phone is connected to wifi HOT 1
- Expecting binder but got null! HOT 2
- Syncthing stops running after a few weeks HOT 4
- Support for Android SAF HOT 4
- status about android10 (sony xperia XZ2 phone) and syncthing not being able to write in sdcard folder (DCIM one...) HOT 2
- Explanation for slow sync on Android w/lots of files + request for fix HOT 2
- No way to back out of subfolder HOT 1
- Unable to run in background -- unable to set battery usage to Unrestricted HOT 4
- Not running every hour HOT 10
- "Override Changes" button MUST WARN PEOPLE WHAT IT DOES. HOT 1
- Info: No releases on google play for now HOT 5
- Custom https-cert causes infinite hang at startup HOT 2
- "Run on specified Wi-Fi networks" gives specious error on app opening HOT 5
- ID of phone is changing HOT 1
- Run while open HOT 1
- [request] Option to override "Run on" options for folder HOT 2
- In comma-separated list of addresses, commas become part of the addresses
- F-Droid app description doesn't have translations
- Unable to save to syncthing: 0 files copied to Syncthing
- "Failed to create config file" on first launch
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 syncthing-android.