Error connection refused on running command php artisan sentry:test #704
-
On running command on server by ssh, return this error: There was an error sending the event. ps.: [URL] is dsn on .env file. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
In localhost error is sending to sentry success |
Beta Was this translation helpful? Give feedback.
-
Are you inside a corporate network and/or does the server have a restricted outgoing connection policy? If the same DSN works on your local machine my guess is that the outgoing connection is not allowed by a firewall rule on the server. You probably have to configure a HTTP proxy or allow the connection to that URL from your server. |
Beta Was this translation helpful? Give feedback.
-
Today, i test runing curl for https://sentry.io inside server per ssh command. |
Beta Was this translation helpful? Give feedback.
-
If i pull of letter "s" from https on .env file, return this error on test: |
Beta Was this translation helpful? Give feedback.
-
The problem is on connection to sentry, sentry block connections from inside my server. |
Beta Was this translation helpful? Give feedback.
The problem is on connection to sentry, sentry block connections from inside my server.
Solution for my case is migrate for other platform. I implements the honey badger. Now is working correctly.