Troubles setting up Rally to Jira Connector - ruby

I am working with Jira/Rally and the the Ruby connector. I was tapped to test out the connector and make sure it will do everything we need. I have to confess that this isn't my area of expertise, I am unable to find relevant help on the Rally site and the previous topics here were tied to different issues.
The error I am running into is:
[2013-01-18 15:21:38 Z] DEBUG : Finding method getIssuesFromJqlSearch
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.rescue in run_services - Unexpected exception occurred
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.exception - Message undefined method `key' for nil:NilClass
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.exception - Stack Trace
I am connecting to both services just fine (after having worked through some fun proxy issues), and am working off the base jira_config.xml that comes with the connector. I have changed only the required fields, ie UN/PW/URL/Project/Workspace
Relevant xml code:
<RallyConnection>
<Url>rally1.rallydev.com</Url>
<WorkspaceName>CMSJiraIntegrationTestWorkspace</WorkspaceName>
<Projects>
<Project>Sample Project</Project>
</Projects>
<User>***************</User>
<Password>encoded-T-i-F-j-b-2-x-l-M-j-A-=-</Password>
<ArtifactType>Defect</ArtifactType>
<ExternalIDField>JiraDefectKey</ExternalIDField>
<CrosslinkUrlField>JiraLink</CrosslinkUrlField>
</RallyConnection>
<JiraConnection>
<Url>http://10.34.10.175:8080</Url>
<User>***************</User>
<Password>encoded-a-m-F-t-Z-X-M-u-Y-m-V-p-b-n-M-=-</Password>
<ArtifactType>Bug</ArtifactType>
<Project>SP</Project>
<ExternalIDField>RallyID</ExternalIDField>
<CrosslinkUrlField>RallyURL</CrosslinkUrlField>
<CopySelectors>
<CopySelector>Status != Closed</CopySelector>
</CopySelectors>
</JiraConnection>
Does anyone have insight as to why this would fail?
The help is much appreciated

Are you sure you've got JIRA remote API enabled? It seems to crash just after looking for SOAP method "getIssuesFromJqlSearch".
Could you please post the full log file generated from starting the connector to when it crashed?

Related

"The map has changed since the iterator was created" in Chrome sender app

I'm seeing this error and I'm not sure where it's coming from. I am using cast v3 sdk in Chrome, the call stack includes cast_sender.js onMessage function. I believe it is happening after the receiver issues a broadcastStatus media message.
Has anyone seen this error message in the web console: "The map has changed since the iterator was created"?
Happens to me in the following code:
session.addUpdateListener(function listener (isAlive) {
// This is what causes the error
session.removeUpdateListener(listener);
});
It only happens when I have session.removeUpdateListener(listener);
I guess it's unhappy that I removed the listener.
Maybe it is the same kind of thing for you?

Connecting to signalling server with xirsys and simplewebsocket

I am trying to implement a WebRTC application using the xirsys API and simpleWebRTC. I am trying to connect using the secure method. So inside the connect.js file, I have this:
var xirsysConnect = {
secureTokenRetrieval : true,
server : '../getToken.php/',
data : {
domain : 'MY_DOMAIN_HERE',
application : 'default',
room : 'default',
secure : 1
}
};
When I open the page in a browser, I get this error in the console:
Failed to construct 'WebSocket': The URL 'undefined/v2/LONG_STRING_HERE' is invalid
I can't seem to find any help in the docs. I have also tried looking in the source code, but can't seem to make any headway. Any help will be greatly appreciated.
For having spent the last couple of days trying to make this work, I concluded that the Xirsys demo using simpleWebRTC isn't ready for prime time. Comments in the source code often don't reflect what's in the code itself. Additionally, there is, indeed, no proper online documentation about it.
I had hoped for Xirsys to provide something more professional. I'm looking forward to clarifications and improvements on their side.

Log work for a given issue using JIRA SDK

I am using JIRA Ruby SDK for JIRA REST API. I am trying to create to log work for a specific issue with this code:
projects = client.Project.all
issue = client.Issue.find("13921")
w = issue.worklogs.build
w.timeSpentSeconds = "12000"
However i have got this error:
method_missing': undefined methodtimeSpentSeconds=' for
#JIRA::Resource::Worklog:0x007f831db3f360 (NoMethodError) from jira.rb:33:in
Thanks!

Parse.com and Chrome Packaged Apps

This question was already asked in the old Parse.com help forums :
https://www.parse.com/questions/parsecom-javascript-api-and-chrome-packaged-apps
Has there been any progress on adapting the parse js.sdk to be compatible with Chrome Packaged Apps ???
In particular it seems to fail on this line :
var userData = Parse.localStorage.getItem(Parse._getParsePath(
Parse.User._CURRENT_USER_KEY));
with the following error message :
Uncaught TypeError: Cannot read property 'getItem' of undefined

Can anyone make grizzly-websockets-chat work under standalone grizzly?

I'm struggling to run grizzly-websockets-chat. I've successfully compiled the sample. HttpServer.createSimpleServer is running and serving a test index.html on localhost:8080. WebSocketEngine.getEngine().register("/chat", chatApplication) executes without complaint. However, localhost:8080/chat returns "Resource identified by path '/chat', does not exist.". This is not under Glassfish - just standalone Grizzly/2.2.19.
Comments in some places suggest that websocket support is off by default - I'm unable to determine how to turn it on outside of Glassfish. I have only the test index.html in docroot.. is anything else required?
I'm not running anything special on the client side - no js, nothing. I've not seen any such thing in the sample. Surprisingly, I've not found a good doc or running example. Maybe is a user problem? ;/
Looks like websocket code may be being invoked:
$ java -jar ./tyrus-client-cli-1.1.jar ws://localhost:8080/chat
# Connecting to ws://localhost:8080/chat...
# Failed to connect to ws://localhost:8080/chat due to Handshake error
Any help much appreciated!
Change your request URI to ws://localhost:8080/grizzly-websockets-chat/chat.
The ChatApplication has the following defined for isApplicationRequest():
#Override
public boolean isApplicationRequest(HttpRequestPacket request) {
return "/grizzly-websockets-chat/chat".equals(request.getRequestURI());
}

Resources