Skip to content
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

[BUG] After upgrade #124

Closed
racso051 opened this issue Jun 11, 2014 · 22 comments
Closed

[BUG] After upgrade #124

racso051 opened this issue Jun 11, 2014 · 22 comments

Comments

@racso051
Copy link

Hi, I'm having problems with the last update. Now I can't connect to to my databases. When I try to open a database occurs an error "Failed to connect to target host" and sometimes also an Unauthorized.

Thanks.

@robbiet480
Copy link

I'm also having this problem now, even after removing and re-adding a connection.

I also tried downgrading, which gave me corrupt errors. I then removed all related files using AppZapper, and tried the latest version again, but it still isn't working, giving me a "Failed to connect to target host" error.

@jeromelebel
Copy link
Owner

Ah I'm sorry, I see a bug about choosing the beta/release channel... And yes, there is a problem to downgrade since I increased the database version (the database to save the connection information).

Sorry about that

@jeromelebel
Copy link
Owner

can you give more information on how you connect to your server? with ssh? with replicaset? a public server?
You can contact me by email on my pseudo on mac.com

@robbiet480
Copy link

Public servers for me.

@jeromelebel
Copy link
Owner

Can you give me more info on how to reproduce this bug?

@jeromelebel
Copy link
Owner

you should be able to downgrade to 2.6.2 now. But I still need your help to fix this bug.

https://mongohub.s3.amazonaws.com/MongoHub-2.6.2.zip

@jeromelebel
Copy link
Owner

which public server?

@racso051
Copy link
Author

I'm trying to connect to mongohq database.. only works for local databases.

@jeromelebel
Copy link
Owner

Are you able to go back to 2.6.2, at least?

@racso051
Copy link
Author

With the 2.6.2 version works fine again.

@jeromelebel
Copy link
Owner

ok cool. So I will take my time to fix on the beta version

@racso051
Copy link
Author

Perfect. Thanks for your help :)

@jeromelebel
Copy link
Owner

Great, I can reproduce the bug, I will be able to fix it.

@jeromelebel
Copy link
Owner

Should be fixed in beta 3

@sampsasaarela
Copy link

I have this problem with mongolab database in beta 3.

Version 2.6.2 does not work either.

Version 2.6 works with mongolab without problems.

@jeromelebel
Copy link
Owner

What do you have in the console? Anything useful? Can you tell me what information you put in the connexion window?

@sampsasaarela
Copy link

No I don't have anything useful in the console.

In the connection window I have just name, address, port, user, password and database. Anything else is as default. But one thing I noticed is that it change the port to -12536. Eg. if I set port to 53000 it change the port to -12536 after save. Maybe there is too small integer for port?

@jeromelebel
Copy link
Owner

Yes, you were right. That was the problem (I introduced it recently). It should be fixed in beta 5

@sampsasaarela
Copy link

Thanks. Now it doesn't change the port value anymore but it still doesn't work with my mongolab databases. I can't get any error but it doesn't show my collections in database. Same databases still work in version 2.6 so something has changed but I can't say what. I also created new test database to mongolab but it doesn't work either. Can you connect to mongolab (there is possibility to create free development databases) databases?

jeromelebel pushed a commit that referenced this issue Jul 21, 2014
@jeromelebel
Copy link
Owner

I found SSL was activated all the time (this is an issue with MongoLab that doesn't support ssl). I was able to use 2.7b6 with MongoLab. Let me know if it works for you too.

@sampsasaarela
Copy link

Thanks, now it works with 2.7b6.

Btw. Old saved connections didn't work because it changed the ports to something like -12536 (too small integer while converting settings?) and I had to fix those manually, but after that it worked.

@jeromelebel
Copy link
Owner

Yes, sorry about this bug... I made a mistake by switching to int16 (I forgot about the signed limit)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants