Coder Social home page Coder Social logo

Can't log in about konga HOT 7 CLOSED

pantsel avatar pantsel commented on September 28, 2024
Can't log in

from konga.

Comments (7)

bdunnaway avatar bdunnaway commented on September 28, 2024
angular.js:14195 TypeError: Cannot read property 'user' of undefined
    at Object.authorize (NodesService.js:27)
    at stateChangeStart (app.js:179)
    at Scope.$broadcast (angular.js:18316)
    at transitionTo (angular-ui-router.js:3140)
    at Object.$delegate.transitionTo (app.js:41)
    at Array.<anonymous> (angular-ui-router.js:2318)
    at Object.invoke (angular.js:4767)
    at handleIfMatch (angular-ui-router.js:1822)
    at angular-ui-router.js:1877
    at check (angular-ui-router.js:1992)
(anonymous) @ angular.js:14195
http://127.0.0.1:1338/__getcookie Failed to load resource: net::ERR_CONNECTION_REFUSED
angular.js:14195 TypeError: Cannot read property 'user' of undefined
    at Object.authorize (NodesService.js:27)
    at stateChangeStart (app.js:179)
    at Scope.$broadcast (angular.js:18316)
    at transitionTo (angular-ui-router.js:3140)
    at Object.$delegate.transitionTo (app.js:41)
    at Array.<anonymous> (angular-ui-router.js:2318)
    at Object.invoke (angular.js:4767)
    at handleIfMatch (angular-ui-router.js:1822)
    at angular-ui-router.js:1877
    at check (angular-ui-router.js:1992)
(anonymous) @ angular.js:14195
angular.js:14195 TypeError: Cannot read property 'user' of undefined
    at Object.authorize (NodesService.js:27)
    at stateChangeStart (app.js:179)
    at Scope.$broadcast (angular.js:18316)
    at transitionTo (angular-ui-router.js:3140)
    at Object.$delegate.transitionTo (app.js:41)
    at Array.<anonymous> (angular-ui-router.js:2318)
    at Object.invoke (angular.js:4767)
    at handleIfMatch (angular-ui-router.js:1822)
    at angular-ui-router.js:1877
    at check (angular-ui-router.js:1992)
(anonymous) @ angular.js:14195

from konga.

bdunnaway avatar bdunnaway commented on September 28, 2024

Accidentally used "Close and comment". Issue is still open.

from konga.

jeffersfp avatar jeffersfp commented on September 28, 2024

Hum, I just installed Konga following all the steps to put the app into production and, when attempting to login, I got the same messages:

  1. at vendors.min.js:5:
TypeError: Cannot read property 'user' of undefined
    at Object.authorize (frontend.min.js:1)
    at frontend.min.js:3
    at h.$broadcast (vendors.min.js:6)
    at C.transitionTo (vendors.min.js:10)
    at Object.e.transitionTo (frontend.min.js:3)
    at Array.<anonymous> (vendors.min.js:10)
    at Object.a [as invoke] (vendors.min.js:4)
    at a (vendors.min.js:10)
    at vendors.min.js:10
    at e (vendors.min.js:10)
  1. at vendors.min.js:19:
GET http://localhost:1338/__getcookie net::ERR_CONNECTION_REFUSED
  1. at vendors.min.js:5:
OPTIONS http://localhost:1338/login net::ERR_CONNECTION_REFUSED

Konga is running in the following environment:

  • Node v7.4.0
  • NPM v4.0.5
  • Ubuntu 14.04

NOTE: I'm running Konga in production mode and trying to accessing it via a FQDN, through my browser, Google Chrome Version 55.0.2883.95 (64-bit) on Mac OSX El Capitan.

from konga.

pantsel avatar pantsel commented on September 28, 2024

As far as i can see, i think your issues are network related.

ERR_CONNECTION_REFUSED

It seems that the frontend can't access localhost:1338

Maybe try to change 'localhost' with your computer's IP address?

Does this issue occurs on development mode as well?

from konga.

bebenosuke avatar bebenosuke commented on September 28, 2024

I had same problem. However when I changed below setting, I could access it!

at ./konga/frontend/config/config.json :line2

before : "backendUrl": "http://localhost:1338",
after : "backendUrl": "http://<my server IP address>:1338",

thx @pantsel

from konga.

jeffersfp avatar jeffersfp commented on September 28, 2024

It works after changing the setting.

Thank you guys! πŸ˜„

I guess we can close this issue?

from konga.

pantsel avatar pantsel commented on September 28, 2024

Closing this issue as resolved.

from konga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.