x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

New nPOPuk Release + OpenSSL / CE Testers Needed!

« Prev ... 6 7 8 9 10 11 12 13 14 15 16 17 Next »
torch Page Icon Posted 2022-12-28 3:05 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,708
Location:
United States 
Status:
I wondered that too. I wonder if the network connection didn’t fully load yet.
I just left for work but I’ll do this again later tonight and reproduce.
 Top of the page
soju Page Icon Posted 2022-12-28 3:10 PM
#
Avatar image of soju
Factor Fanatic

Posts:
69
Location:
Japan
Status:
thanks, please check when you have time.
 Top of the page
torch Page Icon Posted 2022-12-29 5:01 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,708
Location:
United States 
Status:
Finally got it working for you-
previous issues were related to my wifi card, I had a second one, which worked perfectly.
Attached is log file
 Top of the page
watamario15 Page Icon Posted 2022-12-30 4:18 PM
#
Avatar image of watamario15
Factorite (Senior)

Posts:
85
Location:
Japan
Status:
Quote
torch - 2022-12-29 1:01 PM

Finally got it working for you-
previous issues were related to my wifi card, I had a second one, which worked perfectly.
Attached is log file


Your log seemed to have no errors. Did it load all emails after switching your WiFi card? If so, I assume the issue is finally fixed.
 Top of the page
DutchComputerKid Page Icon Posted 2022-12-30 7:46 PM
#
Avatar image of DutchComputerKid
Factorite (Junior)

Posts:
30
Location:
Netherlands
Status:
So in the meantime I figure I'd look for any older clients that could work, which is a Siemens MOBIC T8, 800x600 TFT, CE 4.2 (It had 3.0, upgraded it a couple years back, thanks Siemens) using 133Mhz MIPS R4000, 32MB RAM.
Would that be of any help?

Also;
Quote
soju - 2022-12-28 1:58 PM

This is a test build that makes more log to unvail why your SSL connection is stuck while loading. Torch, please reproduce the problem using this build, and share me the log. Please do not forget to redact your personal informations included in the log before sending it.
ARMv4_014_log: https://www.dropbox.com/sh/crquy9ciiu1mvbc/AAC357HEO_74TZ_J1yjl0EKAa...

Is it me, or is this getting horribly slow for some reason? And it downloads 4 emails after a minute or two, then Windows just goes "Application nPOPuk.exe has encountered a serious error and needs to close". Waiting longer just makes it crash. Maybe a memory leak?
The log file just cuts off at whatever line it was downloading.

Edit: Ah, 013 works fine, and yes verification works now, HOORAY! Logging every recieved line is what makes it so slow/crashy, but for connection debug I suppose that wasnt the point. heh.

Edited by DutchComputerKid 2022-12-30 7:52 PM
 Top of the page
torch Page Icon Posted 2022-12-30 8:07 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,708
Location:
United States 
Status:
watamario15, soju: I’m going to retest 13 and 14 and report my results.

DutchComputerKid: obviously I can’t speak for soju, but theoretically, once the armv4 beta test is finished, soju could conceivably move on to other platforms based on 4.2 or higher (based on C:Amie’s post about OpenSSL’s required functions not available in either 2.11 or 3.0? I don’t remember)
So right now we have the following platforms volunteered to test:
gjcoram: CE6.0 ARM
me: CE4.2 ARM / CE6.0 x86
DutchComputerKid: CE 6.0 ARM / WM6 ARM / CE4.2 MIPS
watamario15: CE6.0 ARM (but no network stack)
I dunk for bananas: CE5.0 MIPS / CE5.0 x86
Obsolete platforms:
gjcoram: CE2.11 ARM
torch: CE 3.0 MIPS
 Top of the page
soju Page Icon Posted 2022-12-31 2:57 AM
#
Avatar image of soju
Factor Fanatic

Posts:
69
Location:
Japan
Status:
All right, thanks all for confirming the test build. I'll reply later.
 Top of the page
soju Page Icon Posted 2023-01-01 3:58 AM
#
Avatar image of soju
Factor Fanatic

Posts:
69
Location:
Japan
Status:
Happy New Year,
I think this works fine for CE4.2 or later and expect to be final release for ARMv4 unless there is any problems.
ARMv4_015: https://www.dropbox.com/sh/6c2p5846x2imz52/AADNSoAd4htKyhB9tD7BwVeZa
From this release I switched OpenSSL version from 1.1.1s to 3.0.7. It's better for you, isn't it? I've applied following patches to OpenSSL 3.0.7 to build it for CE 4.2.

* ossl3.0_src_fix_for_ce.patch which is based on Asit's fix (https://github.com/openssl/openssl/pull/18074/files)
* ossl3.0_src_fix_for_ce420.patch



Attachments
----------------
Attachments ossl3.0_src_fix_for_ce.patch (2KB - 7 downloads)
Attachments ossl3.0_src_fix_for_ce420.patch (1KB - 6 downloads)
 Top of the page
