DNS issue with timesheet 2.2.7 plugin

Issue #538 resolved
Former user created an issue

hi, im having problems with 2.2.7 JIRA Time Sheet Plugin (group or single timesheet), the loader is showing permanently loading and in the navigator's console the response of the request is:

throw 1; < don't be evil' >{"http://<MY_URL>.com.ar/rest/timesheet-gadget/1.0/timesheet.json?targetUser=&numOfWeeks=1&reportingDay=2&baseUrl=http%3A%2F%2F<MY_URL>.com.ar":{"headers":{},"body":"<HTML><HEAD>\r\n<TITLE>Network Error<\/TITLE>\r\n<\/HEAD>\r\n<BODY>\r\n<FONT face=\"Helvetica\">\r\n<big><strong><\/strong><\/big><BR>\r\n<\/FONT>\r\n<blockquote>\r\n<TABLE border=0 cellPadding=1 width=\"80%\">\r\n<TR><TD>\r\n<FONT face=\"Helvetica\">\r\n<big>Network Error (dns_server_failure)<\/big>\r\n<BR>\r\n<BR>\r\n<\/FONT>\r\n<\/TD><\/TR>\r\n<TR><TD>\r\n<FONT face=\"Helvetica\">\r\nYour request could not be processed because an error occurred contacting the DNS server.\r\n<\/FONT>\r\n<\/TD><\/TR>\r\n<TR><TD>\r\n<FONT face=\"Helvetica\">\r\nThe DNS server may be temporarily unavailable, or there could be a network problem.\r\n<\/FONT>\r\n<\/TD><\/TR>\r\n<TR><TD>\r\n<FONT face=\"Helvetica\" SIZE=2>\r\n<BR>\r\nFor assistance, contact your network support team.\r\n<\/FONT>\r\n<\/TD><\/TR>\r\n<\/TABLE>\r\n<\/blockquote>\r\n<\/FONT>\r\n<\/BODY><\/HTML>\r\n","rc":503}}

Comments (14)

  1. Andriy Zhdanov

    Hi Mauro,

    Does MY_URL in your example correspond to what JIRA is using?

    Please see also similar problem Issue#113 and may be issue#174 with ssl.

    Thank you.

  2. Former user Account Deleted

    Andriy thank you very much for the quick response., yes, MY_URL corresponds to the JIRA url (i replaced it to prevent the public exposition)

    I see the issues that you sent me but is not the kind of problem i'm having

  3. Andriy Zhdanov

    Well, I don't know how to help then, it must be some configuration, with reverse proxy, or something like this, sorry.

  4. Former user Account Deleted
    • changed status to open

    my client is evaluating a purchase of your plugin to upgrade to version 2.7.9.4 (JIRA 6) but he is hesitating because of this malfunction in version 2.2.7 (JIRA 4), could you give us some help? on some occasion the plugin also showed an OAuth error (seen in firebug), this may be related to the problem?

  5. Andriy Zhdanov

    I believe there will no be this problems with JIRA 6, gadgets communication has been significantly improved in JIRA since JIRA 4.

    Sorry, I don't know what I can do to resolve DNS problem with gadget in JIRA 4.

  6. Former user Account Deleted

    in addition, I solved the problem temporarily by modifying the following lines of group-timesheet-gadget.xml and gadget.xml (unzipped the jar) and replacing the IP instead of ATLASSIAN_BASE_URL and worked

    lines: {code} <script type="text/javascript"> (function () { var gadget = AJS.Gadget ({ baseUrl "ATLASSIAN_BASE_URL" config: { . . . . . .

                             AjaxOptions: function () {
                                 return {
                                     url: "/ rest/timesheet-gadget/1.0/group-timesheet.json"
                                     data: {
                                         targetGroup: this.getPref ("group"),
                                         numOfWeeks: this.getPref ("NUM_WEEKS")
                                         reportingDay: this.getPref ("reporting_day"),
                                         project: this.getPref ("project")
                                         *baseUrl "__ATLASSIAN_BASE_URL__"*
                                     }
                                 };
                             }
    

    {code}

  7. Log in to comment