Comments (14)
I released v0.3 which should at least fix the strange issues with Vosk downloading. Now if an error occurs while downloading the model, the app will just try again the next time the user asks for it, instead of loading indefinitely.
from dicio-android.
When testing for a few seconds in the past, I had a similar issue (download started, but stopped rather quickly, and would never finish), however with v0.3, there are no issues on that front anymore.
from dicio-android.
Having automatic certification renewal sounds like a better solution than to disabling https.
It is not about renewal, LetsEncrypt root certificate gets outdated and not all machines have the update:
https://www.darkreading.com/cloud/six-takeaways-from-the-let-s-encrypt-root-certificate-expiration
from dicio-android.
You should see an Android notification telling you the process of the download, in theory. Do you see it? Which Android version are you on? Which languages are your phone and Dicio set to? Thank you for reporting
from dicio-android.
I can confirm this problem using a Lineage 16 (+microG) build from this month (based on AOSP 9). I don't see any progress status on a possible Download. I don't get any output on logcat and strace on dicio repeatedly outputs the following:
read(27, "\1\0\0\0\0\0\0\0", 8) = 8
epoll_pwait(33, [{EPOLLIN, {u32=38, u64=38}}], 16, -1, NULL, 8) = 1
recvfrom(38, "nysv\0\0\0\0f\275UgJ \1\0\1DK\0\0\0\0\0", 2400, MSG_DONTWAIT, NULL, NULL) = 24
recvfrom(38, 0x7fd3d30a68, 2400, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Try again)
write(27, "\1\0\0\0\0\0\0\0", 8) = 8
recvfrom(38, 0x7fd3d309b8, 2400, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Try again)
ioctl(12, BINDER_WRITE_READ, 0x7fd3d31028) = 0
getuid()
It seems to wait for some other process (I am not experienced with Android programming so I cannot tell whether this output makes any sense to you, 7824 is the PID of dicio):
lrwx------ 1 u0_a120 u0_a120 64 2021-11-29 13:09 /proc/7824/fd/12 -> /dev/binder
lrwx------ 1 u0_a120 u0_a120 64 2021-11-29 13:09 /proc/7824/fd/27 -> anon_inode:[eventfd]
lrwx------ 1 u0_a120 u0_a120 64 2021-11-29 13:09 /proc/7824/fd/33 -> anon_inode:[eventpoll]
lrwx------ 1 u0_a120 u0_a120 64 2021-11-29 13:02 /proc/7824/fd/38 -> socket:[8954631]
from dicio-android.
We have https certificate problem due to letsencrypt, maybe a good idea is to disable certificate.
from dicio-android.
Btw, we are preparing unified UI for model download in Vosk. There is a list of available models already here:
https://alphacephei.com/vosk/models/model-list.json
should be ready soon.
from dicio-android.
We have https certificate problem due to letsencrypt, maybe a good idea is to disable certificate.
Having automatic certification renewal sounds like a better solution than to disabling https.
from dicio-android.
I can confirm this is the issue, I could reproduce on an emulator:
w/DownloadManager: [2] Stop requested with status HTTP_DATA_ERROR: Chain validation failed
@nshmyrev Since I'm using Android's DownloadManager
I don't think there is a way to disable certificate checking. Also, isn't that risky, since it would allow a man in the middle attack? I'm not so much into network security, so I'm not so sure about what I'm saying, but according to this SO if you provide me the CA certificate I can add it to the app so that even if the device does not have the correct certificates, the app itself does. I think this would not be risky, but then I don't know if you really can provide me the certificates to add to the app ;-).
Btw, we are preparing unified UI for model download in Vosk.
That's great! I'll definitely integrate it in Dicio when it's ready
from dicio-android.
I can confirm this is the issue, I could reproduce on an emulator:
That particular problem probably is not about letsencrypt. It is more about wrong time set in emulator so that the certificate doesn't pass.
from dicio-android.
That particular problem probably is not about letsencrypt. It is more about wrong time set in emulator so that the certificate doesn't pass.
You are right, now I've fixed the date on the emulators and everything is working fine, hence I am back to not being able to reproduce.
I have improved the model downloading strategy anyway, will ship a new version soon.
from dicio-android.
When clicking the microphone icon, I get a toast that downloading VOSK model, but then it keeps on going round and round. And nothing ever happens. Tried it multiple times. Help Please
I'm able to reproduce this issue using v0.2 of the app on a OnePlus Nord running Android 11.
I see the download notification briefly but can't be sure if it ever completed or not. But the voice input clearly doesn't seem to be working. It just keeps on spinning even after multiple attempts.
The text input appears to be working, though.
from dicio-android.
I'm able to reproduce this issue using v0.2 of the app on a OnePlus Nord running Android 11.
I think I should take that back now. I just reinstalled the app and tried and the download seems to be successful and the voice input appears to be working (it doesn't quite seem to understand my English but that's a different issue).
from dicio-android.
The latest update fixed the issue. Works great now. Thanks for your swift response :)
from dicio-android.
Related Issues (20)
- Dicio does not recognize the word “show”
- Does jdk 20 is required? HOT 2
- Finish translation HOT 1
- How can I implement this into my android keyboard? HOT 3
- Speech To Text service doesn't work in other apps HOT 2
- Support external speech to text services HOT 4
- Stuck Downloading Vosk and Questions HOT 1
- Can this take notes/memos? HOT 1
- Definition skill
- downloading vosk is doing nothing
- Skill evaluation error when tried to call
- Portuguese from Portugal HOT 1
- Stop playback while listening
- Integration with T-UI or just take commands from T-UI
- listening does not work
- Some more skills to consider / homonyms error HOT 1
- Instant crash when downloading vosk model
- Feature request: Intent and/or keyboard shortcut (Ctrl +c?) to copy text from SttServiceActivity
- Using Dicio with Bluetooth headsets
- Use phi-3 small
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 dicio-android.