A nodejs that allocates to ('request'). Post ()
has been written. This script works fine in Mac OSX (Travis) though fails in Ubuntu (Travis). The nodjs 'https' module was also tested to eliminate external variables that could contribute to the error. Although it does not work either.
/ ** * Upload the data to the coverage server * / export.upload = function (data, callback) {var url = server + '/ v1 / coverage'; Request.post (url, {form: {type: 'grunt-appc-coverage', data: data}, json: true, agentOptions: false}, function (error, feedback, body) {console.log (error, answer , Body); .... return callback (empty, SUCCESS_UPLOAD);}); };
This gives me the log for Ubuntu.
Request request https://coverage.appcelerator.com/v1/coverage {error: Getaddrinfo ENOTFOUND coverage.appcelerator.com] Code: 'ENOTFOUND', error: 'ENOTFOUND', syscall: 'Getaddrinfo', hostname: 'coverage.appcelerator.com'} undefined
results can be viewed here - - MacOSX (link can not be posted)
I do not think CNAME estimates:
$ dig + short coverage.appcelerator.com Https://454bcc35e4c9b0c030c89b311b4322330d84fa3b.cloudapp-enterprise.appcelerator.com. Ec2-54-244-121-14.us-west-2.compute.amazonaws.com. 54.244.121.14 $
It seems broken, in particular, the first CNAME is broken: its value must be a domain name, no URL.
... or do not I keep with DNS? :)
ETA: No, I have investigated some resources, and they believe that there should be a domain name in CNA and nothing else. So, yes, the DNS records have to be replaced with some sensible.
No comments:
Post a Comment