Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: AuthRequest not creating/returning session on most calls ???

  1. #11
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    698
    Rep Power
    6

    Default

    Progress! Excellent! Some code tweaking to do now - but I am getting a session established on the NoOpRequest.

    Thanks a million for your help.

  2. #12
    zandroid is offline Junior Member
    Join Date
    Feb 2013
    Posts
    9
    Rep Power
    2

    Red face You can also use zmauthtoken

    Quote Originally Posted by jflanigan View Post
    Yes, it works for both cases. Basically, the mail server will take auth token from cookie or SOAP header; only one is required however if both are specified they must match. The nginx proxy will take it only from cookie since it never inspects the body of the HTTP request.
    We ran into this recently when working on the ZDrive/ZTasks apps with a proxied network edition multiserver running 8.0.5. Nginx was reading the auth token from the cookie, but for some reason, logged this error when extracting the route:

    zmauth: auth-token(#2):EXTRACTED_AUTH_TOKEN" is invalid hex, client: 10.0.0.1, server: mail.example.com.default, request: "POST /service/soap/NoOpRequest HTTP/1.1", host: "mail.example.com"

    The solution was to include the auth token as part of the query string instead, so the request becomes:
    http(s)://your.server.com/service/soap/NoOpRequest?zauthtoken=YOUR_FULL_AUTH_TOKEN.

    This works for both HTTP and HTTPS requests, and nginx managed to proxy the request to the correct backend server.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. session id does not returned in AuthRequest
    By koudounias in forum Developers
    Replies: 0
    Last Post: 06-18-2013, 05:09 AM
  2. Replies: 3
    Last Post: 05-09-2010, 08:10 AM
  3. Problema con el authRequest
    By ldcl289 in forum Spanish
    Replies: 0
    Last Post: 04-20-2010, 03:28 PM
  4. SOAP AuthRequest Question
    By ab5602 in forum Developers
    Replies: 3
    Last Post: 08-06-2008, 08:55 PM
  5. Replies: 0
    Last Post: 10-01-2007, 02:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •