Menu

result url port is error

yho
2016-04-21
2016-05-17
  • yho

    yho - 2016-04-21

    Hi.

    creationDate: "2016-04-07 17:38:24.0"
    description: "Forged Steel Ball Valves"
    id: "1834"
    imageUrl: "http://domain/img.jpg"
    itemType: "ITEM"
    profileData: {@nil: "true"}
    url: "https://domain:-1/rec/t?r=null&t=2&f=18&i=35&a=1&u="
    value: "60.0"

    I get result url port is :-1,What's the matter?

    Thanks.

     
  • yho

    yho - 2016-04-22

    I use nginx reverse proxy for tomcat have this error

     
  • Stephan Zavrel

    Stephan Zavrel - 2016-04-22

    Hi yho!

    Difficult to say what's going wrong in your specific setup. Might be related to some IPv6 configuration stuff.
    Have you tried adding the port explicitly in your tenant settings, i.e. eventhough it is the standard port, add :80 to your URL?

    Greetings
    Stephan

     

    Last edit: Stephan Zavrel 2016-04-22
  • Jon Wu

    Jon Wu - 2016-05-17

    FWIW, when I rolled out easyrec a year ago, I had the same issue. We don't mind much, but maybe this info would help.

    I'm just running through Tomcat on Joyent SmartOS / Solaris-like and requests come in through a load balancer hitting with IPv4, but maybe we get an automatic http URL since we're using http / port 80 within our VLAN to talk to easyrec.

    On a similar note, I think I tried changing tenant.url to https://www.domain.com at one point but I still get http://www.domain.com:-1/... in the tracking URLs returned from the recmomended items API. To correct both the http and the -1, I've just been hacking around it by string replacing on the frontend as I'm just making an AJAX request directly to the API with jQuery vs using the included JS anyways so it's not a big deal.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.