{"action":"created","issue":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/874","labels_url":"https://api.github.com/repos/npgsql/npgsql/issues/874/labels{/name}","comments_url":"https://api.github.com/repos/npgsql/npgsql/issues/874/comments","events_url":"https://api.github.com/repos/npgsql/npgsql/issues/874/events","html_url":"https://github.com/npgsql/npgsql/issues/874","id":117805781,"number":874,"title":"Connection time outs without any warning. An output about the reason is expected.","user":{"login":"sirentek","id":15890607,"avatar_url":"https://avatars.githubusercontent.com/u/15890607?v=3","gravatar_id":"","url":"https://api.github.com/users/sirentek","html_url":"https://github.com/sirentek","followers_url":"https://api.github.com/users/sirentek/followers","following_url":"https://api.github.com/users/sirentek/following{/other_user}","gists_url":"https://api.github.com/users/sirentek/gists{/gist_id}","starred_url":"https://api.github.com/users/sirentek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirentek/subscriptions","organizations_url":"https://api.github.com/users/sirentek/orgs","repos_url":"https://api.github.com/users/sirentek/repos","events_url":"https://api.github.com/users/sirentek/events{/privacy}","received_events_url":"https://api.github.com/users/sirentek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npgsql/npgsql/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/npgsql/npgsql/labels/ef7","name":"ef7","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"roji","id":1862641,"avatar_url":"https://avatars.githubusercontent.com/u/1862641?v=3","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-19T12:40:55Z","updated_at":"2015-11-23T18:41:27Z","closed_at":null,"body":"I use EntityFramework7.Npgsql 3.1.0-rc1-1 and ef rc1-final versions.\r\n\r\nI can connect to the host using DbVisualizer with these params:\r\nserver=192.168.1.72\r\nport=5432\r\ndatabase=samdb\r\nuserid=john\r\npassword=mysecret\r\n\r\noptionsBuilder.UseNpgsql($\"Server=192.168.1.72;Port=5432;Database=samdb;UserId=john;Password=mysecret\");\r\n\r\nI run  => dnx ef migrations add InitialMigration\r\ndone.\r\nI run => dnx ef database update\r\nSystem.TimeoutException: The operation has timed out.\r\n   at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)\r\n   at Npgsql.NpgsqlConnector.RawOpen(NpgsqlTimeout timeout)\r\n   at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout)\r\n   at Npgsql.NpgsqlConnector.Open()\r\n   at Npgsql.NpgsqlConnectorPool.GetPooledConnector(NpgsqlConnection Connection)\r\n   at Npgsql.NpgsqlConnectorPool.RequestConnector(NpgsqlConnection connection)\r\n   at Npgsql.NpgsqlConnection.OpenInternal(NpgsqlTimeout timeout)\r\n   at Npgsql.NpgsqlConnection.Open()\r\n   at Microsoft.Data.Entity.Storage.RelationalConnection.Open()\r\n   at Microsoft.Data.Entity.Storage.Internal.NpgsqlDatabaseCreator.Exists()\r\n   at Microsoft.Data.Entity.Migrations.HistoryRepository.Exists()\r\n   at Microsoft.Data.Entity.Migrations.Internal.Migrator.Migrate(String targetMigration)\r\n   at Microsoft.Data.Entity.Design.MigrationsOperations.UpdateDatabase(String targetMigration, String contextType)\r\n   at Microsoft.Data.Entity.Commands.Program.Executor.Execute(Action action)\r\n\r\nWhen I change the username or password or server or port or databasename, it creates the same System.TimeoutException. \r\nChanging any parameter value doesn't have any effect in the result.\r\n\r\nI think outputs such as \"invalid user creditentals\", \"server doesn't exist\" would be better. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/comments/159023719","html_url":"https://github.com/npgsql/npgsql/issues/874#issuecomment-159023719","issue_url":"https://api.github.com/repos/npgsql/npgsql/issues/874","id":159023719,"user":{"login":"damageboy","id":125730,"avatar_url":"https://avatars.githubusercontent.com/u/125730?v=3","gravatar_id":"","url":"https://api.github.com/users/damageboy","html_url":"https://github.com/damageboy","followers_url":"https://api.github.com/users/damageboy/followers","following_url":"https://api.github.com/users/damageboy/following{/other_user}","gists_url":"https://api.github.com/users/damageboy/gists{/gist_id}","starred_url":"https://api.github.com/users/damageboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damageboy/subscriptions","organizations_url":"https://api.github.com/users/damageboy/orgs","repos_url":"https://api.github.com/users/damageboy/repos","events_url":"https://api.github.com/users/damageboy/events{/privacy}","received_events_url":"https://api.github.com/users/damageboy/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T18:41:27Z","updated_at":"2015-11-23T18:41:27Z","body":"@sirentek It's not clear to me, what runtime exactly are you experiencing this on? Mono / CoreCLR?"}}