I got a strange error when make GET request to Mojo server using curl:
Undefined address for Socket::pack_sockaddr_in at
> /usr/lib/perl5/core_perl/Socket.pm line 851.
>
Same error I got when running server under morbo and under daemon mode.
What's wrong?
Notice: mojo server is running in dock
can you show the command you used to start the server?
On Wed, Dec 11, 2019 at 12:08 AM Pavel Serikov
wrote:
> I got a strange error when make GET request to Mojo server using curl:
>
> Undefined address for Socket::pack_sockaddr_in at
>> /usr/lib/perl5/core_perl/Socket.pm line 851.
>>
>
> Same
I'm running server with command *morbo -w lib -w public -w api_conf.yaml
api.pl *(same problem when running like *perl api.pl daemon* )
*api.pl* is Mojolicious::Lite app.
Make curl request like *curl http://app:3000/api/health*
And full server log on error is
[2019-12-11 21:55:37.48968] [10