ewon flexy 203- httpc-http connect error 32601
Hello,
I try to write some basic code to upload files on a selfhosted nextcloud instance via requesthttpx.
so far the code for the request throws no error.
But in the event log of the ewon flexy 203 i see this error, with every call for the upload function:
Event Description Originator
32601 httpc-http connect error unact
I found some hints that this might be caused by a certification issue or the WAN protection settings.
I tried then the "PING" example with 8.8.8.8.
But this code throws the same error.
And I think the "PING" should not depend on a certificat?
Is there a more easy and reliable way to test, if the ewon can access any server on the internet?
How can I find out the root cause?
Is there a more detailed logging available?
If a certificate is necessary: where can I find a simple tutorial?
I am a total noob on this topic. Do I need any framework on my computer or can I create everything on the eWon itself?
Kind regards
Houns
-
Hi Houns!
You can generally Test if the Flexy reaches the Internet by running the Internet or Talk2m Wizard.
For testing specific Servers the 'Ping' function you already found ( that is not a Ping but opening a TCP or UDP socet I belive) is still the best option.
For an https Request the Certificate of your server is downloaded and checked by the Flexy against the publycly trusted Certificate Authorities.
If you do not have such a Certificate (they typicaly cost money)
external not hms affiliated Link: https://letsencrypt.org/
They are one of the few (or maybe only) guys who do that for free.
But if you want to use a self signed certificate on your Server you can use this:
How to Add a Custom Certificate to the Ewon to GET / PUT HTTPS Request – HMS Support Portal
As for debugging:
If you start an action like an http request or something else it's actually a 'Scheduled Action' so you can go to Diagnostics > Logs > Scheduled Actions to review the different Actions you proposed.
https://help.ewon.biz/devices/default/FLEXY20500_00/en/14.5/schedulertbl.html
or you should be able to see something in the Realtime Logs. but unfortunatley it's not really more than in the Sheduled Actions...
We do have Parameters you can access
via FTP or in the Browser of the Flexy:
Setup > System > Storage > Tabular edition > Edit COM cfg
Setup > System > Storage > Tabular edition > Edit SYSTEM cfg
The Parameters are explained in these Documents:
SSH-0052-00 - Ewon SYS Parameters (config.txt)1.4 pdf 370 KB SSH-0050-00 - Ewon COM parameters (comcfg.txt)1.9 pdf 327 KB In the 'System' you can find the Parameter:
HTTPC_DEB and set it to 1. That might bring more debuging information for http/https connections but not always unfortunately.
Did that help you?
Feedback is welcome also if you could share a part of your script that might be helpful aswell! Also for user users finding the tread later.
br
Franziska
0
Please sign in to leave a comment.
Comments
1 comment