ZAT Server Starts and Immediately Stops | Community
Skip to main content

ZAT Server Starts and Immediately Stops

  • February 7, 2022
  • 3 replies
  • 0 views

Julie17

I'm trying to test an app locally in my browser, however when I run zat server it starts and then immediately stops. I followed the instructions here: https://developer.zendesk.com/documentation/apps/zendesk-app-tools-zat/installing-and-using-the-zendesk-apps-tools/

This is the output:

== Sinatra (v1.4.8) has taken the stage on 4567 for development with backup from Thin
2022-01-24 20:15:52 -0600 Thin web server (v1.8.1 codename Infinite Smoothie)
2022-01-24 20:15:52 -0600 Maximum connections set to 1024
2022-01-24 20:15:52 -0600 Listening on localhost:4567, CTRL+C to stop
2022-01-24 20:15:52 -0600 Stopping ...
== Sinatra has ended his set (crowd applauds)
/Library/Ruby/Gems/2.6.0/gems/thin-1.8.1/lib/thin/backends/tcp_server.rb:18:in `unpack_sockaddr_in': no implicit conversion of nil into String (TypeError)

My file path does not contain any spaces or special characters.

3 replies

Tipene
  • February 16, 2022

Hi @julie17,

Thanks for reaching out!

Can you confirm what operating system you're currently running? There are some known issues that could be causing errors depending on your OS.

Look forward to hearing from you!

Tipene


Julie17
  • Author
  • February 16, 2022

Hi @tipene! Thanks for taking a look at this.

I'm on macOS Monterey v12.1


Tipene
  • March 18, 2022
Hi Julie,
 
Apologies for the delay in getting back to you, I'd somehow missed your reply here!
 
If you're still encountering issues with ZAT server, I'd encourage you to try the new Zendesk command line which will be replacing ZAT as the preferred CLI for building and testing Zendesk Apps. ZAT is now in maintenance mode which means it won't be receiveing new feature updates or non-security related bug fixes. ZCLI is also much easier to set up and get started with; here's a link to help you get started: 

https://developer.zendesk.com/documentation/apps/app-developer-guide/zcli/
 
Let me know if you have any questions!
 
Tipene