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, I'M Configuring An Agent. After Pasting The Credentials, I Get:

Hi, I'm configuring an agent. After pasting the credentials, I get: Error: could not verify credentials . I tried entering the user access key and secret key separately as prompted, but that failed as well. How can I resolve this?

  
  
Posted 3 years ago
Votes Newest

Answers 18


Hi GiddyTurkey39 , this usually happens when the wizard fails reaching the Trains Server, or if it reaches a different server than the one you're trying to connect to (the demo server, for example?)

  
  
Posted 3 years ago

Are you running it from a new machine, or a new location (that might have some networking issues like FW configuration with regard to the Trains Server)?

  
  
Posted 3 years ago

Yeah, I’m trying to connect to my own server, and I installed trains-agent on a vm. How could I diagnose the issue?

  
  
Posted 3 years ago

Well, first simply try to access the server using curl -XGET http://<server-address>:8008/debug.ping to see if you can reach the server

  
  
Posted 3 years ago

GiddyTurkey39 can you ping the server-address (just making sure, this should be the IP of the server not 'localhost')

  
  
Posted 3 years ago

i ran ping <IP HERE>:8008 , it returns
ping: <ip-here>:8008: Name or service not known

  
  
Posted 3 years ago

You'll have to figure out what's blocking the communication 😞

  
  
Posted 3 years ago

At all? So you have a network issue - probably blocked by a firewall?

  
  
Posted 3 years ago

Yeah, the command is executed and nothing is returned.

  
  
Posted 3 years ago

No response is returned

  
  
Posted 3 years ago

GiddyTurkey39
I would guess your VM cannot access the trains-server , meaning actual network configuration issue.
What are VM ip and the trains-server IP (the first two numbers are enough, e.g. 10.1.X.Y 174.4.X.Y)

  
  
Posted 3 years ago

GiddyTurkey39 Hmm I'm assuming that by default it cannot access that IP range.
Are you using virtual-box for the VM?
EDIT:
Can I assume the machine running the VM (a.k.a the host) can access the trains-server ?

  
  
Posted 3 years ago

You can configure the VM to use the host network (instead of creating a new subnetwork for the VM). In that case, you will notice they will both have the same IP address space

  
  
Posted 3 years ago

GiddyTurkey39 Just making sure, you ran ping IP not ping ip:port right ?

  
  
Posted 3 years ago

The VM ip is 153.73.X.Y and the trains-server IP is 34.74.X.Y

  
  
Posted 3 years ago

And I'm assuming no luck?

  
  
Posted 3 years ago

Yes, I did both

  
  
Posted 3 years ago

Let me look into that and I’ll let you know

  
  
Posted 3 years ago
528 Views
18 Answers
3 years ago
one year ago
Tags