NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JohanR

Pages: 1 [2] 3 4 ... 23
16
Web Server - Ask For Help / Re: VarnishCheck? slightly NTWS related
« on: February 25, 2024, 10:30:52 PM »
Hi Bruce

No AWS, it's a dedicated server in a datacentre, self managed.
Not aware of any health checks installed, but will do scratch around

thanks

Johan


17
Web Server - Ask For Help / VarnishCheck? slightly NTWS related
« on: February 25, 2024, 12:40:11 AM »
Hi,

I have moved from an old windows server(2012R2) to windows server 2022

All good as far as I can see,
however now my NTWS is being hit with this request every second.

[insecure] GET /varnishcheck HTTP/1.1
Host: 197.189.218.234
Connection: close
User-Agent: Amazon-Route53-Health-Check-Service (ref b2bec952-b505-45e9-9f3d-74bbf25e43d7; report http://amzn.to/1vsZADi)
Accept: */*
Accept-Encoding: identity,gzip,deflate


Seems Varnish is some sort of caching program to speed up websites, still investigating.

Is this just par for the course, or something I can do?
Did not get this on my old server, so just trying to understand why the difference, is it the OS or my setup, or just the way it is?

thanks

Johan







18
Web Server - Ask For Help / Re: Net Talk - Scan a document
« on: February 12, 2024, 10:27:18 PM »

Hi Ron

Perhaps not exactly what you need, just some of the ways I'm managing our scanning of docs depending on what the document is
The user can then pick which method for which document.

1) Network printer and scanner - scans to a folder on the network, there is an idle procedure that collects the files there and saves them into the DB, files on the disk with a record pointer to the file. Someone will then later in the desktop app index and tag the pages in the pdf to the correct client records.
2) Upload form - user picks the pdf file from wherever (this is best quality as you can upload native PDF's)
3) Camera on a form that saves the image to PDF into the storage DB
4) In certain situations I also use CamScanner mobile app as a seperate scanning app, produces the best quality that I can find, this is great for bulk scanning , it produces multi page PDF's
which once uploaded can be split into single page PDF's and then indexed in the app by a user.

We use all 4, depending on the doc and where it comes from.

Johan

 



19
Hi,

Using the source generated by the example app and my app, something is triggering an extra IF in my app,
This line is not generated in the example

      If (p_web.Site.LoginRequired = false or p_web.GetSessionLoggedIn() = true)

points to this line in the template
      p_web.Trace('zaq==: 1=(%SecwinCtrlsDisplayProcedure)2=(%nLoginRqd)3=(%nLevelRqdUp)4=(%nLevelRqd)5=(%SecwinAccessCtrlsGroupN)6=(%TMPPutEndBecauseIf)')

      #insert(%HandleLoginCodeLevel2,%SecwinCtrlsDisplayProcedure,%nLoginRqd,0,%nLevelRqdUp,%nLevelRqd,%SecwinAccessCtrlsGroupN,'',''),%TMPPutEndBecauseIf

      p_web.Trace('zaq-2')


Below the differences, not sure, but seems that this could be the issue.
Trying to figure out what is causing it or how the security logic is different between the 2 apps

Will post if I find something

thanks for your help so far

Johan



example app
      p_web.Trace('zaq-1')
      p_web.Trace('AA-p_web.Site.LoginRequired:' & p_web.Site.LoginRequired)   
      p_web.Trace('zaq==: 1=(AliasBrowseControl)2=(0)3=()4=()5=()6=(0)')
      p_web.Trace('zaq-2')
            loc:ColumnResizeable = p_web.site.BrowseColumnsResizeable
            packet.append(p_web.CreateBrowseHeader(loc:vordernumber,'1','AliasBrowseControl',p_web.Translate('Name',(Net:HtmlOk*0)+(Net:UnsafeHtmlOk*0)),'Click here to sort by Name',,,p_web.Combine(),1, loc:columns+1 ,,,0,loc:Sorting,'String','nt-left',loc:LayoutMethod,' style=" width:'&clip('auto')&';" title="'&p_web.jsok('Click here to sort by Name')&'" data-colname="'&clip('ALI:Name')&'"',loc:CellStarted,0 + 1, loc:ColumnResizeable))

my app
      p_web.Trace('zaq-1')
      p_web.Trace('AA-p_web.Site.LoginRequired:' & p_web.Site.LoginRequired)   
      p_web.Trace('zaq==: 1=(test_client_list)2=(-1)3=()4=()5=()6=(0)')
      If (p_web.Site.LoginRequired = false or p_web.GetSessionLoggedIn() = true)
      p_web.Trace('zaq-2')
            loc:ColumnResizeable = p_web.site.BrowseColumnsResizeable
            packet.append(p_web.CreateBrowseHeader(loc:vordernumber,'1','test_client_list',p_web.Translate('client nr',(Net:HtmlOk*0)+(Net:UnsafeHtmlOk*0)),'Click here to sort by client nr',,,p_web.Combine(),1, loc:columns+1 ,,,0,loc:Sorting,'String',,loc:LayoutMethod,' title="'&p_web.jsok('Click here to sort by client nr')&'" data-colname="'&clip('cli:client_nr')&'"',loc:CellStarted,0 + 1, loc:ColumnResizeable))


the template code




20
Hi Alberto

Apologies, should have been one of the 1st things I mentioned
Yes, also 14.13

That case will scratch further to try and understand what's going on

regards

Johan

21
Hi Bruce

Was easier to attach a pic showing the settings.
My understanding is that the global can be set to "user must be logged in"

but to make a procedure public I can set those to "User must be logged in - NO"

If the global default on security tab is set to "user must be logged IN" and the local(procedure) setting is NO, then the browse loads, but no data is loaded.

Johan







Johan


22
Hi Bruce,

thanks, just found that if I switch off the global setting for user must be logged in then it generates,
even if local settings are set to not require log in,
still testing and investigating

perhaps there were some changes to this area?

thanks

Johan

23
Hi,

Having an issue with a NTWS browse procedure not generating anything on the page
The log from debugview is attached

My thinking is that something is generating something funky somewhere

Any ideas appreciated of how to track this down?

thanks

Johan


 

24


OOps :)


25
E-Mail - Ask For Help / Re: Gmail send issue after upgrading to Nettalk 14
« on: September 28, 2023, 07:10:30 AM »
Hi,

OK managed to send an email to Postmark using the NT demo.exe after I copied the INI setting file from my dev machine to the server.
As far as my problem sending Postmark mail it seems as if there are some settings I need to fix.

Will try same with gmail now.


Johan

26
Hi,

Thought this might be worth some feedback as it seems to be working quite nicely

Part of my NTWS is serving pure static pages, using the tags as per the manual
<!-- NetWebServer -->
<!-- Net:c:Head -->
<!-- Net:c:BodyEnd -->

On one of the pages I embedded a form, with only a button that call a popup form.
I something to manage and trigger the popup, and that's why I used 2 forms.
One to embed and call the popup form.

See attached pic.
What is quite nice is that the action and display of the popup form cover the static page and the effect is seamless.

Not something special, just a nice simple illustration of a mix of static and dynamic procedures

cheers,
Johan
 












27
E-Mail - Ask For Help / Re: Gmail send issue after upgrading to Nettalk 14
« on: September 28, 2023, 01:38:06 AM »
Hi Bruce

Just worried that my error and the gmail error originally reported could be separate issues

Have checked my settings and they are identical, on dec machine it works, in server it fails
Below my settings, will continue to check for differences in the environment.

My gmail problem did not even reach ErrorTrap, once I solve the PostMark problem will check the gmail issue again.

147   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.debug#########################
148   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SSL:1
149   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SecureEmailStartTLS:1
150   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SSLCertificateOptions.CertificateFile:
151   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SSLCertificateOptions.PrivateKeyFile:
152   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SSLCertificateOptions.CARootFile:c:\clariondataserver\certs\CA Roots\ca_roots.pem
153   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SSLMethod:-1
154   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SSLCertificateOptions.DontVerifyRemoteCertificateWithCARoot:0
155   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName:1
156   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.SecureEmailStartTLS:1
157   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.AuthUser:90c7d4c2-e811-******************
158   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.AuthPassword:90c7d4c2-e811-*************************
159   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.Server:smtp.postmarkapp.com
160   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.Port:25
161   11:19:33.120   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.debug#########################
162   11:19:33.464   5248   xtvcweb.exe   tvceml SMT:Progress : 0 : 1000
163   11:19:33.464   5248   xtvcweb.exe   [NetDLL] [5] RunTimeLoadProcedures_TLS
164   11:19:33.761   5248   xtvcweb.exe   tvceml SMT:Progress : 0 : 1000
165   11:19:34.042   5248   xtvcweb.exe   tvceml SMT:Progress : 0 : 1000
166   11:19:34.261   5248   xtvcweb.exe   tvceml SMT:Progress : 0 : 1000
167   11:19:34.323   5248   xtvcweb.exe   tvceml SMT:Progress : 0 : 1000
168   11:19:34.620   5248   xtvcweb.exe   [st][6] [netTalk][thread=6] NetSimple._CallErrorTrap - Error = -69 = The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect : The SSL Remote Certificate Failed Verification Function = NetSimple.TakeEvent Server = smtp.postmarkapp.com Port = 25
169   11:19:34.620   5248   xtvcweb.exe   [st][6] [netTalk][thread=6] NetSimple.ErrorTrap -69 The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect NetSimple.TakeEvent
170   11:19:34.620   5248   xtvcweb.exe   [st][6] [netTalk][thread=6] NetSimple.ErrorTrap - <no display> Error = -69 = The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect : The SSL Remote Certificate Failed Verification Function = NetSimple.TakeEvent Server = smtp.postmarkapp.com Port = 25
171   11:19:34.620   5248   xtvcweb.exe   [st][6] [netTalk][thread=6] NetEmailSend.ErrorTrap (Email (SMTP)) - This error was so bad we need to delete all records from DataQueue and abort the connection
172   11:19:34.620   5248   xtvcweb.exe   [TVCWEB] - Sendmail - errorStr:The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect
173   11:19:34.620   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.debug ERROR #########################
174   11:19:34.620   5248   xtvcweb.exe   [TVCWEB] - Sendmail - errorStrThe requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect
175   11:19:34.620   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.debug#########################
176   11:19:34.839   5248   xtvcweb.exe   tvceml SMT:Progress : 0 : 1000
177   11:19:35.173   5248   xtvcweb.exe   [st][5] [netTalk][thread=5] NetSimple._CallErrorTrap - Error = -69 = The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect : The SSL Remote Certificate Failed Verification Function = NetSimple.TakeEvent Server = smtp.postmarkapp.com Port = 25
178   11:19:35.173   5248   xtvcweb.exe   [st][5] [netTalk][thread=5] NetSimple.ErrorTrap -69 The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect NetSimple.TakeEvent
179   11:19:35.173   5248   xtvcweb.exe   [st][5] [netTalk][thread=5] NetSimple.ErrorTrap - <no display> Error = -69 = The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect : The SSL Remote Certificate Failed Verification Function = NetSimple.TakeEvent Server = smtp.postmarkapp.com Port = 25
180   11:19:35.173   5248   xtvcweb.exe   [st][5] [netTalk][thread=5] NetEmailSend.ErrorTrap (Email (SMTP)) - This error was so bad we need to delete all records from DataQueue and abort the connection
181   11:19:35.173   5248   xtvcweb.exe   [TVCWEB] - Sendmail - errorStr:The requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect
182   11:19:35.173   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.debug ERROR #########################
183   11:19:35.173   5248   xtvcweb.exe   [TVCWEB] - Sendmail - errorStrThe requested connection to smtp.postmarkapp.com could not be opened. The Open command timed out or failed to connect
184   11:19:35.173   5248   xtvcweb.exe   [TVCWEB] - Sendmail - tvcmail.debug#########################



28
E-Mail - Ask For Help / Re: Gmail send issue after upgrading to Nettalk 14
« on: September 27, 2023, 11:48:51 PM »
Hi Bruce

Yes, all good on my server. The fetch worked

Would this indicate that correct exe and libs are being used and that it could be a parameter issue?

eg.
                           tvcmail.SecureEmailStartTLS
                           tvcmail.SSLCertificateOptions.CertificateFile
                           tvcmail.SSLCertificateOptions.PrivateKeyFile
                           tvcmail.SSLCertificateOptions.CARootFile
                           tvcmail.SSLMethod
                           tvcmail.SSLCertificateOptions.DontVerifyRemoteCertificateWithCARoot
                           tvcmail.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName
                           tvcmail.SecureEmailStartTLS

thanks

Johan


29
E-Mail - Ask For Help / Re: Gmail send issue after upgrading to Nettalk 14
« on: September 27, 2023, 09:48:04 PM »
Hi Richard

I have the same issue, and switched to Postmark to send, I was using both services anyway.

However, on my dev machine (win10) it works but I have an SSL issue with postmark on my production server (server2012)
So am thinking it could be related to Gmail issue, will try to see if there is a way to check all the SSL file versions that are being used.


Johan


30
Hi,

Method I've implemented,

Embed a procedure on my static pages containing a single button, "Contact Us" 

this button calls a popup window with all relevant fields on it
a) Slider "to make sure human"
b) email address
c) email body
d) Send Button

Not even sure the slider is needed, as the popup window can only be called via the button?

regards

Johan





 

Pages: 1 [2] 3 4 ... 23