Giter Club home page Giter Club logo

qv-webticket's People

Contributors

braathen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

qv-webticket's Issues

Web server and app server communicate on SSL via Qlik certificates default install SSO fail

When I set up web server and app server on different servers communicate via certificate SSL. Default code provided will fail on ASPX:

HttpWebRequest client = (HttpWebRequest)WebRequest.Create(new Uri(QlikViewServerURL));
client.PreAuthenticate = true;
client.Method = "POST";
client.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
client.Credentials = new NetworkCredential(ticketinguser,ticketingpassword);
using (StreamWriter sw = new StreamWriter(client.GetRequestStream()))
sw.WriteLine(webTicketXml);
StreamReader sr = new StreamReader(client.GetResponse().GetResponseStream());
string result = sr.ReadToEnd();
XDocument doc = XDocument.Parse(result);
return doc.Root.Element("retval").Value;
}

Return error on line - return doc.Root.Element("retval").Value;
Error message:
[NullReferenceException: Object reference not set to an instance of an object.]

Do I need to change compression method here?

SSL issue

Have you experienced issue with SSL?
The accesspoint is https://qlik.domain.com

When SSL is on, error out with message:
Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Any idea what might be the issue? Thanks!

I did try to enable trusted host etc...

User gets prompted for login

Thanks for fixing SSL issue, now we are not getting certificate error anymore. But we are getting prompted for login. This works fine when testing internally, but not when this deployed to internet.

Here is our setup:

  1. User go thru internet via https://qlik.domain.com (this is an alias redirect, there is a different URL which is very long);
  2. Two servers (web server: qlikwebsvr1 & app server: qlikappsvr1);

So in code, two URL that I have been changing back and forth, but still get nowhere -
I have used:

public static string QlikViewServerURL = @"https://qlikwebsvr1/QVAJAXZFC/getwebticket.aspx?";

in ticket configuration URL for return URL -

AccessPointUri = new Uri ("https://qlik.domain.com/qlikview"),

In our situation, what should be the right URL address?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.