Error uploading website. Bad url reported

Bug #1478327 reported by Matti Rinta-Nikkola
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
my-webapp-group
Fix Released
High
Matti Rinta-Nikkola

Bug Description

Hello Matti,

Although inserting tbis site in local site list, and then browsing the site, works, attempting to upload it gives:

Bad url
https://m.luas.ie/
http status=0

What is wrong with this site ?

Thanks for the good work.
All the best!
--
Yves-Antoine

summary: - Error uploading website. Bad url reporter.
+ Error uploading website. Bad url reported
Changed in my-webapp-group:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Matti Rinta-Nikkola (matti-rintanikkola-d)
Changed in my-webapp-group:
status: Confirmed → In Progress
Revision history for this message
Matti Rinta-Nikkola (matti-rintanikkola-d) wrote :

Found a similar problem reported on android Cordova app:

http://stackoverflow.com/questions/20036260/phonegap-android-app-ajax-requests-to-https-fail-with-status-0/22676570#22676570

Also curl request to the reported website fails:

~$ curl https://m.luas.ie/
curl: (60) SSL certificate problem: unable to get local issuer certificate
...

Curl and javascript XMLHttprequest https calls to well known and trusted URLs such as https://google.com and https://www.wikipedia.org works correctly.

Since now I have no idea how to fix the certificate problem... I will probably implement an alternative URL test for websites which https request fails with status=0.

Revision history for this message
Matti Rinta-Nikkola (matti-rintanikkola-d) wrote :

The uploading problem is not anymore present with a site https://m.luas.ie/ -do not know what have been changed. Both Curl and javascript XMLHttprequest works now correctly.

However we have implemented alternate URL test in a case when https call fails with status=0. In this case only the validity of domain name will be checked by nslookup.

Changed in my-webapp-group:
status: In Progress → Fix Committed
Revision history for this message
Matti Rinta-Nikkola (matti-rintanikkola-d) wrote :

Fix released "My Web Apps" ver. 0.10 and "My News Apps" ver. 0.8

Changed in my-webapp-group:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.