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.


Topics - urayoan

Pages: [1] 2
1
E-Mail - Ask For Help / ErrorTrap
« on: August 24, 2022, 09:28:09 AM »
Hello

In the ThisSendEmail object there's a section called ErrorTrap(errorStr,functionName). It is possible to trap just the error number based on the exception or what cause the specific error?

The reason I ask is, because is not the same to have a wrong written email vs a connection timeout. based on the error number I can make a choice to delete that email from the sending queue or just keep it to try to send it again when the connection is available again.

Thanks


2
Web Server - Ask For Help / Is this good or bad or won't matter?
« on: December 17, 2021, 07:21:28 AM »
Hello:
  I'm monitoring a web server with NetTalk 12 (don't remember the exact revision, pretty sure no the last one, but no more than 2 months old) and I'm seeing in the Log Window this message randomly 

ERROR: -30 Unable to Close connection An error occurred while trying to access a (truncated)

Question is, why does this happen? Any way to trace back or identify it's origin is it is something that is affecting stability in the server?

Suggestions are appreciated

3
Web Server - Ask For Help / Refresh Browse After Report Generation
« on: May 03, 2021, 10:33:52 AM »
Hi:
There is a way to refresh a browse after a report is generated?

I'm calling the report with a button in another procedure (NetWebPage)

I set the option refresh the whole browse after server code runs in the browsw, but nothing happens.

Something I am missing?

Thanks @ Urayoan

4
Web Server - Ask For Help / Server Error 500
« on: April 23, 2021, 12:12:58 PM »
Hello
  I am having a Web Server error 500 in a NetTalk Server after it is running for a while. Seeing the web server embed i found this (code below) with the message Server Busy, try again shortly.

  Does NetTalk server it is supposed to recover from that error? As far as i know, I need to restart the webserver to start serving pages again.

    loc:RequestData :=: p_RequestData
    If (self.performance.NumberOfThreads >= self.MaxThreads and self.MaxThreads > 0) or loc:shuttingDown
        if loc:RequestData.RequestMethodType <> NetWebServer_DELETESESSION and PoolWaiting = 0
          if not self.WebSocketServer &= null and self.WebSocketServer.IsWebSocket(self.packet.SockID)
            ! do not send invalid reply, it's a malformed packet in the wss protocol.
          else
            self.SendError(500,'Server Busy','Server Busy, try again shortly')
          end
          self._PerfEndThread(0,0,500)  ! Errors are counted, but otherwise not included in stats
          do UpdateStats
          dispose(p_RequestData.DataString)
        end
      return
    End

5
Web Server - Ask For Help / Multi Factor Authentication
« on: February 18, 2021, 08:57:03 AM »
Hello everyone. Any ideas or maybe APIs to implement two factor authentication in NetTalk web applications?

Sadly, this needs to be an alternative to SECWIN


Thanks in advance

6
Web Server - Ask For Help / Bug or undocumented change?
« on: February 15, 2021, 05:02:40 AM »
Hello Bruce:
  Recently we updated out NetTalk version to the 12.07 version. I noticed something (specifically with my older code) with buttons.

  I have a display control as a button, after the update to NetTalk 12.07, that button does not display anything. Doing some experiments and i found out that the display, to work as a button needs an image (previously that wasn't necessary). If that button does not have an image, just simple fill with the text and color (primary i think) and worked fine.

  The other thing I noticed is, if I set a button as submit, the button never renders in the browser. Change it to button type make it appear. In my case, I just work around and set it as a button where I used a display, and change it to a button type.

  Because and example say more that thousand words, I attached and example.

Thanks
@ Urayoan

PD. I forgot to include the Display as button, it has the button option, but is not clickcable. Something I am missing?

7
Web Server - Ask For Help / How to Toggle Password Visibility
« on: September 18, 2020, 09:12:56 AM »
Hi:
  Any iedas how to implement this?


8
Web Server - Ask For Help / Procedure Called Multiple Times
« on: September 08, 2020, 12:30:07 PM »
Hello:
  I am trying to grab a value that comes from a JavaScript in the embed point of the WebHandler called SessionValueSetFromBrowser. At the momment, so far so good, i grab the value when is set in the script. The problem i am having is, every time i access a page (NetTalk Procedure), that part is called multiple times. There is a way to make sure that, this embed is called just one time when the procedure is called or better yet, let the server know that i already have what i want after a specifi stage?
 
  I am trying to set a variable (check example below) and if the value is 0, to not execute that part of the code, but alas, it passes anyways.

Any suggestions?

Thanks in advance

IF p_web.GSV('yadayada') = 0  <-- this is set from another procedure
  some code (this parte is supposed to pass just when the value is 0)
END!

9
Web Server - Ask For Help / Browse View Without a Table
« on: August 27, 2020, 04:47:36 AM »
Hi all. It is possible to create a Browse View without a table ans select a record from that table?

If yes, some ideas would be helpful.

Thanks @UrayoƔn

10
Web Server - Ask For Help / Errors and suggestions
« on: June 08, 2020, 09:13:40 AM »
Hi:
  Since a long time, i am having an error with NetTalk and honestly, i don't know what else to look at. Usually, it pops in the web server one after another, and sometimes it happens every few days, wich makes it more difficult to catch and reproduce.

  The server when the error happens is under heavy load from clients, but in previous versions of NetTalk this does not happen so often. I think i am missing something, but honestly, don't know where else to look at, so as the title said, any suggestions are welcome. Sorry for the low res screen capture, but this is what i got from the client.




11
Web Server - Ask For Help / x-www-form-urlencoded and queues
« on: April 22, 2019, 11:43:25 AM »
Hi Bruce:
  Got a question related to API services using queues. Today, a client try to consume a call that have a queue list for some procedures, and by error he was sending the request as x-www-form-urlencoded. The queue has the validation check mark always required, but when i check the logs, the queue is not parsed (check the constructed call bellow). I did try to make the same call using Postman, and it fails. Any suggestions?  The rest of the packet was inserted in the DB.

The client after all, change his request to app/json and all works fine, but what trouble me is, if the api can not receive nothing in the queue, it is supposed to send back an error, and wasn't happening. He was using TypeScript to make the calls.

Thank you in advance
@ Urayoan

AccountNumber:1470431
PatientNumber:0
QuoteDate:22/04/2019
QuoteTime:03:45PM
RefDoctorNumber:106
Procedures[0][LineNumber]:1
Procedures[0][ProcNumber]:3747
Procedures[0][QtyProcedures]:1
Procedures[0][InvoiceCodeINT]:0
Procedures[1][LineNumber]:2
Procedures[1][ProcNumber]:5550
Procedures[1][QtyProcedures]:1
Procedures[1][InvoiceCodeINT]:0
token:My_Very_long_Token

12
Web Server - Ask For Help / PDF Tools Report
« on: April 10, 2019, 06:53:42 AM »
Hi:
  Bruce, i did notice when trying to print from example PDFReportRequiresPDFTools (14), procedure MailboxesBrowseControl (button inside Browse) that i did not receive a report at all (is happening in my solutions as well). The button after the "generated report" still pressed too and need to refresh.

Can you kindly check if i need to change something or if is a feature? :-D

Thanks @ Urayoan

13
Web Server - Ask For Help / Task Panel Menu
« on: March 28, 2019, 12:27:18 PM »
Hi:
  I have an app using the Task Panel menu and when the screen size change, the hamburger menu does not appear. As far as i know, the Double Drop menu shows fine when the screen size is small like a mobile phone etc.

Question is, there is a quick fix for the Task Panel menu?

or there is a way to detect screen size  i know you Bruce i know it exist, but i don't know yet :-P), and change from Task Panel to Double Drop depending the screen size?

Any help would be appreciated.

The thing is, the client has documentation using the task panel menu and they don't want to change the documentation.

14
Web Server - Ask For Help / Slow server
« on: February 12, 2019, 10:14:51 AM »
Hello All:
  Since the last update of NetTalk, for some reason the web server is slow serving files and doing some functions that in previous versions we fast. In the log i the something Slow Request [a number] (see attached message for more detail).

What i am missing here? NetTalk Version 11.05 and String Theory version 3.05

Thanks in advance @ Urayoan

15
Web Server - Ask For Help / All documentation
« on: November 26, 2018, 11:17:18 AM »
Hi all. Today is the day... update to NetTalk v11.04 and as far as i know, almost went fine, but i saw anew function called All Documentation. When i try to enter i get the following message (see attached image).

I went to the migration docs and i don't know if i am missing something. In the shipping examples this does not happen.

Any ideas?

Thanks in advance!

Urayo?n


Pages: [1] 2