CocoaPods / cocoapods-trunk

CocoaPods plugin for trunk
MIT License
17 stars 20 forks source link

trunk register verification email leads to 404 #123

Open stevekellyhpe opened 5 years ago

stevekellyhpe commented 5 years ago

Report

What did you do?

pod trunk register cloud@meridianapps.com 'Steve Kelly' --description='Steve Kellys 15 inch macbook'

What did you expect to happen?

I expected an verification email address to be sent to cloud@meridianapps.com. When I clicked on the link in that email I expected the verification process to be complete.

What happened instead?

The link in the verification email sent me to a 404. I then attempted the same command line registration as before thinking maybe I hadn't been fast enough. And again was directed to a 404 page. One of the links was:

https://trunk.cocoapods.org/sessions/verify/8838de81

CocoaPods Environment

Stack

   CocoaPods : 1.5.3
        Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
    RubyGems : 2.5.2.3
        Host : Mac OS X 10.14.1 (18B75)
       Xcode : 10.1 (10B61)
         Git : git version 2.17.2 (Apple Git-113)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 3cca648472f42f139c5318dd9d088dc66d0d524d

Installation Source

Executable Path: /Users/stephenkelly/.gem/bin/pod

Plugins

claide-plugins        : 0.9.2
cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.1
cocoapods-try         : 1.1.0

Project that demonstrates the issue

Our Cocoapod is: https://cocoapods.org/pods/MeridianSDK

stevekellyhpe commented 5 years ago

Still seeing the same issue.

stevekellyhpe commented 5 years ago

Tried again this morning, still getting a 404.

amorde commented 5 years ago

@orta any insights here? I don't have any visibility into trunk to know what's happening

stevekellyhpe commented 5 years ago

So I just realized this morning that the registration was actually successful, and I was able to post a new version of our SDK. The 404 is confusing in that regard, but not as high priority as I assumed. Thanks for looking into it though.

-Steve

On Dec 14, 2018, at 7:29 AM, Eric Amorde notifications@github.com<mailto:notifications@github.com> wrote:

@ortahttps://github.com/orta any insights here? I don't have any visibility into trunk to know what's happening

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/CocoaPods/CocoaPods/issues/8299#issuecomment-447109982, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZ-mRY0hMx20UrNWbOH4RRC6t-fMpSxPks5u4ri5gaJpZM4YqAiB.

orta commented 5 years ago

I think we delete the verification code from db post verification, so we can't really say "token expired" if it succeeds and you try do it again without adding more data to the db, so it's likely that this will not get fixed.

falipate commented 4 years ago

Hi @orta I've performed the exact same steps as @stevekellyhpe described and got the same result with the following display from verifying the link in the email:

Screen Shot 2020-09-09 at 7 40 16 am

Going off what was said in this thread, can you confirm that the registration was successful?

dalemyers commented 3 years ago

I'm seeing the same issue.

const-cloudinary commented 3 years ago

Same for me

gutoglup commented 3 years ago

Same for me now

asbjornu commented 3 years ago

I'm also seeing this now having to create a new COCOAPODS_TRUNK_TOKEN due to CocoaPods Trunk: Remote Code Execution found. Some sort of positive confirmation of a successful verification would be nice. CocoaPods/trunk.cocoapods.org#290 seems to be related.

I can also confirm that after clicking the link, even though it results in 404, doing pod trunk me in the terminal afterwards is successful.

naahmedea commented 3 years ago

I am also facing the same issue. I get a session verification link to my outlook enterprise from cocoa pods in which it is somehow damaged. eg: https://nam02.safelinks.protection.outlook.com/url=xyz

Any quick fixes?

orta commented 3 years ago

Your verification is accepted, just not by you, so your CLI will be working just fine - we just don't persist that verification token after the first check

naahmedea commented 3 years ago

I get this error when trying to publish the static libaries. [!] Source code for your Pod was not accessible to CocoaPods Trunk. Is it a private repo or behind a username/password on http?

static libs and podsec file are on git private repo and the command i use for publishing is pod trunk push

JacekSoftnauts commented 2 years ago

Hi a have problem Technically it's a 404, but we're not too fussed I try to register my account. What to do I need to push SDK to the server Best regards JK Kontakt.io