-
Notifications
You must be signed in to change notification settings - Fork 123
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
Sign in/Register fails #1214
Comments
Is fixed with the latest commit of #1213. |
Does not work for me, it seems like the additional arguments are ignored. |
Btw. the login does not work (connection issues). First I thought the backend is down, but the conversion works? |
Did you enter
I noticed it one time too already, but I couldn't make out the issue. I think it has to do with backend crashes. If you logout and login again, it works interestingly. |
Thank you, my fault. I missed |
But I am still not able to login... ;-( |
Does the browser console say something / do you get a non-200 response? |
I think we should be able to solve such problems with browser console. The error message is:
The server console says:
and then:
|
That means the request is not returning a 200 status. Can you look what the network request is returning? I've an idea what the problem could be, but I need a confirmation for it. |
500 Internal Server Error, so not really helpful? Here the full requests/responses:
Btw. did you already profile why loading the page sometimes takes so long? |
Btw. why is charset=iso-8859-1 in use for the restapi? And why is something loaded from gravatar.com? (Is this from asciinema.org? Can we embed the asciinema?) |
(reopen for login issue) |
Depends on where you experienced long loads. On the details/edit page, it is quite normal because we have a significant amount of plugins (/variants) enabled and the export takes time. That's also why I said we should disable some..
Where did you find this? To me it seems like cppcms is using the charset that fits best the needs if none is given explicitely. E.g. https://restapi.libelektra.org/database?filter=a&filterby=all&offset=0&rows=10&sort=asc&sortby=key uses Edit: Ok found it in your snippet above. The same requests gives
Yes it is from the asciinema and the asciinema is already embedded?! The 500 error above looks very much like a downtime of the backend for me (so it is from the apache). Otherwise there should be a |
Deactivate completely?
In the requests/responses between frontend and backend.
Why not give UTF-8 or us-ascii explicitely?
The REST API should also be a standalone feature.
I mean delievered from our apache.
So the backend crashes when I try to login? |
Yes. You can create some test snippets and look yourself, often the formats are very, very similar, because the format is the same. I don't think we need them twice then. (Only issue is that users won't find a plugin/lens for their format then probably...)
I can see if adding UTF-8 in my helper is sufficient.
Sure, if the browser and the front-end does, then curl and other tools will do also.
Don't think they offer a download, etc.
No, I would say it wasn't only at this time for some other reason. I've tried quite some things already, but I cannot reproduce what you got. |
Yeah, unfortunately this might be a major issue (for people that need a specific plugin). What we could do is to not show all of them after snippet uploading. But that seems like a quite complicated change in frontend and backend (and which ones to select?).
http://blog.asciinema.org/post/self-hosting/
I tried it quite often already. Registration seems to be down now, too. (like login: connection issues) |
Sorry but then you seem to have an issue on your side, because both works properly without me changing anything. My guess is a script blocker - again. |
I tried to remove all plugins with firefox and tried 3 other different browsers (chromium, tor browser, konqueror), always the same. I am in the TU network, so I doubt it is a connection problem, my colleague just downloaded an ubuntu ISO in some minutes ;) |
You are right, it is no connection issue. The |
So my passwords were too long 🙈 ? Please also try to give better feedback for such errors. |
No it was not too long, something else was broken, you'll see it in the PR in a moment. |
How did it work for you? Btw. should we also push the user database to a private repo? Actually we could make a backup of other things in a private repo, too. |
It worked for some passwords, but not for others. |
I tried ch1iDoeGhoo9VhohJ1oh3phie9PhesaiSh maybe you should add longer passwords for the unit tests, too. (you can use this password for the test if you want) |
Much better, login and changing of password works like a charm now! I'll merge when the unit tests are ready. |
Had to delete your account as you might noticed because hashes were broken, but shouldn't happen in the future anymore. 👍 |
Yeah, is already recreated ;)
It is okay till release of the homepage ;) |
Btw. please submit the apache config and so on to our snippet service. We should really add much more there! |
I tried to convert a snippet on the website, but got the error: undefined
The problem is not (only) about that the conversion does not work (might be a problem with a plugin), but that no useful error message is shown:
Used plugins
Input configuration
Last output configuration
Additional information
The text was updated successfully, but these errors were encountered: