abstruse: Can't integrate with bitbucket cloud.

Hi, I’ve private repos on bitbucket and I’m trying to integrate it into abstruse. I’m not sure which access token should I use to get access to my repository - I’m trying with “App passwords” because there’s no such thing as Access Token on Bitbucket.

Adding GitHub repos works fine.

logs from container when I’m trying to check configuration:

(node:7) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at validateHeader (_http_outgoing.js:503:11)
    at ServerResponse.setHeader (_http_outgoing.js:510:3)
    at ServerResponse.j.set.j.header (/app/dist/api/index.js:2:1655556)
    at ServerResponse.j.json (/app/dist/api/index.js:2:1652430)
    at h.getRepository.then.then.then.then.catch.e (/app/dist/api/index.js:2:1743046)
    at <anonymous>
(node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (12 by maintainers)

Most upvoted comments

@jkuri thanks 😃

node:7) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. [2018-06-13 17:56:41]: [server]: starting Abstruse CI version 1.6.3 … [2018-06-13 17:56:41]: [server]: API and Socket Server running at port 6500 [2018-06-13 17:56:42]: [socket]: user dedkat@dedkat.net connected from ::ffff:37.47.164.79 undefined:1

SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at U.o [as _callback] (/app/dist/api/index.js:40:152641) at U.t._callback.t.callback.t.callback (/app/dist/api/index.js:588:3090) at U.emit (events.js:182:13) at U.<anonymous> (/app/dist/api/index.js:588:15765) at U.emit (events.js:182:13) at IncomingMessage.<anonymous> (/app/dist/api/index.js:588:14607) at Object.onceWrapper (events.js:273:13) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1081:12) at process._tickCallback (internal/process/next_tick.js:63:19)

@dedkat it is high on my priority list, hopefully I will make it done till end of the week.