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 - bekeland

Pages: [1] 2 3
1
Web Server - Ask For Help / Web server hangs during no apparent activity
« on: January 25, 2012, 05:19:59 PM »
Using v 4.53, have a web server that has been running without issues for months.  About three weeks ago the client says it stops working several times a day and they have to reset the server because the web server is running as a service.  The server is a Godaddy virtual server. 

I've been monitoring it with logging and a utility that requests a small test page every 5 minutes and running the server as a desktop app on the VDS for testing.  It is hanging.  I check my logs and there is no apparent activity at the time it hangs.  When I run it on the desktop I see the app on the task bar, but the visible window has vanished and I have to kill it.  It happens regularly at night, but not at the same times.  The couple of packet sniffers I've tried to install won't work on the virtual server, they need a nic.

Couple of questions:  Is there a packet sniffer that will work on a VDS so I can see everything that is coming into the web server?  Or can I trap/log the data/request in NetTalk before it does anything with it?  The first place I'm trying to do stuff is in the WebHandler ProcessLink embed. 

At this point all I can think is that my web server is being queried by a web spider or probed by some bot.  Any advice would be appreciated.

Brian Ekeland

2
Web Server - Ask For Help / Re: Hand coded report to PDF?
« on: July 01, 2011, 11:57:22 AM »
I've worked a hack into a report procedure to do my report.  It works to make the report, produce a pdf, and serve it up in the browser.  However, the text in the pdf is all bold and should not be.  I worked up the report in a test app, used standard Clarion preview stuff and it looked fine there.  I copied all that code and the report structure into the web app and the generated pdf has all bold text.  Any idea on how to fix that? 

Also any idea on how to check the number of records in the previewqueue?  I've tried variations of records(Previewer.ImageQueue) and records(ThisReport.PreviewQueue), but none of it compiles.  How would I get that in a report procedure?

Thanks for the help.  Brian E.

3
Web Server - Ask For Help / Re: Hand coded report to PDF?
« on: June 30, 2011, 09:49:48 AM »
I'm stuck on b, converting the hand code report to PDF.  I've looked at a generated report that can be saved to PDF.  The only code I can see puts in PDFReporter CLASS(PDFReportGenerator) and a Setup proc.  I can put that in and call it, but the code that sends the report to the pdf generator is buried in the print preview code, which I can't find to see how it does that.  It seems like I should be able to call the PDFReporter.Setup(), which I can, then there should be something to call and pass the previewq that contains the report pages that gen's the pdf.  That's what I can't nail down.  Any ideas on this or what PDFReporter.SOMETHING(previewq) to call?  I'll continue trying some of the stuff I do see, but what I've tried so far is getting nowhere.  Thanks much!

Brian

4
Web Server - Ask For Help / Hand coded report to PDF?
« on: June 14, 2011, 09:38:39 AM »
I have a need for a hand coded report that I want to go to a PDF, then serve and allow the user to view/download/save the PDF.  I can make the Clarion report procedure and the steps with NetWebReportABC work as a test.  But the report is not suited to the report procedure as I have a lot of extra pages of text and images, and many formats of detail lines that are conditionally used.  I also need a footer from page 2 on that shows Page XX of XX, and I don't want the user to be able to edit the PDF.

Can this be done?  Is there another tool that I can use that will convert a hand code Clarion report to a non editable PDF that I can then use standard NetTalk stuff to serve back? 

This is currently an end user app that generates an RTF file that gets loaded into a VB TX Text Control app.  It handled all the images, page footers and some protected fields.  I've tried a few rtf to pdf converters, but none of them have worked well, and I'll need the images embedded now.  They are just links in the RTF.  Now we are trying to make this a web based app and I still need to produce the same complicated report, but in PDF.  I can do everything with a hand code report easily enough, except for the Page XX of XX, and then making the PDF from it. 

Any ideas, or if you can point me to some tools that can do this, would be greatly appreciated.

Brian Ekeland

5
Bruce,

Thank you so much.  I was able to do that and it works much better than what I was doing.  You don't get paid enough!

