Authorization Failed
Windows users: If you try to authorize and get a dialog box with the words “Authorization Failed” right after clicking the Authorize button, I have advice for you.
Do not double-click on juploadr.jar to launch the application. Use jUploadr.bat instead.
That is all.




June 22nd, 2006 at 4:07 pm
When using FC4 the tcpip / http connection may fail with an “invalid parameter” message. In this case add -Djava.net.preferIPv4Stack=true to the java command line in the jUploader script.
June 22nd, 2006 at 4:38 pm
interesting, I’ve never experienced this behavior, are you using IPV6?
I run FC4 as well.
July 30th, 2006 at 1:46 am
I running Juploadr on ubuntu linux, and im having trouble autorising, when I hit the Authorize button nothing happens, no browserwindows open etc. What to do?
m.
July 30th, 2006 at 10:54 am
Do you have firefox installed? What do you mean by nothing? Do you not get the authorization dialogs?
jUploadr needs one of netscape, mozilla or firefox to be installed in your path. If you have installed firefox into your home directory and use an icon to launch it jUploadr will not be able to find it.
August 2nd, 2006 at 1:55 pm
I’m having authorization trouble too. Also on ubuntu. I have both mozilla and firefox installed:
phil@foo:~$ which mozilla
/usr/bin/mozilla
phil@foo:~$ which mozilla-firefox
/usr/bin/mozilla-firefox
phil@foo:~$ which firefox
/usr/bin/firefox
And for some reason of that trio of choices juploadr is picking mozilla, which I don’t use and which is consequently thoroughly broken on my system.
Is there a way to explicitly tell it the path to your browser?
August 2nd, 2006 at 4:34 pm
I’m using a third party module that seems to pick mozilla as the default… It looks like I can pick from a list, but that list isn’t guaranteed to be accurate, but it’s worth a shot.
In the short term is there any chance you can just uninstall mozilla or remove or rename the executable if you don’t need it and need the libs?
September 19th, 2006 at 8:47 pm
scohen, great software.
I’m having the same problem tho, I wonder if you could just give the user the URL as well as attempting to launch a browser?
Not sure if that is practical.
September 19th, 2006 at 11:26 pm
demian,
The way it’s coded, if the browser doesn’t launch, the URL should be copied to your clipboard. For authorization, there’s not much we can do, as the app needs to do a lot of calls behind the scenes.
Is there something I can help you with? Is your browser not launching?
January 8th, 2007 at 12:00 am
Same trouble here. Browser won’t launch in ubuntu. I’m not sure if there’s anything that can be discerned from this, but here’s what’s going on while it runs:
Starting JUploadr…
Java exec found in PATH. Verifying…
Suitable java version found [java = 1.5.0_05]
Configuring environment…
Jan 8, 2007 12:53:11 AM org.apache.commons.httpclient.HttpMethodBase processResp onseHeaders
WARNING: Cookie rejected: “$Version=0; use_master_until=1168239197; $Domain=flic kr.com; $Path=/”. Domain attribute “flickr.com” violates RFC 2109: domain must s tart with a dot
6515217-e6f781946ba266a9
org.scohen.juploadr.uploadapi.ProtocolException: Invalid frob
at org.scohen.juploadr.uploadapi.flickrrest.FlickrMethod.parseResponse(F lickrMethod.java:79)
at org.scohen.juploadr.uploadapi.flickrrest.FlickrMethod.execute(FlickrM ethod.java:44)
at org.scohen.juploadr.uploadapi.flickrrest.authentication.FlickrAuthEve ntDirector.execute(FlickrAuthEventDirector.java:71)
at org.scohen.juploadr.uploadapi.flickrrest.RestFlickrApi.authenticate(R estFlickrApi.java:144)
at org.scohen.juploadr.app.JUploadr$14.widgetSelected(JUploadr.java:511)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at org.scohen.juploadr.app.JUploadr.startup(JUploadr.java:291)
at org.scohen.juploadr.app.JUploadr.main(JUploadr.java:727)
I checked my firefox path, it seems to be in the right place. The launch script is in /usr/bin and the bin is in /opt/firefox. I saw that message about the cookie towards the top and I verified that firefox is accepting all cookies and specifically allowed flickr. Thanks for the help and thanks for the program.
January 10th, 2007 at 3:51 pm
billybob: What’s the exact name of the firefox executable. It needs to be in your path ant be ‘firefox’. This is case sensitive.
February 7th, 2007 at 5:11 pm
Same problem here. Ubuntu 6.10. Firefox is in the path and named ‘firefox’ (path is ‘/usr/bin/firefox’) … nothing happens when you press the button and I can’t find anything in my clipboard, either
March 2nd, 2007 at 6:31 am
I am having the same problem…I can pop pics into the window, and when I go to authorize nothing happens.
March 21st, 2007 at 7:28 am
I have also the problem that the window did not open
I have found a reason reportet heare (http://sourceforge.net/tracker/index.php?func=detail&aid=1685238&group_id=127980&atid=710166)
July 28th, 2007 at 8:58 am
I’m having the same problem in Ubuntu 6.06. If anyone has a detailed workaround they could post, please do. When I click to authorize here is my output:
Suitable java version found [java = 1.5.0_12]
Configuring environment…
28-Jul-2007 11:55:30 AM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
WARNING: Cookie rejected: “$Version=0; cookie_l10n=en-us%3Bca; $Domain=flickr.com; $Path=/”. Domain attribute “flickr.com” violates RFC 2109: domain must start with a dot
28-Jul-2007 11:55:30 AM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
WARNING: Cookie rejected: “$Version=0; cookie_intl=deleted; $Domain=flickr.com; $Path=/”. Domain attribute “flickr.com” violates RFC 2109: domain must start with a dot
28-Jul-2007 11:55:30 AM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
WARNING: Cookie rejected: “$Version=0; use_master_until=1185638133; $Domain=flickr.com; $Path=/”. Domain attribute “flickr.com” violates RFC 2109: domain must start with a dot
72157601057872976-04988719babbb52b
and when I click to complete (mind you no browser window has opened) I get:
28-Jul-2007 11:55:37 AM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
WARNING: Cookie rejected: “$Version=0; cookie_l10n=en-us%3Bca; $Domain=flickr.co m; $Path=/”. Domain attribute “flickr.com” violates RFC 2109: domain must startwith a dot
28-Jul-2007 11:55:37 AM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
WARNING: Cookie rejected: “$Version=0; cookie_intl=deleted; $Domain=flickr.com;$Path=/”. Domain attribute “flickr.com” violates RFC 2109: domain must start with a dot
org.scohen.juploadr.uploadapi.ProtocolException: Invalid frob
at org.scohen.juploadr.uploadapi.flickrrest.FlickrMethod.parseResponse(FlickrMethod.java:79)
at org.scohen.juploadr.uploadapi.flickrrest.FlickrMethod.execute(FlickrMethod.java:44)
at org.scohen.juploadr.uploadapi.flickrrest.authentication.FlickrAuthEventDirector.execute(FlickrAuthEventDirector.java:63)
at org.scohen.juploadr.uploadapi.flickrrest.RestFlickrApi.authenticate(RestFlickrApi.java:143)
at org.scohen.juploadr.app.JUploadr$14.widgetSelected(JUploadr.java:503) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at org.scohen.juploadr.app.JUploadr.startup(JUploadr.java:285) at org.scohen.juploadr.app.JUploadr.main(JUploadr.java:709)
July 28th, 2007 at 10:27 pm
Dave,
Do you have firefox in your path (i.e. you can open a shell and type firefox in it and get a browser to open)?
July 30th, 2007 at 2:39 am
Yes, from terminal I can start firefox, but no luck with authorization.