getcandy / hub

GetCandy v1 Hub built on Nuxt.js
30 stars 9 forks source link

Cant login #39

Closed projct1 closed 3 years ago

projct1 commented 3 years ago

Hello! I installed getcandy from scratch and cant login https://skr.sh/s6qJm8XT2Hb What is the error? By the way, what are credentials?

alecritson commented 3 years ago

Hi there.

This looks strange, not seen this before. What was the response back from the API when you tried to log in? Also the credentials are what you would have set up during the install process.

projct1 commented 3 years ago

The response is html https://skr.sh/s6rRWBU5jyt

<!doctype html>
<html >
  <head >
    <title>GetCandy</title><meta data-n-head="1" charset="utf-8"><meta data-n-head="1" name="viewport" content="width=device-width, initial-scale=1"><meta data-n-head="1" data-hid="description" name="description" content="GetCandy Hub"><link data-n-head="1" rel="shortcut icon" type="image/png" href="/favicon.png"><link rel="preload" href="/_nuxt/runtime.js" as="script"><link rel="preload" href="/_nuxt/commons/app.js" as="script"><link rel="preload" href="/_nuxt/vendors/app.js" as="script"><link rel="preload" href="/_nuxt/app.js" as="script">
    <meta data-n-head="1" data-hid="robots" name="robots" content="noindex">
  </head>
  <body >
    <div id="__nuxt"><style>#nuxt-loading {  background: white;  visibility: hidden;  opacity: 0;  position: absolute;  left: 0;  right: 0;  top: 0;  bottom: 0;  display: flex;  justify-content: center;  align-items: center;  flex-direction: column;  animation: nuxtLoadingIn 10s ease;  -webkit-animation: nuxtLoadingIn 10s ease;  animation-fill-mode: forwards;  overflow: hidden;}@keyframes nuxtLoadingIn {  0% {visibility: hidden;opacity: 0;  }  20% {visibility: visible;opacity: 0;  }  100% {visibility: visible;opacity: 1;  }}@-webkit-keyframes nuxtLoadingIn {  0% {visibility: hidden;opacity: 0;  }  20% {visibility: visible;opacity: 0;  }  100% {visibility: visible;opacity: 1;  }}#nuxt-loading>div,#nuxt-loading>div:after {  border-radius: 50%;  width: 5rem;  height: 5rem;}#nuxt-loading>div {  font-size: 10px;  position: relative;  text-indent: -9999em;  border: .5rem solid #F5F5F5;  border-left: .5rem solid #fff;  -webkit-transform: translateZ(0);  -ms-transform: translateZ(0);  transform: translateZ(0);  -webkit-animation: nuxtLoading 1.1s infinite linear;  animation: nuxtLoading 1.1s infinite linear;}#nuxt-loading.error>div {  border-left: .5rem solid #ff4500;  animation-duration: 5s;}@-webkit-keyframes nuxtLoading {  0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);  }  100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);  }}@keyframes nuxtLoading {  0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);  }  100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);  }}</style><script>window.addEventListener('error', function () {  var e = document.getElementById('nuxt-loading');  if (e) {e.className += ' error';  }});</script><div id="nuxt-loading" aria-live="polite" role="status"><div>Loading...</div></div><!-- https://projects.lukehaas.me/css-loaders --></div><script>window.__NUXT__={config:{app:{basePath:"\u002F",assetsPath:"\u002F_nuxt\u002F",cdnURL:null}}}</script>
  <script src="/_nuxt/runtime.js"></script><script src="/_nuxt/commons/app.js"></script><script src="/_nuxt/vendors/app.js"></script><script src="/_nuxt/app.js"></script></body>
</html>
alecritson commented 3 years ago

Was this resolved? We've just released 0.12 of the Hub and API so it would be worth updating and trying again.

For a guide on how to update to 0.12 from 0.11 see links below:

Upgrading the Hub Upgrading the API