Brian

6
Using NT 4.53.  I want to serve a file on a NetWebForm from a variable.  I think it should look like this:

<pre>
<!-- Net:f:<!-- Net:s:FileLink2 --> -->
</pre>

NetTalk gives me a file not found, then the text of the session variable, and the rest of the page.  So it knows I want a file, but doesn't use the session variable as the file name.  Is there some way I can do this?  It looks like the Net:f: has to be a fixed file name?  Is there some other way this can be done with a simple statement similar to the above?

Right now I get by with calling a proc and reading the file in line by line and using SendPacket.  It works, but thought there should be something better.  Thanks!

Brian Ekeland

7
Web Server - Ask For Help / Re: POST problems
« on: January 21, 2011, 04:17:02 AM »
Flint,

I think I will have to give the sniffer a try.  That will be a lot of data to wade through but that's a good idea to find out if it is even making it to my server for NetTalk to process.  I've used Ethereal in the past but will give this other one a try.  Thanks for the links, very helpful!

Brian

8
Web Server - Ask For Help / Re: POST problems
« on: January 20, 2011, 06:01:19 AM »
Kevin,

That won't work in these situations because on the PayPal side the POST is charging a customer.  I don't get the response to tell me successful or not, which it usually is successful, I just don't get the data telling me so.  There I have to request a transaction history to find out if it worked when I don't get the response.

On the UPS side, the POST marks the data I need as "read", so doing another POST returns "no unread files" message.  Here I have to manually log into UPS, see what files are out there and compare to the list I'm keeping of what I've received and either download them there, or I can request them by file name, once I know what the file name is. 

So these outside servers are getting the POST request and PayPal especially is adamant that they are sending the response.  So that's why I'm thinking there has to be something with the NetTalk side that is failing when it should be receiving this data.

Brian

9
Web Server - Ask For Help / POST problems
« on: January 19, 2011, 11:15:28 AM »
Using NT 4.53.  I've had an ongoing problem that I would like to get fixed.  I am POSTing to two separate websites (PayPal and UPS) and most of the time everything works.  I POST, I get the return data, life is good.  But occasionally I POST but I don't seem to get anything back.  All of these POST's have something to return and the servers I'm posting to get the request and swear to me they are sending the response.  I log my request and as soon as I get a response I log it.  But there are times, especially with UPS, my log shows the request but no response.  When I log into UPS, the data I should have gotten shows 'read', like they sent it, but I didn't get it.  This has just been a nagging problem that I've tried to work around, but would really like this to work consistently.  Any ideas as to what may be going on or something I should do differently?  Thanks.

Brian Ekeland

10
Web Server - Ask For Help / Re: Web server as service issue
« on: October 27, 2010, 07:14:33 AM »
Chris,

Sorry for such a delay in answering.  I'm not on NetTalkCentral as often as I should be.

My issue was that I had changed a file description and had not rebuilt the file so I was getting a file error in the service and it was just hanging.

As suggested, run the web server app as a desktop app for a day or two.  You might try turning the debug options on and use Full.  If you can get a Watson or debug dump it usually can get you pretty close to the problem.

Brian

11
Web Server - Ask For Help / Re: Web server as service issue
« on: October 04, 2010, 09:16:36 AM »
Thanks for the ideas.  I did get it worked out as it turned out to be an application issue unrelated to the service or nettalk tools.

12
Web Server - Ask For Help / Web server as service issue
« on: September 21, 2010, 08:06:29 AM »
Currently running NetTalk v4.53, SelfService v2.05, and WinEvent v3.32.  When I was using NT v4.3 and the other tools the web server ran as a service fine, no issues.  Now that I am running NT v4.53, it does not seem stable.  Twice in the past two days the server has "stopped" and going into the Admin tools | Services, it is NOT running.  It is set for Auto in properties.  Any ideas of why the server is now stopping and has to be manually restarted when it used to work fine?  Thanks.

Brian E.

13
I upgraded my NetTalk from 4.30 to 4.53.  Now I have 3 problems.

Problem 1: 

