christiangenco / dbinbox

an inbox for your Dropbox
dbinbox.com
MIT License
285 stars 42 forks source link

Identify accounts by uid (Login problem - "Internal Server Error") #46

Closed milic91 closed 10 years ago

milic91 commented 11 years ago

I visit my dbinbox page and when I click sign it it takes me to authenticate with dropbox, I allow it and when redirected back to dbinbox.com/admin?uid=xxx&oauth_token=xxx i get "Internal Server Error".

christiangenco commented 11 years ago

Hmmm... what's your username?

milic91 commented 11 years ago

You wont see anything wrong with my dbinbox page, problem occures after i allow oauth, when redirected back to admin page, instead of admin page i get "Internal Server Error" page. My username is milos

Thanks btw

christiangenco commented 11 years ago

Bizarre. I see nothing peculiar with that account, and when login is broken it's usually broken for me too (but appears to be working perfectly).

Could you try logging out by visiting http://dbinbox.com/logout and trying to log in again at http://dbinbox.com/admin ?

Perhaps browser related? Try on Chrome or FF.

joren commented 11 years ago

Same here, username 'joren' Tried to logout, but still the same error. A different browser also didn't fixed the problem.

I might have deleted my account a while ago. When I tried to upload something I got this message: http://jøren.be/image/0U0k252o2b1c

milic91 commented 11 years ago

I tried both Chrome and Firefox, it's not working :( Is it possible that i have 2 dbinbox accounts authorized with same dropbox account.

A week ago something was wrong with my current account "milos" so i made another one "milos91" and I deleted it when "milos" started working again. Could that be a problem?

P.S. None of my accounts work. I get "Client not authorized. Account pending deletion." on both of them.

christiangenco commented 11 years ago

@joren Interesting... This is helping to narrow down what's causing the problem, thank you! In the meanwhile, I manually took your account out of the database. You should be able to re-sign up for that username at http://dbinbox.com/joren

Let me know if you're able to access http://dbinbox.com/admin after signing up again.

@milic91 Ooo, the multiple accounts is probably highly related... I'll delete your account too so you can sign up for one of those usernames again.

...oh snap, in the process of doing that I think I realized what the error is. So when I delete accounts, I'm not actually deleting them, I'm just deleting the authentication code and username so you can't find it again. But I think the way I set up Mongo to not allow duplicate IDs meant that only one person could ever delete their account because only one person can have the username of nothing. Interesting. I'll bundle this up with the upcoming feature of having multiple usernames tied to the same account (for pro accounts) and I think we'll be good.

lendle commented 11 years ago

I'm having the same issue, "Internal Server Error" when I try to authorize with dropbox.

mrtrevelyan commented 10 years ago

Hi all - I'm having the same "Internal Server Error" issue whenever I try and log in. Tried the above suggestions. Perhaps it's a two-factor authentication issue?

Also - please let us know when the pro accounts are available! I'm hoping you'll be using Dropbox API's "chunked upload" method to allow for unlimited/up to the user's dropbox quota) uploads, as this service would be my main go-to for video sharing (usually over 5GB): https://www.dropbox.com/developers/core/docs#chunked-upload

christiangenco commented 10 years ago

Damn; I thought my recent push would've fixed that.

@mrtrevelyan what's the dbinbox username and/or email address of the account you're logging into?

mrtrevelyan commented 10 years ago

@christiangenco hi Christian - sent you an email!

christiangenco commented 10 years ago

I just pushed a major rewrite of dbinbox that has a new login system based on your email address.

Visit http://dbinbox.com then click "login", then "Forgot your password?" and it'll send you a password reset link where you can set your password.