theypsilon / Update_All_MiSTer

All-in-one script for updating your MiSTer
GNU General Public License v3.0
607 stars 27 forks source link

Curl: (35) Unknown SSL protocol error in connection to archive.org:443 #34

Closed harlock74 closed 3 years ago

harlock74 commented 3 years ago

Hi, I have got a new Mister FPGA set up. Every time a try to use the mame script I receive this error message:

Curl: (35) Unknown SSL protocol error in connection to archive.org:443

It works perfectly fine with the other Mister FPGA setup. The only difference is the way I connect to internet. In fact with my second setup I use the hotspot function on my phone as the WIFI connection is very poor in the room where the Mister is.

I have also tried to run the security script but to no avail.

Many thanks for looking at my issue!

theypsilon commented 3 years ago

Sorry, I totally missed this issue.

Just one question. Have you tried to run the script security_fixes.sh ?

harlock74 commented 3 years ago

Hi,

Many thanks for your reply. Very much appreciated.

Yes, I have run the scipt.

It's odd as it happens only when I use my smartphone as hot spot to connect to internet. If I use my wifi router the problem doesn't occur. This happens with both my Mister setups.

Many thanks for looking into this.

On Fri, 29 Jan 2021, 12:08 José Manuel Barroso Galindo, < notifications@github.com> wrote:

Sorry, I totally missed this issue.

Just one question. Have you tried to run the script security_fixes.sh ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theypsilon/Update_All_MiSTer/issues/34#issuecomment-769767499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7R5XV6SLZM25ZZNWIEHUTS4KQNLANCNFSM4U4P2XDA .

theypsilon commented 3 years ago

For the setup using hot spot, I would actually try to remove the changes applied with the security_fixes.sh script. Since SSL connections seem to be a problem, maybe is better to use insecure connections with that setup.

harlock74 commented 3 years ago

I see many thanks. Can you please let me know how to remove those changes?

Thanks a lot!

On Fri, 29 Jan 2021, 13:15 José Manuel Barroso Galindo, < notifications@github.com> wrote:

For the setup using hot spot, I would actually try to remove the changes applied with the security_fixes.sh script. Since SSL connections seem to be a problem, maybe is better to use insecure connections with that setup.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theypsilon/Update_All_MiSTer/issues/34#issuecomment-769798339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7R5XXGZFGE7UQRS5QGKVLS4KYIXANCNFSM4U4P2XDA .

theypsilon commented 3 years ago

I'm actually not sure about how to do it without starting a setup from scratch.

Other option you have, modify update_mame-getter.ini , update_hbmame-getter.ini , update_mame-getter.ini and update_bios-getter.ini , and in each one of them add the following: SSL_SECURITY_OPTION="--insecure"

harlock74 commented 3 years ago

Hi,

Thanks for your recommendations.

I will try those steps. Also I will try with a fresh install with another sd card to see if it works.

I will keep you posted.

Thanks!

On Fri, 29 Jan 2021, 14:44 José Manuel Barroso Galindo, < notifications@github.com> wrote:

I'm actually not sure about how to do it without starting a setup from scratch.

Other option you have, modify update_mame-getter.ini , update_hbmame-getter.ini , update_mame-getter.ini and update_bios-getter.ini , and in each one of them add the following: SSL_SECURITY_OPTION="--insecure"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theypsilon/Update_All_MiSTer/issues/34#issuecomment-769846589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7R5XT3SOOPGI7UDVOX6L3S4LCWTANCNFSM4U4P2XDA .

harlock74 commented 3 years ago

Hi,

I have started from scratch with a fresh install. None of the .ini files existed in the /media/fat/Scripts so I have created these empty files:

update_mame-getter.ini update_hbmame-getter.ini

and I have inserted only one line:

SSL_SECURITY_OPTION="--insecure"

But when I run the scrpt I have got the same error message.

Please advise.

Many thanks.

On Fri, 29 Jan 2021, 15:47 Alberto Calò, albywiller@gmail.com wrote:

Hi,

