Unable to post via Curl
brianhall
Posted on
Jan 30 2015
Posting a dSYM file via curl presently is failing with an error message for me. The file seems to upload, but then I get some sort of error response from the server after.
Command: curl -H "Host: app.raygun.io" -H "Authorization: Basic
The result: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 42.5M 0 0 0 16577 0 39404 0:18:52 --:--:-- 0:18:52 39375 32 42.5M 0 0 32 13.9M 0 10.0M 0:00:04 0:00:01 0:00:03 10.0M 53 42.5M 0 0 53 22.8M 0 9772k 0:00:04 0:00:02 0:00:02 9770k 71 42.5M 0 0 71 30.3M 0 9155k 0:00:04 0:00:03 0:00:01 9153k 92 42.5M 0 0 92 39.1M 0 9136k 0:00:04 0:00:04 --:--:-- 9135k 100 42.5M 0 0 100 42.5M 0 7424k 0:00:05 0:00:05 --:--:-- 7995k 99 42.5M 77 2656 100 42.5M 392 6435k 0:00:08 0:00:06 0:00:02 5449k 100 42.5M 100 3420 100 42.5M 505 6435k 0:00:06 0:00:06 --:--:-- 4614k
<body bgcolor="white">
<span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Runtime Error</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
<br><br>
<b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
<!-- Web.Config Configuration File -->
<configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>
</td>
</tr>
</table>
<br>
<b>Notes:</b> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
<!-- Web.Config Configuration File -->
<configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>
</td>
</tr>
</table>
<br>
</body>
Alex
Posted on
Feb 03 2015
Hi Brian,
That request looks correct to me assuming you've redacted the full basic auth header token when pasting here.
If you continue to experience trouble please send me an email at alex@mindscape.co.nz
Cheers, Alex