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

Pages: 1 ... 18 19 [20] 21 22 ... 26
286
Browsers are hard-coded to try to talk to port 80 for HTTP and port 443 for HTTPS.  If you need to talk to a port other than that, you need to tell the browser what the protocol is (HTTPS) and what port the server is listening on.

I think your options are pretty much
1.  Do what you're presently doing (specify the port number for the second website).
2.  Do whatever Amazon requires to get a second IP address.  Use that for the second site and then it will be able to respond to a plain HTTPS on the default port 443.
3.  Go the multi-site route, where the host app listens on port 443 and passes the traffic along to whichever DLL has been requested.

Happy New Year!

Jane

287
Web Server - Ask For Help / Re: Example 72 with a Text file
« on: December 15, 2019, 01:59:17 PM »
I haven't done it, Richard.  But I'd think you could combine the two.

Create the report or file as in example 72.

But in the Value::FileProgress routine, instead of creating a URL as that example does, do something like example 40 (p_web.HeaderDetails.ContentDisposition = 'attachment; filename="   ... etc.)

I think the "attachment" in the header is what's telling the browser not to try to open the file directly, and is apparently the behavior you're looking for.

JAT....

Jane

288
Web Server - Ask For Help / Re: Example 72 with a Text file
« on: December 14, 2019, 09:13:48 PM »
Sure, right-click works.

But example 40 works with a regular click (in case you have trouble training your users).

289
Web Server - Ask For Help / Re: Example 72 with a Text file
« on: December 14, 2019, 09:34:12 AM »
Try example 40 (FileDownload) instead.

290
First question - has this box ever worked for a secure NT server?
Can you successfully run the current (ships with NT) version of openssl.exe on the box?

If not, you may have the famous "Visual Studio runtime 2017 not installed" trick happening:  https://www.capesoft.com/docs/NetTalk11/NetTalk.htm#DeployingAtlsClientOrServer

The internal cert we use where I contract is several years old and I'd guess the IT guy wouldn't remember details of getting it.

For my own internal test NT servers using a commercial cert, I've used openssl to generate the key and certificate request and pasted the CSR into the CA vendor's website.  If that were not an option, I'd probably select Apache on their website.

Be sure that the private key file in the NT certificates folder is not password-protected.

Jane




291
At a guess, you need a newer version of String Theory.

Line 79 of StringTheory.inc  3.11 (which is the version I have at the moment) has

st:NoPadding        equate(2)

So it looks as if Bruce has made some change to Base64Encode since the version that you're using.

Jane

292
Wolfgang,

Yes, the settings stuff has changed quite a bit since NT9.

You might watch NT webinar 185, starting at 12 minutes in, where Bruce shows how to delete the old control template and put in the new version.

In general, I find that control templates seem very sensitive toward their parents.
So I make sure their parents are solid.

For example, if I want to put a toolbar on a window, and then a Close control template on the toolbar... I'll first put the toolbar on the window.  Then exit and save the window.  Then go back and put the Close button on it. 

Jane

293
Web Server - Ask For Help / Re: Two big problems in NT 11 - at least for me
« on: November 09, 2019, 05:42:03 PM »
I have a similar situation to what Bill describes.  But in my case, it's not a real "server"... just a redirector on our internal WAN that takes simple URLS such as http://reports and does a 302 redirect (based on a data lookup) to something like https://myhost32.mynetwork.local:3211/reports

I've cloned that into two identical services, one listening on port 80 and the other on 443 (with a wildcard certificate for our local domain).


294
FWIW, Wolfgang, I think the easiest way to be sure you have the right DLLs and VS runtime is just to run openssl.exe and see if you get an error message.

The compile process should copy the current version of openssl.exe into your app folder.

Jane

295
Web Server - Ask For Help / Re: NT 11.24 themes need work.
« on: November 03, 2019, 11:27:07 AM »
Jeff,

I'd suggest you look at NT user group webinar 218 from Dec 27, 2018. 

In the first 25 minutes, Bruce discusses the NT 11 change to jquery 1.12 and how that affects the old NT themes and gives an overview of how to use the themeroller tool to customize the css.

Jane

296
Web Server - Ask For Help / Re: Milti-site host documentation?
« on: October 28, 2019, 08:55:30 PM »
I'm sure slightly outdated, but the NT 11 docs still have a link to this PDF:

https://www.capesoft.com/docs/NetTalk11/Compiling%20your%20own%20Multi.pdf

297
Web Server - Ask For Help / Re: NetWebClien proxy
« on: October 28, 2019, 08:48:42 PM »
I need to amend my post, Alberto.

I have a copy of my test app in a folder (that was one of the pieces I used in the webinar on July 5). 
I don't know which version of NetTalk it is using... its clanet.dll date is 5/23/2019.  If I send a request to an API server, have "enable proxy" specified, and have Fiddler running, the app hangs.

When I recompile the same app with NetTalk 11.19, it DOES work with a proxy (Fiddler, in my case). 

It's not the DLL - I copied the May 23 DLL into the newly compiled folder and it still works with Fiddler. 

This may be completely unrelated to the issues you're having.  And I don't have anything more recent than 11.19 to test.

Cheers,

Jane




298
Web Server - Ask For Help / Re: NetWebClien proxy
« on: October 23, 2019, 06:42:30 AM »
Interesting, Alberto.

This may not be related.  Or may be.

I did a webinar on clarionlive a couple of months ago demonstrating how I had developed a combination API client/API server for a project.
And showed that I used Fiddler in that development process (to compare the packets I was creating with those created by some sample c# code I had received from the external API service with which I needed to connect.)

BUT...  in order to do that part of the demonstration, I needed to revert to NT 10.x. 

Using the main NetTalk demo app compiled with NT11.x (not sure which version... maybe 11.11??) the conversation from the web client did not pass through Fiddler, even with CanUseProxy set. 

I mentioned that in the webinar, but I think Bruce had already left by that point.  And I neglected to send him an email afterwards to ask about the discrepancy I observed between NT 10 and 11.

Jane

299
Web Server - Ask For Help / Re: header-back.png??
« on: September 25, 2019, 04:21:41 PM »
Here's the one Bruce is using on the CIDC mobile app. 

300
Web Server - Ask For Help / Re: programatically restart the service
« on: September 25, 2019, 06:39:17 AM »
Richard,

Be aware that your user will need to be running whatever has that button "asAdministrator" in order to start the service.

If you're using SetupBuilder for your upgrade installer, that includes functionality to start and stop services.

If you're coding your own (whether launching a batch file to do "NET START MyService" or using OddJob to do the same thing), your app will need to have an asAdministrator manifest (and preferably be code-signed so as not to flash an "unknown publisher" warning).

But if you've managed to code the stopping of the service, it sounds as if you've got that stuff sorted out.

Cheers,

Jane

Pages: 1 ... 18 19 [20] 21 22 ... 26