Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, When It First Asks Me To Enter My Full Name, It Fails To Perform The Request (Timed Out). Checked Server Side And Receiving This Error

Hi, when it first asks me to enter my full name, it fails to perform the request (timed out). Checked server side and receiving this error
[urllib3.connectionpool] Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f4cfb0b38>: Failed to establish a new connection: [Errno 111] Connection refused',)': /_template/events_plot

  
  
Posted 4 years ago
Votes Newest

Answers 17


What's the OS running the server?

  
  
Posted 4 years ago

Yes, as long as the client is served from http://app.something.com it will look for the api server at http://api.something.com

  
  
Posted 4 years ago

ubuntu 18.04

  
  
Posted 4 years ago

using docker-compose

  
  
Posted 4 years ago

CooperativeSealion8

when it first asks me to enter my full name

Where? in the Web?

  
  
Posted 4 years ago

yes

  
  
Posted 4 years ago

CooperativeSealion8 let me know if you managed to solve the issue, also feel free to send the entire trains-server log. I'm assuming one of the dockers failed to boot...

  
  
Posted 4 years ago

I am using NGINX to route to docker so I routed only the 8080 port and forgot about the 8008 port which caused the error. I’m trying to figure out now how to route both ports simultaneously

  
  
Posted 4 years ago

will the client know to use these subdomains automatically?

  
  
Posted 4 years ago

Oh got it. Thank you so much!

  
  
Posted 4 years ago

We should probably make sure it is properly stated in the documentation...

  
  
Posted 4 years ago

I might have missed it

  
  
Posted 4 years ago

The error i see in the server logs

  
  
Posted 4 years ago

obviously http://app.trains.domain.com will also work

  
  
Posted 4 years ago

Alright. Thank you

  
  
Posted 4 years ago

You cannot change the 8008 port, it has to be 8008 externally (i.e. from the client side).
You can however do subdomain, but only these will work:
api.mydomain.com app.mydomain.com files.mydomain.com

  
  
Posted 4 years ago

Seems like something is not working with the server, i.e. it cannot connect with one of the dockers.
May I suggest to carefully go through all the steps here, make sure nothing was missed
https://github.com/allegroai/trains-server/blob/master/docs/install_linux_mac.md

Especially number (4)

  
  
Posted 4 years ago
634 Views
17 Answers
4 years ago
one year ago
Tags