Results 1 to 4 of 4

Thread: Zimlet 403 via Proxy Help

  1. #1
    Join Date
    Dec 2006
    Location
    Chaska, MN
    Posts
    6
    Rep Power
    8

    Default Zimlet 403 via Proxy Help

    I've got a Zimlet I'm working on that requests an URL via the proxy service. The result is ALWAYS 403.

    config_template.xml:
    Code:
    <zimletConfig name="com_asterisk_voicemail" version="1.0">
        <global>
    		<property name="allowedDomains">192.168.2.20</property>
    		<property name="voicemailHost">192.168.2.20</property>
    		<property name="vmxmlPath">/vmxml/</property>
        </global>
    </zimletConfig>

    Snippet from my js file:
    Code:
    	var url = ZmZimletBase.PROXY + 'http://' + this.getConfig("voicemailHost") + this.getConfig("vmxmlPath");
        var reqParam = 'action=' + action;
    	var reqHeader = {"Content-Type":"application/x-www-form-urlencoded"};
    	var result = AjxRpc.invoke(reqParam, url, reqHeader);
    	return url + "<br />" + result.text;
    The server it is trying reach has all authentication hard coded for testing. I don't understand why it is always 403'ing when I have the allowedDomains property set. I've even set the allowedDomains to * and it still fails.

    Anyone have any suggestions?
    tia

    -Blake

  2. #2
    Join Date
    Dec 2006
    Location
    Chaska, MN
    Posts
    6
    Rep Power
    8

    Default

    Anyone? I noticed there was a similar post a few days ago with no answer also.

    Zimbra is great, but there seems to be a major lack of assistance from developers.

  3. #3
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default Release-time latency

    You've caught the Zimbra dev team in the immediate run-up to a new release, and response to "debug my code" requests may be a bit slower than usual until 4.5 ships.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #4
    Join Date
    Dec 2006
    Location
    Chaska, MN
    Posts
    6
    Rep Power
    8

    Default

    Well I might have stumbled across something, let me know if my thoughts are right or not.

    I have 4 COS' setup, one for each domain I run. When I run zmprov gc <cos> I don't get a zimbraProxyAllowedDomains entry, however, when I run zmprov gc default I do. If my users are setup to use a different COS will they not have access to items in the default COS? That's my understanding of COS in any case, you only get what your COS defines, not what the other ones do. So when I do a zmzimletctl deploy <zimlet> it goes into the default COS. When I do a zmzimletctl acl <zimlet> <cos> grant I can see the icons but the configuration items are not brought over, how do I make sure that the zimbraProxyAllowedDomains gets set for each COS that I need it to be set on?

    {edit}
    Just ran a test, put my user back to the default COS and it works, so that is my issue. When I deploy a zimlet it goes into the default but the allowedDomains does not get installed into the other COS objects that it is allowed on.
    Last edited by blakekrone; 12-08-2006 at 09:51 AM. Reason: test results

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Replies: 5
    Last Post: 01-11-2008, 04:34 AM
  3. Replies: 13
    Last Post: 07-20-2007, 03:21 AM
  4. Domain Admin Error: Permission Denied
    By shanson in forum Administrators
    Replies: 3
    Last Post: 05-29-2007, 05:48 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM

Posting Permissions

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