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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
I use nginx reverse proxy for tomcat have this error
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
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.