OFDb Script HTTP/1.1 400 Bad Request

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
Goofy
Posts: 5
Joined: 2007-11-27 11:57:29

OFDb Script HTTP/1.1 400 Bad Request

Post by Goofy »

Hi. I have a big problem with my OFDb script. I had this message when i use it: HTTP/1.1 400 Bad Request. I have the problem since on week.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Re: OFDb Script HTTP/1.1 400 Bad Request

Post by bad4u »

No problem here. It seems to work for me (v.1.0.3).
Did you install some new firewall or antivirus product when the error appeared ?
Or is it only with some films ? (Then please name one)
Goofy
Posts: 5
Joined: 2007-11-27 11:57:29

Post by Goofy »

This movies works not for me: The Dark Hour, Dog bite Dog, The Return, ...
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

With these films the script still works fine for me.
(AMC Version 3.5.1 with OFDb (DE) script Version 1.0.3 on XP)

When running same versions on your system, the error should not be script related.
If you installed updates for a firewall or antivirus maybe there's a problem and you need to change some settings.
Goofy
Posts: 5
Joined: 2007-11-27 11:57:29

Post by Goofy »

in one step the scrip works. it connect to the database. i see the movies. when i click on the movie i have the the error message.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

And if you click "view page" rather than "ok" when selecting the movie, does your browser open the right web page?
Goofy
Posts: 5
Joined: 2007-11-27 11:57:29

Post by Goofy »

you don't understand me. sorry thats my english! :-)

1. i type the name of the movie
2. F6 F9
3. OFDb script
4. connect - I see a list of movies
5. I select the right one
6. connect-error
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

No, Antoine understood your problem ;)

He just wants you to click the "View Page" button when you see the list of movies and see if it loads the correct movie website on OFDb.

Following your list it would look like:
1. - 4. same
5. select a movie, but hit "View page" instead of "Ok"
6. the movie page should load in your browser

As you use the OFDb script, you are probably german, are you ? Then the button would be named "Seite anzeigen" (nachdem du einen Film in der Liste markiert hast).
Goofy
Posts: 5
Joined: 2007-11-27 11:57:29

Post by Goofy »

Ok. Now it works. i renew my database and i refresh my installation. I hope it was no provider problem. thx for your tips. :grinking:
DarkS
Posts: 9
Joined: 2004-10-15 23:47:24

Post by DarkS »

Hi,

I'm a little confused about v1.0.3 of the script. It seems that v1.0.3 works for all of you. But it works not for me. I had a similar problem as Goofy but instead of "Bad Request" I've got "Read timeout" if I tried to get movie details. I've tried to search for the problems root and found that it was the new layout of the site. By now they inserted an onMouseOver event in their search result pages. That's why the script inserts the wrong address in the movies list and I've got a "Read timeout" if I tried to get movie details.

I've fixed that for me and it seems to work fine now. But now I'm not sure if I should post the new version here as v1.0.3 seems to work for all the other.

So clear me up please.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

You're problem differs from Goofys' ..

But you are right, there is another error in this version - it fetches a wrong URL because of the "mouseover" function they added to show the cover picture from results list. This needs to be fixed, although the script still seem to work properly (for me) with this URL and fetches correct data (even if you open this URL from within AMC it shows the correct film, at least on firefox).

Feel free to post a fix or a fixed version , but please change version number to 1.0.4 then ;)
DarkS
Posts: 9
Joined: 2004-10-15 23:47:24

Post by DarkS »

bad4u wrote:although the script still seem to work properly (for me) with this URL and fetches correct data (even if you open this URL from within AMC it shows the correct film, at least on firefox).
Not for me. I couldn't get any movie data with v1.0.3. I've got "Read timeout" everytime I chose a movie from the list. I naven't seen any URL too. I saw the URL (which had the whole onmouseover part in it) just in debug mode. But you're right. If I try to past this URL in Firefox it shows the right page. It's strange that it didn't work for me from within AMC.
bad4u wrote:Feel free to post a fix or a fixed version , but please change version number to 1.0.4 then ;)
I will do that soon.
Post Reply