Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Nokia simulator doesn't work: bad gateway

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downloaded the simulator browser and server gateway. I install both. All settings are default . Then I try "http://wap.google.com" , it will say "502 bad gateway".

Sound like that the response header is not acceptable.

Thanks.

-----------------------------------------------

in gateway server console, I can see:
127.0.0.1 -> http://wap.google.com
127.0.0.1 <- http://wap.google.com, [502], 218ms

I found one error_responses file:
#------------------------------------------------
# Error responses created by the Nokia WAP Server
#------------------------------------------------

#-------------------------------------------
# ErrorResponseHeaders
#
# All error responses begin with the headers
#-------------------------------------------

ErrorResponseHeader1 = <?xml version=\"1.0\"?>
ErrorResponseHeader2 = <!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">

#-------------------------------------------
# ErrorResponseTemplate
#
# WML deck template for error responses.
# {0} is replaced with the error text
# {1} is replaced with the WSP status code
# {2} is replaced with the HTTP status code
#-------------------------------------------

ErrorResponseTemplate = <wml><card title=\"Error\"><p><do type=\"prev\" name=\"back\"><prev/></do>{0}</p></card></wml>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic