Ewon TechForum
Providing technical solutions to technical requests


BASIC SCRIPT program.bas from one eWON to others
Nikolai Offline
Junior Member
#16
Hi Simon, I got admin account but script doesn't work on Flexy, always returns
"403"
"date: Wed, 18 Dec 2019 08:36:40 GMT
content-length: 300
connection: close
server: Apache
content-type: text/html; charset=iso-8859-1
"
"Apache"
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /t2mapi/POST/xxxxxx/rcgi.bin/ExeScriptForm&amp;Command1=&amp;Command2=&amp;Command3=&amp;Command4=
on this server.</p>
</body></html>
"
..when sent through the browser-it works: 4 commands of 4 executed
but idea is to enforce script on flexy..
Could be the reason in a negative balance?
Reply

simon Offline
eWON Support
#17
Hi,

No the credit balance has nothing to do with that.
In the error message, the URL "/t2mapi/POST/xxxxxx/rcgi.b.." is missing the Ewon name... Have you doubled checked if the URL is correct ? Have you tried to PRINT it before the RequestHTTPX call ?

Simon
Reply

Nikolai Offline
Junior Member
#18
Hi, Simon. Finally I decided to use Talk2M-SDK, slightly changing the basic example.
It works fine: requests every 10s server and if eWON online sends commands.
Now there is another problem: eWON still sends reports via ftp, but there is no record in the ecatcher logs that it was online.
Apparently the vpn connection is not established, although the script is the same.
Thats why I can't intercept it.
Are there any SMS commands besides Talk2MConnect?
Reply

simon Offline
eWON Support
#19
(20-12-2019, 02:12 PM)Nikolai Wrote: Hi, Simon. Finally I decided to use Talk2M-SDK, slightly changing the basic example.
It works fine: requests every 10s server and if eWON online sends commands.
Now there is another problem: eWON still sends reports via ftp, but there is no record in the ecatcher logs that it was online.
Apparently the vpn connection is not established, although the script is the same.
Thats why I can't intercept it.
Are there any SMS commands besides Talk2MConnect?

Hi Nikolai,

To be honest, it is not 100% clear to me :-|
I am missing details to understand the problem globally.  Can you give more details (like the topology of the app, WAN type - 4G/WAN,...) and share your backup file (via wetransfer or something else) via private message ?

Simon
Reply

Nikolai Offline
Junior Member
#20
(20-12-2019, 05:50 PM)simon Wrote:
(20-12-2019, 02:12 PM)Nikolai Wrote: Hi, Simon. Finally I decided to use Talk2M-SDK, slightly changing the basic example.
It works fine: requests every 10s server and if eWON online sends commands.
Now there is another problem: eWON still sends reports via ftp, but there is no record in the ecatcher logs that it was online.
Apparently the vpn connection is not established, although the script is the same.
Thats why I can't intercept it.
Are there any SMS commands besides Talk2MConnect?

Hi Nikolai,

To be honest, it is not 100% clear to me :-|
I am missing details to understand the problem globally.  Can you give more details (like the topology of the app, WAN type - 4G/WAN,...) and share your backup file (via wetransfer or something else) via private message ?

Simon
Hi Simon, 
I've caught one eWON when it was sending a report on the FTP, for this I had to just send commands every 10 seconds without checking online/offline because 2eu-server receives data with a delay relative to eCatcher about 1 minute. Talk2M-SDK is a very useful tool.
Thanks a lot!

Nikolai.
Reply

simon Offline
eWON Support
#21
Good job !! :-)
Reply



Possibly Related Threads…
23-03-2020, 04:24 PM
Last Post: simon
09-03-2020, 02:29 PM
Last Post: simon
09-03-2020, 01:48 PM
Last Post: simon
  Creating Totaliser Within eWON Started by Josh
3 Replies - 1.000 Views
14-02-2020, 06:06 PM
Last Post: simon
24-01-2020, 09:45 PM
Last Post: tedsch
  eWON and ThingWorx Started by simon
13 Replies - 6.234 Views
17-01-2020, 05:55 PM
Last Post: ltitel
27-11-2019, 10:30 PM
Last Post: simon
30-10-2019, 10:02 PM
Last Post: Nikolai
22-10-2019, 10:42 AM
Last Post: simon
03-09-2019, 02:08 PM
Last Post: simon



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy