This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 169796 - the "connection failed" error message is confusing
Summary: the "connection failed" error message is confusing
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks: 169782
  Show dependency tree
 
Reported: 2009-08-04 10:53 UTC by Ondrej Langr
Modified: 2009-10-14 10:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
undescriptive error message (37.52 KB, image/png)
2009-08-04 10:54 UTC, Ondrej Langr
Details
screenshot (6.95 KB, image/png)
2009-08-13 15:20 UTC, Tomas Mysik
Details
error message with short connection name (78.53 KB, image/png)
2009-08-14 11:55 UTC, Ondrej Langr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Langr 2009-08-04 10:53:47 UTC
The error message "Cannot connect to Server" is confusing and does explain why the connection failed.
Comment 1 Ondrej Langr 2009-08-04 10:54:41 UTC
Created attachment 85750 [details]
undescriptive error message
Comment 2 Tomas Mysik 2009-08-13 15:18:46 UTC
What are the exact steps to reproduce? I have tried it and it works fine for me, attaching screenshot.

One note - the name of the server is used in the dialog - so you named your server "ftp://...", right? If so, it is definitely not common use case.

Thanks.
Comment 3 Tomas Mysik 2009-08-13 15:20:01 UTC
Created attachment 86202 [details]
screenshot
Comment 4 Ondrej Langr 2009-08-14 11:54:38 UTC
Tomasi, 
no I've named my server simply xD .. see the attachment - it displays both windows on top of each other. 

It seems hostname is used, which is not necessarily wrong.

The problem is that the error message does not make much sense, probably because it's trimmed even though the hostname
is not extremely long. 
Comment 5 Ondrej Langr 2009-08-14 11:55:42 UTC
Created attachment 86234 [details]
error message with short connection name
Comment 6 Tomas Mysik 2009-10-01 15:07:36 UTC
Now I see - it's a specific problem for UnknownHostException; this exception unfortunately does not tell what's the problem, just the server name is
returned. I will work around it.
Comment 7 Tomas Mysik 2009-10-09 13:55:30 UTC
Fixed.
http://hg.netbeans.org/web-main/rev/32731b470115
Comment 8 Quality Engineering 2009-10-14 10:53:29 UTC
Integrated into 'main-golden', will be available in build *200910140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/32731b470115
User: Tomas Mysik <tmysik@netbeans.org>
Log: #169796: the "connection failed" error message is confusing