soju Page Icon Posted 2023-01-01 5:03 AM
#
Avatar image of soju
Factor Fanatic

Posts:
69
Location:
Japan
Status:
FYI 1: The path of CAFile can be specified in ini file as CAFile="(foo)\ca.pem", so you can put it anywhere you want.
FYI 2: If CAFile couldn't be found, root certificates in Windows certificate store will be used. Probably you need to update the certs installed on Windows certificate store to make it work.

This is build artifacts and header files of OpenSSL 3.0.7 and wcecompat. gjcoram might want to use it to make official release of nPOPuk for ARMv4.
https://www.dropbox.com/sh/q4y9hhqfguwsjtp/AAB11UbP7HMMkFQTSRull-8La
Please note that since WinSockSSL.c uses some deprecated APIs such as TLSv1_2_client_method() and SSL_load_error_strings(), you'd have to define following statement before including OpenSSL headers to enable backward compatibility.
#define OPENSSL_API_COMPAT 0x10002000L
 Top of the page
soju Page Icon Posted 2023-01-01 7:43 AM
#
Avatar image of soju
Factor Fanatic

Posts:
69
Location:
Japan
Status:
> DutchComputerKid

> Is it me, or is this getting horribly slow for some reason? And it downloads 4 emails after a minute or two, then Windows just goes "Application nPOPuk.exe has encountered a serious error and needs to close". Waiting longer just makes it crash. Maybe a memory leak?

That is most likely a regression caused by my modification for debugging. Sorry for that, and please try ARMv4_015
 Top of the page
torch Page Icon Posted 2023-01-01 9:23 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,708
Location:
United States 
Status:
Receiving emails works with ARMV4_015 perfectly. Very fast.
Sending I get error:
Initialisation of SSL failed error 0A0C0103:SSL routines:internal error
Edit: here's log
Show spoiler...

Connecting... 
220 REDACTED.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 1 Jan 2023 21:26:31 +0000 
EHLO outlook.com
250-REDACTED.outlook.office365.com Hello [REDACTED]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
STARTTLS
220 2.0.0 SMTP server ready
SSL connect...
SSL method requested TLS 1.0
Send error
Initialisation of SSL failed
error:0A0C0103:SSL routines::internal error


Edited by torch 2023-01-01 9:30 PM
 Top of the page
gjcoram Page Icon Posted 2023-01-01 11:52 PM
#
Avatar image of gjcoram
H/PC Philosopher

Posts:
328
Location:
United States
Status:
I think I'm going to try building OpenSSL 1.1.1 myself. soju, can you give me the configure line you used? (I used to use some options like -no_idea to disable some encryption schemes that were illegal to use in certain countries.)
 Top of the page
gjcoram Page Icon Posted 2023-01-01 11:59 PM
#
Avatar image of gjcoram
H/PC Philosopher

Posts:
328
Location:
United States
Status:
Quote
soju - 2023-01-01 12:03 AM
FYI 1: The path of CAFile can be specified in ini file as CAFile="(foo)\ca.pem", so you can put it anywhere you want.


I've tried a few things:
1) putting ca.pem in \ or \WINDOWS (using the default CAFile="ca.pem"
2) putting ca.pem in \WINDOWS and using CAFile="\WINDOWS\ca.pem"

and I still can't get verify to work. Do I need to download certificates from Microsoft instead of the link you provided earlier?
 Top of the page
torch Page Icon Posted 2023-01-02 12:00 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,708
Location:
United States 
Status:
Quote
gjcoram - 2023-01-01 4:59 PM

Quote
soju - 2023-01-01 12:03 AM
FYI 1: The path of CAFile can be specified in ini file as CAFile="(foo)\ca.pem", so you can put it anywhere you want.


I've tried a few things:
1) putting ca.pem in \ or \WINDOWS (using the default CAFile="ca.pem"
2) putting ca.pem in \WINDOWS and using CAFile="\WINDOWS\ca.pem"

and I still can't get verify to work. Do I need to download certificates from Microsoft instead of the link you provided earlier?


Are you trying this on your 820 or on the Sylvania netbook?
 Top of the page
gjcoram Page Icon Posted 2023-01-02 12:01 AM
#
Avatar image of gjcoram
H/PC Philosopher

Posts:
328
Location:
United States
Status:
Quote
torch - 2023-01-01 4:23 PM
Connecting... 
(snip) 
SSL connect...
SSL method requested TLS 1.0
Send error
Initialisation of SSL failed
error:0A0C0103:SSL routines::internal error


Maybe check the ssl setup for smtp for that account - do you have it set to use TLS 1.0? I know MS sent me an email saying they would no longer support TLS 1.0 and 1.1 (which started this whole thing).
 Top of the page
« Prev ... 6 7 8 9 10 11 12 13 14 15 16 17 Next »
Jump to forum:
Seconds to generate: 0.234 - Cached queries : 51 - Executed queries : 32