Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to run UI Only Preview in Gitlab #1829

Closed
t83714 opened this issue Oct 31, 2018 · 2 comments
Closed

Need a way to run UI Only Preview in Gitlab #1829

t83714 opened this issue Oct 31, 2018 · 2 comments

Comments

@t83714
Copy link
Contributor

t83714 commented Oct 31, 2018

Problem description

Currently, UI Only Preview in Gitlab won't run probably as web-server pod needs get the content of index.html from content API (http://content-api/v0/includeHtml.text).

We will see the following error:

{ FetchError: request to http://content-api/v0/includeHtml.text failed, reason: getaddrinfo ENOTFOUND content-api content-api:80
    at ClientRequest.<anonymous> (/usr/src/app/node_modules/node-fetch/index.js:133:11)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at Socket.socketErrorListener (_http_client.js:314:9)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at connectErrorNT (net.js:1034:8)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
  name: 'FetchError',
  message: 'request to http://content-api/v0/includeHtml.text failed, reason: getaddrinfo ENOTFOUND content-api content-api:80',
  type: 'system',
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND' }

It won't impact system functionality in any way but it's good to have to test UI only feature in Gitlab.

Problem reproduction steps

Deploy a test site in Gitlab using UI Only Preview in Gitlab option

Screenshot / Design / File reference

@t83714
Copy link
Contributor Author

t83714 commented Nov 8, 2018

fixed by #1843

@AlexGilleran
Copy link
Contributor

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants