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
I'M Having Some Trouble Setting Up My Trains-Server Configuration For Trains. After Copying The Credentials I Get The Following:

I'm having some trouble setting up my trains-server configuration for trains. After copying the credentials I get the following:

` (tft) --:~$ trains-init
TRAINS SDK setup process

Please create new trains credentials through the profile page in your trains web app (e.g. )
In the profile page, press "Create new credentials", then press "Copy to clipboard".

Paste copied configuration here:
api {
credentials {
"access_key" = "---"
"secret_key" = "---"

Detected credentials key="----"
WEB Host configured to: [ ]
API Host configured to: [ ]
File Store Host configured to: [ ]

TRAINS Hosts configuration:
Web App:
File Store:

Verifying credentials ...
Error: could not verify credentials: key=----- secret=UP=-----
Enter user access key: -----
Enter user secret: UP=-----
Verifying credentials ...
Error: could not verify credentials: key=------- secret=UP=------
Exiting setup without creating configuration file `

Posted 3 years ago
Votes Newest

Answers 5

ElegantCoyote26 can you browse to http://localhost:8080 on the machine that was running the trains-init ?

Posted 3 years ago

and curl http://localhost:8080 works?

Posted 3 years ago

I can do curl http://localhost:8080 but it's a remote server so unless I do X forwarding I can't browse it

Posted 3 years ago

How about curl http://localhost:8008 ?

Posted 3 years ago

ssh -R 8080:localhost:8080 -R 8008:localhost:8008 -R 8081:localhost:8081 replace_with_username@ubuntu_ip_heresolved the issue 🙂

Posted 3 years ago