Thanks for your recommendations.

I will try those steps. Also I will try with a fresh install with another sd card to see if it works.

I will keep you posted.

Thanks!

On Fri, 29 Jan 2021, 14:44 José Manuel Barroso Galindo, < notifications@github.com> wrote:

I'm actually not sure about how to do it without starting a setup from scratch.

Other option you have, modify update_mame-getter.ini , update_hbmame-getter.ini , update_mame-getter.ini and update_bios-getter.ini , and in each one of them add the following: SSL_SECURITY_OPTION="--insecure"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theypsilon/Update_All_MiSTer/issues/34#issuecomment-769846589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7R5XT3SOOPGI7UDVOX6L3S4LCWTANCNFSM4U4P2XDA .

theypsilon commented 3 years ago

Could you please share the whole log from running the script? It should be stored at /media/fat/Scripts/.cache/update_all/update_all.log

That way I might find something there that could be useful.

harlock74 commented 3 years ago

Hi,

Please find attached, as requested.

In order to reproduce my issue, I have removed black tiger .mra and associated rom to force mame-getter to download it again. In fact I have got the usual error message.

By the way I have noticed that if I try to connect with my smartphone to archive.org http://archive.org/ by using my mobile data connection, instead of my wifi connection, I get the following error message:

This site can’t be reached The connection was reset Try: Checking the connection ERR_CONNECTION_RESET

Hope that with help for troubleshooting.

Thanks again for looking at it!

On 31 Jan 2021, at 21:15, José Manuel Barroso Galindo notifications@github.com wrote:

Could you please share the whole log from running the script? It should be stored at /media/fat/Scripts/.cache/update_all/update_all.log

That way I might find something there that could be useful.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theypsilon/Update_All_MiSTer/issues/34#issuecomment-770452092, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7R5XU6MD4NXZMCNOAHKJTS4XB5RANCNFSM4U4P2XDA.

theypsilon commented 3 years ago

I think the fact that you can't use your phone to access archive.org tells that it's most probably an issue with your phone company. In that case, I'm afraid I can't help you with that. I'm sorry!

harlock74 commented 3 years ago

Hi, Thanks for getting back to me. I have tried with 3 different UK providers on 3 different smartphones and still the same issue. It's so odd!! Never mind, many thanks again for looking into this for me. Very much appreciated!

On Mon, 1 Feb 2021, 15:07 José Manuel Barroso Galindo, < notifications@github.com> wrote:

I think the fact that you can't use your phone to access archive.org tells that it's most probably an issue with your phone company. In that case, I'm afraid I can't help you with that. I'm sorry!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theypsilon/Update_All_MiSTer/issues/34#issuecomment-770924352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7R5XSURKH5P47GXTR5KVDS427TFANCNFSM4U4P2XDA .

theypsilon commented 3 years ago

Thank you too for reporting the issue. It helps me to keep improving the script :)

harlock74 commented 3 years ago

Happy days!! I think I have sorted it out!!! I have just typed web.archive.org and this time I have got an error message saying that I had to prove my age (+18) to get access to the website. So I went to my mobile internet provider home settings and I confirmed my age and...bingo!!! All working now as expected.

Same scenario with another of my mobile internet providers where the problem was with the 'data content controls' where I have had to give full access with no restrictions to any wesites and...bingo again!!!

Happy boy now! Thanks a lot for your help and for giving me the tip that it was an issue with my internet provider and not with your script which is spot on. But I am sure this could help others facing the same issue as mine!

Thanks again!

On Mon, 1 Feb 2021, 15:30 José Manuel Barroso Galindo, < notifications@github.com> wrote:

Closed #34 https://github.com/theypsilon/Update_All_MiSTer/issues/34.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theypsilon/Update_All_MiSTer/issues/34#event-4274344279, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7R5XRKTWVI6YARJAS4VRLS43CJHANCNFSM4U4P2XDA .

theypsilon commented 3 years ago

Wow, glad that it fixed your problem. I will keep your solution in mind, maybe that can help other people in the future. Enjoy!