With an image/link on a NetWebForm.  One of my fields was an image that pulled it's graphic from an external web site.  It worked before but not now.  The generated source from the web page is different:

Before, with 4.30:

<div id="securecheckoutbuttons_loc__img1_value_div" class="adiv">
<a href="ppGetPhone" target="_self" title="" ><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" width="" height="" alt="" border="0" align="absmiddle"  ></img></a>&#160;<a href="ppGetPhone" target="_self"  ></a>
</div>

After, with 4.53:

<div id="securecheckoutbuttons_loc__img1_value_div" class="adiv"><a  href="ppGetPhone" target="_self"  ><img src="https%3A//www.paypal.com/en%5FUS/i/btn/btn%5FxpressCheckout.gif" width="" height="" alt="" border="0" align="absmiddle"   ></img></a>&#160;<a  href="ppGetPhone" target="_self"  ></a>
</div>

The image does not display and there is nothing to click.  The new code is using codes in place of the colon and underscore in the URL for the graphic.  What is the problem with this and how do I get it fixed?  Thanks.

Problem  2:

I'm also having a problem with the Firefox browser opening the main frame when it hits the site.  I get my header and menu on the left, but the right side frame gives this message:

Firefox can't establish a connection to the server at www.missouriauctionsupply.com:0.

Though the site seems valid, the browser was unable to establish a connection.

    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites?  Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.

I can use the menu on the left after getting the message, I can log in, and when I log out, the browser displays what should be there to begin with.  But it's not coming up when I first try to open the site.  Internet Explorer seems to initially load the first Frame fine, but if I refresh, IE just shows a blank window.  Viewing the source shows the frame stuff but nothing gets displayed on a refresh.  What can I do to have this work like it used to?

Problem 3:

Every once in awhile I get the following from Firefox:

An error occurred during a connection to www.missouriauctionsupply.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

The page you are trying to view can not be shown because the authenticity of the received data could not be verified.

    * Please contact the web site owners to inform them of this problem.       
       
I got this in the older version too.  I was hoping the upgrade would fix this, but it has not.  Any ideas on what this is and how it can be avoided?  This just happens from time to time doing the same stuff over and over.  Most of the time all the steps work properly, other times I'll get this message.

Brian Ekeland

14
I did start trapping any errors.  Here is the error, or as much of it as I'm displaying in my error list box:

Error in this Message. The remote Email (SMTP) sent error = 0 Idle Timeout - Warning...

I've gone a couple days with no errors, then I'll have a day with this error 10 times.  What is the best way to get around this?  Just try again?  Anything I can do to prevent it?  Or just have to trap and work with it?  Thanks again for the help.

Brian

15
Web Server - Ask For Help / Issue with email not always getting sent
« on: June 18, 2010, 08:10:23 AM »
Using NetTalk 4.30, I have an issue on my web server where e-mail is not consistently getting sent.  The app is a web store, they are all secure pages.  In the last step I have a NetWebForm where I have embeds in Generate Form | 1 Start, and Generate Form | 9 After </script>.  The first embed has a call to a local routine Do CreateNewOrder, where quite a bit of stuff is going on with writing the order to my files updating daily summaries and so on.  The second embed is the call to my e-mail window: OrderConfEMail(loc:emailto, loc:emailtext, loc:emailhtml,0,0).  Most of the time this all works fine.

However, there are times where I am not getting the confirmation e-mail, but I do have the order written.  The way it is coded is that if there is an order written out, the e-mail code will execute.  I should always get an e-mail on an order.  I originally had the call to the e-mail in the same embed, the 1 Start, but it worked even less regularly then, so I moved it to the end of the Generate Form embeds and it has worked better.  But I need it to work all the time.

First, why does this not always work?  What else can I do to ensure the e-mail will always be sent?  I am going to add code to the ErrorTrap of the email window and see if there is something getting posted there, but wondered if anyone had anything like this and what you did about it.  It seems like there is some sort of timing issue that I can't nail down.  Thanks.

Brian Ekeland

Pages: [1] 2 3