-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
text processing module with slow internet conection #519
Comments
Thanks for reporting this, we will have a look. |
Hi @pavelbs, I tried to reproduce your error. I used the Network Link Conditioner to simulated a bad connection (different speeds, package lost rates, delays). I couldn't reproduce the particular error. It seems that in your case the text which is retrieved from the server is somehow corrupted, even the response from the server is 200 (OK). We can try to catch this particular error anyway. I am just interested in whether this error happens every time you try to load the Preprocess Text widget? Btw. we have another issue with the Preprocess text widget. If I limit connection to much, it takes forever to load the widget. It seems that there is no reasonable timeout set. I will recheck this issue when #506 is merged since it does not make sense to fix it. |
This error occurs every time I try to load the Preprocess Text widget. I live in a small village. My nearest cell tower is 20 km from me. I have 3G amplifier from aliexpress + 3G wifi router and handmade 3G antenna. |
@pavelbs thank you for your fast response. We are not completely sure that the error is caused by the slow connection (but it is possible anyway). We would like to inspect your problem further, so we ask you if you can run the script attached to this comment and paste us the pickle file that it generates. It will give us an idea of what is happening with the response in your case. |
done |
@pavelbs thank you. This reveals the reason behind the error. Can I just ask you for another test? I changed the script a bit can you run it and send me a response? I just want to know if our assumptions are correct. |
done |
@pavelbs thank you for your help. The issue was not a slow internet connection but the fact that we were reaching our server through HTTP instead of https and your internet provider replaced a 404 (not reachable) response with a fancy HTML page. Using HTTPS solves the issue. I made a PR with the fix. |
What should I do? |
Nothing needs to be done from your side. I prepared a pull request with the fix, someone, from the team will merge it soon #524. |
textprocessingerr.txt
Hi! I have slow internet connection, less than 400Kbit/s. And when I use text preprocessing module I have an error.
If I disconnect my internet connection (disable wifi), the text processing module works fine.
If I have have internet connection more than 3Mbit/s, everything works fine.
Text version 0.9/0.8
Orange version 3.26/3.25
The text was updated successfully, but these errors were encountered: