<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2024-07-13T15:54:50Z</updated>
  <generator>https://yabu.me</generator>

  <title>Nostr notes by Ademan-laptop</title>
  <author>
    <name>Ademan-laptop</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://yabu.me/npub12utn5tstf007tqemw0tfrre8d06wtvyma0ddgch80ycqh39gggqsj9ekcm.rss" />
  <link href="https://yabu.me/npub12utn5tstf007tqemw0tfrre8d06wtvyma0ddgch80ycqh39gggqsj9ekcm" />
  <id>https://yabu.me/npub12utn5tstf007tqemw0tfrre8d06wtvyma0ddgch80ycqh39gggqsj9ekcm</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://yabu.me/nevent1qqs25285z82xpxtfnmphq5rg3m0q0lzgfyq50c4e29z64df2l7dxhgqzypt3ww3wpd9alevr8deadyv0ya4lfedsn04a44rzuaunqz7y4ppqzw3l4cs</id>
    
      <title type="html">nip96 uploads are failing across nostrcheck, nostr.build, and ...</title>
    
    <link rel="alternate" href="https://yabu.me/nevent1qqs25285z82xpxtfnmphq5rg3m0q0lzgfyq50c4e29z64df2l7dxhgqzypt3ww3wpd9alevr8deadyv0ya4lfedsn04a44rzuaunqz7y4ppqzw3l4cs" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdmxaw509m3mqun0ecctluff5tcrg8zj22gu97anua9ezvun70wmgpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhs8whn5m&#39;&gt;nevent1q…hn5m&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;nip96 uploads are failing across nostrcheck, nostr.build, and files.v0l.io I suspect it&amp;#39;s my fault somehow, but I&amp;#39;m burning more time than I&amp;#39;d like troubleshooting. I&amp;#39;m using nostr-tools and afaict based on reading nip-96, examining the nostr-tools code, and looking a the requests, I&amp;#39;m not certain what&amp;#39;s wrong here.&lt;br/&gt;&lt;br/&gt;Afaict the Authorization form field is non-standard but harmless (hacking it out did not change the responses I&amp;#39;m getting, and reading the void-cat-rs source it looks like it should be ignored anyway).&lt;br/&gt;&lt;br/&gt;```&lt;br/&gt;POST /n96 HTTP/2&lt;br/&gt;Host: files.v0l.io&lt;br/&gt;User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0&lt;br/&gt;Accept: */*&lt;br/&gt;Accept-Language: en-US,en;q=0.5&lt;br/&gt;Accept-Encoding: gzip, deflate, br, zstd&lt;br/&gt;Referer: &lt;a href=&#34;http://localhost:5000/&#34;&gt;http://localhost:5000/&lt;/a&gt;&lt;br/&gt;Authorization: Nostr REDACTED&lt;br/&gt;Content-Type: multipart/form-data&lt;br/&gt;Content-Length: 24052&lt;br/&gt;Origin: &lt;a href=&#34;http://localhost:5000&#34;&gt;http://localhost:5000&lt;/a&gt;&lt;br/&gt;Connection: keep-alive&lt;br/&gt;Sec-Fetch-Dest: empty&lt;br/&gt;Sec-Fetch-Mode: cors&lt;br/&gt;Sec-Fetch-Site: cross-site&lt;br/&gt;Priority: u=4&lt;br/&gt;TE: trailers&lt;br/&gt;&lt;br/&gt;-----------------------------11234029581503681683701650224&lt;br/&gt;Content-Disposition: form-data; name=&amp;#34;Authorization&amp;#34;&lt;br/&gt;&lt;br/&gt;Nostr REDACTED&lt;br/&gt;-----------------------------11234029581503681683701650224&lt;br/&gt;Content-Disposition: form-data; name=&amp;#34;size&amp;#34;&lt;br/&gt;&lt;br/&gt;22933&lt;br/&gt;-----------------------------11234029581503681683701650224&lt;br/&gt;Content-Disposition: form-data; name=&amp;#34;file&amp;#34;; filename=&amp;#34;2024-07-06-152337_1000x175_scrot.png&amp;#34;&lt;br/&gt;Content-Type: image/png&lt;br/&gt;&lt;br/&gt;... snip ...&lt;br/&gt;-----------------------------11234029581503681683701650224--&lt;br/&gt; ```&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I get a 400 response from all services. (Not a 401 or 403 or anything)&lt;br/&gt;&lt;br/&gt;Both nostr.build and nostrcheck have some kind of message indicating a problem with the file upload portion.&lt;br/&gt;&lt;br/&gt;nostr.build example&lt;br/&gt;&lt;br/&gt;```&lt;br/&gt;&amp;#39;{&amp;#34;status&amp;#34;:&amp;#34;error&amp;#34;,&amp;#34;message&amp;#34;:&amp;#34;Either no file or more than one file posted. Only one file is expected.&amp;#34;}&amp;#39;&lt;br/&gt;```&lt;br/&gt;&lt;br/&gt;I&amp;#39;m not a web guy so nothing is jumping out at me, but does anyone notice something obviously wrong with the request? You can see from the size field that the file is quite small.
    </content>
    <updated>2024-07-13T15:53:12Z</updated>
  </entry>

</feed>