Re: UpdateCenter FileNotFound after switching to a new Webhosting - any ideas ?

Charles Bedon <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CA+0gwA0F629k=JXNfbX7Sro7780VG20Dzx-ENX7bGHry2rWqDA@mail.gmail.com>
Hello Bernd,

How come when you paste the URL on the location bar of the browser you
get a 404 and pasting it somewhere else it doesn't? can you try to
wget the file to see what's the server response? Do you know what
server does your provider have? maybe they set up directory-level
access rules to only be able to GET certain types of file extensions.

Kind regards,

On 11/17/16, bruehlicke <[email protected]> wrote:
> We switched our webhosting to a new vendor. The UpdateCenter is now showing
> a nasty error like "There were some problems while storing Establishing a
> connection ..." with a cause pointing to one of my *.nbm files.
>
> No code from my side was changed so it has to be in the webhosting.
>
> Debugging tells me:
>
> java.io.FileNotFoundException: http://<our-website_url>/update/xyz.nbm
>         at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
>
> Also when copy&paste manually the URL into a browser I get a 404 - File not
> found html error.
>
> Copy&[aste the URL to the Download window of fx firefox does correclty
> download the file - so the file IS present on the website.
>
> Accessing any other files than *.nbm like the updates.xml works fine.
>
>
>
> Any expert around who could tell me what the webhosting company might do to
> prevent my NetBeans app to download *.nbm files ? They tell me "all is
> normal" which of course it is not.
>
> Thanx in advance. I know this is really not a NetBeans error but maybe some
> have run into this issue while working on their UpdateCenter and can give me
> a hint towards the right direction what to tell the webhosting company.
>
> Bernd
>
>
>
>
>


-- 
Charles Edward Bedón Cortázar
http://www.neotropic.co | Network Management, Data Analysis and Free
Software | twitter.com/neotropic_co
Open Source Network Inventory for the masses!
http://kuwaiba.sourceforge.net | Follow Kuwaiba on
Twitter<http://twitter.com/kuwaiba>
Linux Registered User #386666
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.