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
Cand add new connection #136
Comments
Hi @lorintotahh , open the javascript console and copy here what you see. |
@lorintotahh I'm seeing the same issue that you are. I've tried a couple different versions of konga and no luck with creating a connection the regular way. Instead, if you're just testing this out, you can do this: the local db is stored in kongadata/konga.db... just json
As for the bug, it's definitely real for me. Here's what I tried:
My steps:
The button spins for a millisecond and does nothing. Next:
The button spins for a millisecond and does nothing. In terms of what I see in the javascript console, it's nothing. Nada, zero, zilch. There's nothing in the network panel for any XHR requests. Just, nothing happens. If I look really closely, I can inspect the 'create connection' button itself and when I click it there is some very slight js activity when the button flashes a spinning icon and some elements get rewritten for a split-second, and then they return to their original state. As a side-note, curl and kong-dashboard both connect to my admin url just fine. |
One more thing: now that I hacked the db and made myself an admin, I have no problem adding a new connection. |
Yep, I'm most definitely running with that commit -- I pulled the code earlier today. Just to double-check, I'm looking directly at the code right now in my other monitor and it matches what should be in create-connection-form-flat.html and 02_dashboard-controller.js. I guess I'm suggesting that some part of this issue persists. |
Since i cannot reproduce it at my local env nor the live demo env (that you can check for yourself), i'm assuming it has something to do with your env. Try restarting konga and kong and log out and in again. |
Oh yes, try hard refreshing your page as well. It's common that the browser cached the old code since the actual app version has not changed. |
Hard-refreshing didn't help any. Plus, I didn't have any old code because I only started testing konga a couple days ago. I only checked out the code after this fix was in. This seems to be a problem only with a really, really fresh checkout of the code. As soon as I have one working connection everything works fine -- and that includes creating more connections. The demo environment already has a working connection so it's not a good representation of the problem. I don't know about your local dev environment, but I'm guessing it already has some connections, too, so it won't reproduce the issue. I just verified that this happens elsewhere by taking a totally different laptop, checking out konga again, and running the docker container. The exact same issue happens. Thanks for your time on this! |
@stackedsax , are you using a specific database or the default one? I will run some more tests on other machines as well and let you know. |
@stackedsax , maaaaaaan... I just realized your problem after seeing your messages on gitter. I never could of thought that that was the case. Ok so, you're spinning a brand new Konga instance, you sign up and from there a connection can;t be created, That's intended, By default, a new What you should on first launch is:
|
ahhhh, of course! well, at least I'm not totally crazy! In a sense, I did exactly what you're suggesting, except that I went into the localdb and raised my newly-created user to the status of admin. I would maybe have realized that I needed to login with the admin user a little faster had I not been prompted to create a user when I first brought up the app. You DO have the default admin username and password in the README, but I figured the app was leading me through the steps I needed to take and didn't think too deeply about it once I was in the app. Thanks for the explanation, though! |
Just got caught out with the same thing. I was very close to abandoning konga because it seemed as thought it wasn't stable enough. I'd really suggest fixing the 'completely fresh install' experience. |
Try to connect via: http://172.17.0.1:8001 - it worked for me instead of localhost, I had lost too many hours for finding that |
add admin_listen=0.0.0.0:8001, 0.0.0.0:8444 ssl into kong.conf |
In Mac, while creating the connection, if you are getting error: connection can't be created. give |
I start konga
then
now in the dashboard page where is
'First of all, lets setup a connection to Kong Admin.'
i define name and URL click on create connection and nothing happen...
The text was updated successfully, but these errors were encountered: